Problem foodchain
User chickengoat
Submission Time 2025-11-13 16:02:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:10:5: error: invalid operands of types ‘ll’ {aka ‘long long int’} and ‘double’ to binary ‘operator%’
10 | ans%=1E9+9
| ~~~^~~~~~~
foodchain.cpp:10:11: error: in evaluation of ‘operator%=(using ll = long long int {aka long long int}, double)’
10 | ans%=1E9+9
| ^