Problem foodchain
User Isabel123
Submission Time 2023-11-10 09:29:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:10:22: error: invalid operands of types ‘long double’ and ‘double’ to binary ‘operator%’
10 | cout << sumOfMilk%(1e9 + 9);
| ~~~~~~~~~^~~~~~~~~~
| | |
| long double double