| Problem | gotoschool |
|---|---|
| User | shavonne22 |
| Submission Time | 2026-02-14 11:40:31 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
gotoschool.cpp:1:2: error: invalid preprocessing directive #invlude; did you mean #include?
1 | #invlude <bits/stdc++.h>
| ^~~~~~~
| include
gotoschool.cpp: In function ‘int main()’:
gotoschool.cpp:6:2: error: ‘cin’ was not declared in this scope
6 | cin >> n;
| ^~~
gotoschool.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #invlude <bits/stdc++.h>
gotoschool.cpp:9:22: error: expected ‘;’ before ‘)’ token
9 | for(int i=i;i<=n,i++){
| ^
| ;
gotoschool.cpp:13:7: error: expected primary-expression before ‘int’
13 | fot (int i=1;i<=n,i++){
| ^~~
gotoschool.cpp:13:15: error: ‘i’ was not declared in this scope
13 | fot (int i=1;i<=n,i++){
| ^