Problem foodchain
User Tqin
Submission Time 2024-02-11 19:33:08
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:9:12: error: ‘sync_with’ is not a member of ‘std::ios_base’
9 | ios_base::sync_with stdio(false);
| ^~~~~~~~~
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; d