Problem | foodchain |
---|---|
User | Zera |
Submission Time | 2024-02-10 17:35:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
foodchain.cpp:4:15: error: expected initializer before numeric constant
4 | const int MOD 1000000009;
| ^~~~~~~~~~
cc1plus: error: ‘::main’ must return ‘int’
foodchain.cpp: In function ‘int main()’:
foodchain.cpp:8:17: error: ‘MOD’ was not declared in this scope
8 | f =(((((((a%MOD*b%MOD)%MOD)*c%MOD)%MOD)*d%MOD)%MOD)*e%MOD)%MOD;
| ^~~