Problem | trainorbus |
---|---|
User | shaokai348 |
Submission Time | 2025-03-05 14:34:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
trainorbus.cpp: In function ‘int main()’:
trainorbus.cpp:9:7: error: ‘i’ was not declared in this scope
9 | for (i=0; i<n; i++){
| ^
trainorbus.cpp:13:7: error: ‘i’ was not declared in this scope
13 | for (i=0; i<n; i++){
| ^
trainorbus.cpp:15:9: error: ‘class std::vector<int>’ has no member named ‘pushback’; did you mean ‘push_back’?
15 | blist.pushback(b);
| ^~~~~~~~
| push_back
trainorbus.cpp:17:7: error: ‘i’ was not declared in this scope
17 | for (i=0; i<n; i++){
| ^