| Problem | foodchain |
|---|---|
| User | xiachengruisg |
| Submission Time | 2026-11-05 19:44:02 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
foodchain.cpp: In function ‘int main()’:
foodchain.cpp:7:8: error: ‘MOD’ does not name a type
7 | const MOD = 18,446,743,907;
| ^~~
foodchain.cpp:8:2: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
8 | ans = a * b * c * d * e;
| ^~~
| abs
foodchain.cpp:9:14: error: ‘MOD’ was not declared in this scope
9 | ans = ans * MOD / pow(2,64);
| ^~~