Problem foodchain
User braven
Submission Time 2025-04-29 16:49:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp:3:24: error: expected unqualified-id before ‘for’
3 | #define int long long (for interactives remove this)
| ^~~
foodchain.cpp:13:1: note: in expansion of macro ‘int’
13 | int a, b, c, d, e;
| ^~~
foodchain.cpp:3:24: error: expected ‘)’ before ‘for’
3 | #define int long long (for interactives remove this)
| ~^~~
foodchain.cpp:13:1: note: in expansion of macro ‘int’
13 | int a, b, c, d, e;
| ^~~
foodchain.cpp: In function ‘int main()’:
foodchain.cpp:17:12: error: ‘a’ was not declared in this scope
17 | cin >> a >> b >> c >> d >> e;
| ^
foodchain.cpp:17:17: error: ‘b’ was not declared in this scope; did you mean ‘pb’?
17 | cin >> a >> b >> c >> d >> e;
| ^
| pb
foodchain.cpp:17:22: error: ‘c’ was not