Problem foodchain
User NoobMugger420
Submission Time 2024-12-04 10:21:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:11:21: error: invalid operands of types ‘long long int’ and ‘__gnu_cxx::__promote_2<int, int, double, double>::__type’ {aka ‘double’} to binary ‘operator%’
11 | cout << (A*B*C*D*E)%(pow(10, 9) + 7);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~
| | |
| long long int __gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}