Problem foodchain
User elxy
Submission Time 2024-02-02 22:35:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int32_t main()’:
foodchain.cpp:8:22: error: invalid operands of types ‘int’ and ‘double’ to binary ‘operator%’
8 | cout << (a*b*c*d*e) % (1e9 + 9);
| ~~~~~~~~~~~ ^ ~~~~~~~~~
| | |
| int double