game.cpp:8:8: error: 'map' was not declared in this scope
8 | vector<map<int,vector<int>>> G(1001);
| ^~~
game.cpp:6:1: note: 'std::map' is defined in header '<map>'; did you forget to '#include <map>'?
5 | #include <queue>
+++ |+#include <map>
6 | using namespace std;
game.cpp:8:26: error: template argument 1 is invalid
8 | vector<map<int,vector<int>>> G(1001);
| ^~
game.cpp:8:26: error: template argument 2 is invalid
game.cpp:8:28: error: expected unqualified-id before '>' token
8 | vector<map<int,vector<int>>> G(1001);
| ^
game.cpp: In function 'int add_teleporter(int, int)':
game.cpp:18:5: error: 'G' was not declared in this scope
18 | G[i][u].emplace_back(v);
| ^