Problem | foodchain |
---|---|
User | ciganrea |
Submission Time | 2024-02-27 10:45:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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