| Problem | foodchain |
|---|---|
| User | chenyuming |
| Submission Time | 2026-11-07 18:00:30 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
foodchain.cpp: In function ‘int main()’:
foodchain.cpp:12:16: error: expected initializer before ‘==’ token
12 | long long mod == 0;
| ^~
foodchain.cpp:13:16: error: expected initializer before ‘==’ token
13 | long long ans == 1;
| ^~
foodchain.cpp:14:2: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
14 | ans = (ans * a%mod) % mod;
| ^~~
| abs
foodchain.cpp:14:17: error: ‘mod’ was not declared in this scope; did you mean ‘modf’?
14 | ans = (ans * a%mod) % mod;
| ^~~
| modf