Problem park
User LXYSGP
Submission Time 2024-10-29 22:31:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

park.cpp: In function ‘int main()’:
park.cpp:41:18: error: ‘vector’ is not a member of ‘std’
41 | std::vector<std::pair<int, int>> boarding;
| ^~~~~~
park.cpp:4:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
3 | #include <unordered_map>
+++ |+#include <vector>
4 |
park.cpp:41:43: error: expected primary-expression before ‘>’ token
41 | std::vector<std::pair<int, int>> boarding;
| ^~
park.cpp:41:46: error: ‘boarding’ was not declared in this scope
41 | std::vector<std::pair<int, int>> boarding;
| ^~~~~~~~