Problem foodchain
User NiXNull
Submission Time 2025-11-03 15:24:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:22:17: error: ‘a’ was not declared in this scope
22 | ans = (ans*(a%MOD))%MOD;
| ^
foodchain.cpp:23:17: error: ‘b’ was not declared in this scope; did you mean ‘bp’?
23 | ans = (ans*(b%MOD))%MOD;
| ^
| bp
foodchain.cpp:24:17: error: ‘c’ was not declared in this scope
24 | ans = (ans*(c%MOD))%MOD;
| ^
foodchain.cpp:25:17: error: ‘d’ was not declared in this scope
25 | ans = (ans*(d%MOD))%MOD;
| ^
foodchain.cpp:26:17: error: ‘e’ was not declared in this scope
26 | ans = (ans*(e%MOD))%MOD;
| ^