Problem foodchain
User qwertyuiop
Submission Time 2026-11-10 13:42:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int32_t main()’:
foodchain.cpp:6:7: error: expected ‘;’ before ‘for’
6 | b = 1
| ^
| ;
7 | for (i=0; i<5; i++) {
| ~~~
foodchain.cpp:7:12: error: ‘i’ was not declared in this scope
7 | for (i=0; i<5; i++) {
| ^