| Problem | gotoschool |
|---|---|
| User | Tavern |
| Submission Time | 2026-11-20 11:43:27 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
gotoschool.cpp: In function ‘int main()’:
gotoschool.cpp:7:2: error: expected initializer before ‘cin’
7 | cin>>x
| ^~~
gotoschool.cpp:9:18: error: ‘x’ was not declared in this scope
9 | for (int i=1;i<=x,i++) {
| ^
gotoschool.cpp:9:23: error: expected ‘;’ before ‘)’ token
9 | for (int i=1;i<=x,i++) {
| ^
| ;
gotoschool.cpp:10:8: error: ‘y’ was not declared in this scope
10 | cin>>y[i]
| ^
gotoschool.cpp:13:18: error: ‘x’ was not declared in this scope
13 | for (int i=1;i<=x,i++) {
| ^
gotoschool.cpp:13:23: error: expected ‘;’ before ‘)’ token
13 | for (int i=1;i<=x,i++) {
| ^
| ;
gotoschool.cpp:14:9: error: ‘z’ was not declared in this scope
14 | cout<<z[i]<<" "
|