game.cpp:9:18: error: array bound is not an integer constant before ']' token
9 | vector<int> adj[N];
| ^
game.cpp: In function 'void dfs(int)':
game.cpp:18:18: error: 'adj' was not declared in this scope
18 | for (auto &v:adj[u]) {
| ^~~
game.cpp: In function 'void init(int, int)':
game.cpp:28:9: error: 'adj' was not declared in this scope
28 | adj[i].push_back(i+1);
| ^~~
game.cpp: In function 'int add_teleporter(int, int)':
game.cpp:33:5: error: 'adj' was not declared in this scope
33 | adj[u].push_back(v);
| ^~~