Problem gotoschool
User Anonymous35V
Submission Time 2023-11-08 11:59:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gotoschool.cpp: In function ‘int32_t main()’:
gotoschool.cpp:8:11: error: expected initializer before ‘to’
8 | int order to enter [n + 1]; // declare array of size n
| ^~
gotoschool.cpp:10:12: error: ‘arr’ was not declared in this scope
10 | cin >> arr[i]; // reads in input
| ^~~
gotoschool.cpp:13:13: error: ‘arr’ was not declared in this scope
13 | cout << arr[i];
| ^~~