0_0_39870166_2715.cpp: In function 'int main()':
0_0_39870166_2715.cpp:24:9: error: 'vector' was not declared in this scope
24 | vector<pair<string, int>> vec(strCntMap.begin(), strCntMap.end());
| ^~~~~~
0_0_39870166_2715.cpp:7:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
6 | #include<unordered_map>
+++ |+#include <vector>
7 |
0_0_39870166_2715.cpp:24:32: error: expected primary-expression before '>' token
24 | vector<pair<string, int>> vec(strCntMap.begin(), strCntMap.end());
| ^~
0_0_39870166_2715.cpp:24:35: error: 'vec' was not declared in this scope
24 | vector<pair<string, int>> vec(strCntMap.begin(), strCntMap.end());
| ^~~
|