Problem foodchain
User blackpanther
Submission Time 2026-04-08 15:02:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:15:8: error: ‘mod’ does not name a type; did you mean ‘modf’?
15 | const mod = 1e9 +9;
| ^~~
| modf
foodchain.cpp:16:19: error: ‘mod’ was not declared in this scope; did you mean ‘modf’?
16 | cout<< (((((a*b)%mod*c)%mod*d)%mod*e)%mod);
| ^~~
| modf