Problem foodchain
User Andrew
Submission Time 2025-03-20 18:26:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:5:26: error: invalid operands of types ‘int’ and ‘double’ to binary ‘operator%’
5 | printf("%lld", (((((A*B)%(1e9+9)*C)%(1e9+9))*D%(1e9+9))*E) % (1e9+9));
| ~~~~~^~~~~~~~
| | |
| int double