Problem | gotoschool |
---|---|
User | Sirui |
Submission Time | 2025-08-22 17:05:04 |
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:8:10: error: ‘Student’ was not declared in this scope; did you mean ‘Students’?
8 | bool cmp(Student a, Student b) {
| ^~~~~~~
| Students
gotoschool.cpp:8:21: error: ‘Student’ was not declared in this scope; did you mean ‘Students’?
8 | bool cmp(Student a, Student b) {
| ^~~~~~~
| Students
gotoschool.cpp:8:30: error: expression list treated as compound expression in initializer [-fpermissive]
8 | bool cmp(Student a, Student b) {
| ^
gotoschool.cpp: In function ‘int main()’:
gotoschool.cpp:14:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
14 | cin >> n;
| ^~~
| std::cin
In file included from /usr/include/x8