Problem | gotoschool |
---|---|
User | Sirui |
Submission Time | 2025-08-22 17:06:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gotoschool.cpp:2:7: error: expected nested-name-specifier before ‘namespacing’
2 | using namespacing std;
| ^~~~~~~~~~~
gotoschool.cpp:9:10: error: ‘Student’ was not declared in this scope; did you mean ‘Students’?
9 | bool cmp(Student a, Student b) {
| ^~~~~~~
| Students
gotoschool.cpp:9:21: error: ‘Student’ was not declared in this scope; did you mean ‘Students’?
9 | bool cmp(Student a, Student b) {
| ^~~~~~~
| Students
gotoschool.cpp:9:30: error: expression list treated as compound expression in initializer [-fpermissive]
9 | bool cmp(Student a, Student b) {
| ^
gotoschool.cpp: In function ‘int main()’:
gotoschool.cpp:15:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
15 | cin >> n;
| ^~~
| std::cin
In file included from /usr/include/x8