Problem foodchain
User paaaaaaaaaaaaaaaaaaa
Submission Time 2024-11-07 13:48:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:4:12: error: expected initializer before ‘long’
4 | #define ll long long
| ^~~~
foodchain.cpp:8:5: note: in expansion of macro ‘ll’
8 | ll x = 1000000009
| ^~
foodchain.cpp:11:5: error: expected ‘,’ or ‘;’ before ‘ans’
11 | ans = (ans%x*a%x)%x;
| ^~~
foodchain.cpp:12:16: error: ‘x’ was not declared in this scope
12 | ans = (ans%x*b%x)%x;
| ^
foodchain.cpp:15:18: error: ‘e’ was not declared in this scope
15 | ans = (ans%x*e%x)%x;
| ^