Problem foodchain
User Hytoh
Submission Time 2023-12-06 16:18:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp:6:30: error: missing terminating ' character
6 | cin >> a >> b >> c >> d >> e'
| ^
foodchain.cpp: In function ‘int main()’:
foodchain.cpp:6:30: error: expected ‘;’ before ‘int’
6 | cin >> a >> b >> c >> d >> e'
| ^
| ;
7 | int amod,bmod,cmod,dmod,emod;
| ~~~
foodchain.cpp:8:2: error: ‘amod’ was not declared in this scope; did you mean ‘mod’?
8 | amod = a % mod;
| ^~~~
| mod
foodchain.cpp:9:2: error: ‘bmod’ was not declared in this scope; did you mean ‘mod’?
9 | bmod = b % mod;
| ^~~~
| mod
foodchain.cpp:10:2: error: ‘cmod’ was not declared in this scope; did you mean ‘mod’?
10 | cmod = c % mod;
| ^~~~
| mod
foodchain.cpp:11:2: error: ‘dmod’ wa