Problem | gotoschool |
---|---|
User | invisiblestrxng |
Submission Time | 2023-11-09 13:52:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gotoschool.cpp: In function ‘int main()’:
gotoschool.cpp:10:6: error: invalid types ‘int[int]’ for array subscript
10 | A[x]=i;
| ^
gotoschool.cpp:13:14: error: invalid types ‘int[int]’ for array subscript
13 | cout << A[i] << " ";
| ^
gotoschool.cpp: At global scope:
gotoschool.cpp:17:1: error: expected unqualified-id before ‘return’
17 | return 0;
| ^~~~~~