Problem gotoschool
User cheryltkx
Submission Time 2026-02-14 11:38:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gotoschool.cpp: In function ‘int main()’:
gotoschool.cpp:8:27: error: expected initializer before ‘for’
8 | int num [n+1], order[n+1]for (inti=0;i<n;i++){
| ^~~
gotoschool.cpp:8:39: error: ‘i’ was not declared in this scope
8 | int num [n+1], order[n+1]for (inti=0;i<n;i++){
| ^