Problem foodchain
User Dan64091
Submission Time 2026-05-25 13:41:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int32_t main()’:
foodchain.cpp:13:4: error: invalid operands of types ‘long long unsigned int’ and ‘double’ to binary ‘operator%’
13 | x %= 1e9+9LL
| ~~^~~~~~~~~~
foodchain.cpp:13:11: error: in evaluation of ‘operator%=(long long unsigned int, double)’
13 | x %= 1e9+9LL
| ^~~