game.cpp:7:1: error: 'vector' does not name a type
7 | vector<int> adj[N];
| ^~~~~~
game.cpp: In function 'void dfs(int)':
game.cpp:10:17: error: 'adj' was not declared in this scope
10 | for (auto u:adj[node]){
| ^~~
game.cpp: In function 'void init(int, int)':
game.cpp:20:10: warning: statement has no effect [-Wunused-value]
20 | n=nn;kk;
| ^~
game.cpp: In function 'int add_teleporter(int, int)':
game.cpp:24:5: error: 'adj' was not declared in this scope
24 | adj[u].pb(v);
| ^~~
game.cpp:25:9: error: 'b' was not declared in this scope
25 | adj[b].pb(u);
| ^