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

Compile Error

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