Problem foodchain
User tdb60
Submission Time 2023-11-08 11:18:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:6:16: error: invalid operands of types ‘int’ and ‘double’ to binary ‘operator%’
6 | n = a*b*c*d*e % (1e9 + 9);
| ~~~~~~~~~ ^ ~~~~~~~~~
| | |
| int double