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