| Problem | trainorbus |
|---|---|
| User | PhyoTP |
| Submission Time | 2026-02-20 22:02:36 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
trainorbus.cpp: In function ‘int main()’:
trainorbus.cpp:11:5: error: ‘vector’ was not declared in this scope
11 | vector<pair<int,int>> times(n);
| ^~~~~~
trainorbus.cpp:6:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
5 | #include <utility>
+++ |+#include <vector>
6 | using namespace std;
trainorbus.cpp:11:24: error: expected primary-expression before ‘>’ token
11 | vector<pair<int,int>> times(n);
| ^~
trainorbus.cpp:11:27: error: ‘times’ was not declared in this scope; did you mean ‘time’?
11 | vector<pair<int,int>> times(n);
| ^~~~~
| time