game.cpp:5:1: error: 'vector' does not name a type
5 | vector<int> adj[maxN];
| ^~~~~~
game.cpp: In function 'void dfs(int)':
game.cpp:20:15: error: 'adj' was not declared in this scope
20 | for (auto v: adj[u]) {
| ^~~
game.cpp: In function 'int add_teleporter(int, int)':
game.cpp:29:12: error: 'max' was not declared in this scope; did you mean 'maxN'?
29 | int cur = max(max_in[u], (u < k ? u : -1));
| ^~~
| maxN
game.cpp:34:2: error: 'adj' was not declared in this scope
34 | adj[u].push_back(v);
| ^~~