Problem foodchain
User aj
Submission Time 2025-11-24 17:31:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:11:22: 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)+9)<<endl;
| ~~~~~~~~~~~^~~~~~~~~~~~~~
| | |
| long long int __gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}