Problem | gotoschool |
---|---|
User | Sirui |
Submission Time | 2025-08-22 17:02:56 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gotoschool.cpp:5:17: error: ‘student’ was not declared in this scope; did you mean ‘students’?
5 | bool comparator(student& a, students& b) {
| ^~~~~~~
| students
gotoschool.cpp:5:26: error: ‘a’ was not declared in this scope
5 | bool comparator(student& a, students& b) {
| ^
gotoschool.cpp:5:37: error: expected primary-expression before ‘&’ token
5 | bool comparator(student& a, students& b) {
| ^
gotoschool.cpp:5:39: error: ‘b’ was not declared in this scope
5 | bool comparator(student& a, students& b) {
| ^
gotoschool.cpp:5:40: error: expression list treated as compound expression in initializer [-fpermissive]
5 | bool comparator(student& a, students& b) {
| ^
gotoschool.cpp: In function ‘int main()’:
gotoschool