Problem | departure |
---|---|
User | Pan |
Submission Time | 2024-02-21 01:06:57 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
departure.cpp: In function ‘int main()’:
departure.cpp:157:8: error: ‘newbus’ was not declared in this scope
157 | if (newbus.empty()) {break;}
| ^~~~~~
departure.cpp:158:9: error: ‘newbus’ was not declared in this scope
158 | sort(newbus.begin(), newbus.end(), compare2);
| ^~~~~~
departure.cpp:159:37: error: ‘newmax’ was not declared in this scope
159 | for (line x: newbus) {update(x); newmax = max(newmax, x.e);}
| ^~~~~~
departure.cpp:160:55: error: ‘newmax’ was not declared in this scope
160 | while (anstil+1<right.size() && right[anstil+1].f<=newmax)
| ^~~~~~
departure.cpp:167:11: error: ‘newmax’ was not declared in this scope
167 | maxx = newmax;
| ^~~~~~
departure.cpp: At global scope:
departure.cpp:172:2: error: expected unqualified-id before ‘for’
17