Problem foodchain
User Hijackedsoul
Submission Time 2023-12-05 00:11:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:10:5: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’
10 | ans%=(1e9+9);
| ~~~^~~~~~~~~
foodchain.cpp:10:13: error: in evaluation of ‘operator%=(long long int, double)’
10 | ans%=(1e9+9);
| ^