Problem foodchain
User DoubleShaurya
Submission Time 2024-01-26 15:11:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:8:39: error: invalid operands of types ‘double’ and ‘double’ to binary ‘operator%’
8 | cout << (milk*bananas*rabbits*gb*xy) % 1000000009.0;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~
| | |
| double double