Problem foodchain
User notachicken
Submission Time 2026-05-14 20:21:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:12:19: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator%’
12 | double y = (x % 1000000009);
| ~ ^ ~~~~~~~~~~
| | |
| | int
| double