| Problem | gotoschool |
|---|---|
| User | Tez |
| Submission Time | 2026-02-21 09:19:06 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
gotoschool.cpp: In function ‘int main()’:
gotoschool.cpp:10:22: error: invalid types ‘int[int]’ for array subscript
10 | cin >> orderFirst[i];
| ^
gotoschool.cpp:13:25: error: invalid types ‘int[int]’ for array subscript
13 | orderLast[orderFirst[i]] = i;
| ^
gotoschool.cpp:15:14: error: expected ‘;’ before ‘i’
15 | for(int i=1l i<N; i++){
| ^~
| ;
gotoschool.cpp:16:22: error: invalid types ‘int[int]’ for array subscript
16 | cout << orderLast[i];
| ^