Problem foodchain
User ZhangChi
Submission Time 2026-11-07 17:28:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:15:16: error: invalid operands of types ‘int’ and ‘double’ to binary ‘operator%’
15 | cout << sum%(1e9+9);
| ~~~^~~~~~~~
| | |
| int double