Problem foodchain
User Red123
Submission Time 2025-03-16 22:11:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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