Problem gotoschool
User ZiErn
Submission Time 2023-11-08 14:03:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gotoschool.cpp: In function ‘int32_t main()’:
gotoschool.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
gotoschool.cpp:6:5: note: in expansion of macro ‘int’
6 | int N, arr[100005];
| ^~~
gotoschool.cpp:6:9: error: ‘N’ was not declared in this scope
6 | int N, arr[100005];
| ^
gotoschool.cpp:6:12: error: ‘arr’ was not declared in this scope
6 | int N, arr[100005];
| ^~~
gotoschool.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
gotoschool.cpp:8:7: note: in expansion of macro ‘int’
8 | for (int i = 0; i < N; i++){
| ^~~
gotoschool.cpp:8:11: error: ‘i’ was not declared in this scope
8 | for (int i = 0; i < N; i++){
| ^
gotoschool.cpp:8:23: error: expec