Problem foodchain
User LL
Submission Time 2025-12-15 10:49:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:7:21: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’
7 | cout << (a*b*c*d*e)%(1e9+9);
| ~~~~~~~~~~~^~~~~~~~
| | |
| | double
| long long int
foodchain.cpp:7:29: error: expected ‘}’ at end of input
7 | cout << (a*b*c*d*e)%(1e9+9);
| ^
foodchain.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^