Problem gotoschool
User Sirum1008
Submission Time 2023-11-09 13:45:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gotoschool.cpp: In function ‘int main()’:
gotoschool.cpp:10:10: error: ‘A’ cannot be used as a function
10 | A(x)=i;
| ^
gotoschool.cpp:13:18: error: invalid types ‘int[int]’ for array subscript
13 | cout << A[i] << " ";
| ^