Problem gotoschool
User emyz
Submission Time 2023-03-28 16:59:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gotoschool.cpp: In function ‘int main()’:
gotoschool.cpp:5:7: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | cin>>n;
| ^
| yn
gotoschool.cpp:7:2: error: expected initializer before ‘for’
7 | for (int i=1; i<=n; i++)
| ^~~
gotoschool.cpp:7:16: error: ‘i’ was not declared in this scope
7 | for (int i=1; i<=n; i++)
| ^
gotoschool.cpp:13:2: error: ‘FORN’ was not declared in this scope
13 | FORN(i,1,n)
| ^~~~