Problem foodchain
User Syw
Submission Time 2025-11-12 11:14:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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