Problem foodchain
User ethanlinHoucheng
Submission Time 2024-11-20 17:56:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘void solution()’:
foodchain.cpp:14:37: error: invalid operands of types ‘long long unsigned int’ and ‘double’ to binary ‘operator%’
14 | cout << (ans * a * b * c * d *e) % (1e9 + 9);
| ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~
| | |
| | double
| long long unsigned int