Problem foodchain
User Impotato
Submission Time 2026-01-17 10:02:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:9:24: error: invalid operands of types ‘ll’ {aka ‘long long int’} and ‘__gnu_cxx::__promote_2<int, int, double, double>::__type’ {aka ‘double’} to binary ‘operator%’
9 | cout << (a*b*c*d*e)%(pow(10,9)+9);
| ~~~~~~~~~~~^~~~~~~~~~~~~~
| | |
| | __gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}
| ll {aka long long int}