Problem foodchain
User ciganrea
Submission Time 2024-02-27 10:45:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:11:38: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator%’
11 | product = (a * b * c * d * e * 1.0) % (1000000009);
| ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~
| | |
| double int