Problem foodchain
User Tqin
Submission Time 2024-02-11 19:33:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp:6:8: error: expected initializer before ‘.’ token
6 | int A,B.C.D.E,ans;
| ^
foodchain.cpp: In function ‘int main()’:
foodchain.cpp:11:10: error: ‘B’ was not declared in this scope
11 | cin>>A>>B>>C>>D>>E;
| ^
foodchain.cpp:11:13: error: ‘C’ was not declared in this scope
11 | cin>>A>>B>>C>>D>>E;
| ^
foodchain.cpp:11:16: error: ‘D’ was not declared in this scope
11 | cin>>A>>B>>C>>D>>E;
| ^
foodchain.cpp:11:19: error: ‘E’ was not declared in this scope
11 | cin>>A>>B>>C>>D>>E;
| ^
foodchain.cpp:18:2: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
18 | ans=(A*B)%MOD;
| ^~~
| abs