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

Compile Error

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