Problem foodchain
User elxy
Submission Time 2024-02-02 22:34:20
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 ‘long long int’ and ‘double’ to binary ‘operator%’
8 | cout << (a*b*c*d*e) % (1e9 + 9);
| ~~~~~~~~~~~ ^ ~~~~~~~~~
| | |
| | double
| long long int