game.cpp:1:1: error: 'dc' does not name a type
1 | dc++.h>
| ^~
game.cpp:8:1: error: 'vector' does not name a type
8 | vector<vector<int>> G,Grev, DAG;
| ^~~~~~
game.cpp:9:1: error: 'vector' does not name a type
9 | vector<int> top,used,scc;
| ^~~~~~
game.cpp: In function 'void dfs(int)':
game.cpp:12:5: error: 'used' was not declared in this scope
12 | if(used[u]) return;
| ^~~~
game.cpp:13:2: error: 'used' was not declared in this scope
13 | used[u] = 1;
| ^~~~
game.cpp:14:14: error: 'G' was not declared in this scope
14 | for(int v : G[u]) dfs(v);
| ^
game.cpp:15:2: error: 'top' was not declared in this scope
15 | top.push_back(u);
| ^~~
game.cpp: In function 'void dfs1(int)':
game.cpp:19:5: error: 'used' was not declared in this scope
19 | if(used[u]) return;
| ^~~~
game.cpp:20:2: error: 'used' was not declared in this scope
20 | used[u] = 1;
| ^~~~
game.cpp:21:14: error: 'Grev' was not declared in this scope
21 | for(int v : Grev[u]){
| ^~~~
game.cpp:24:2: error: 'scc' was not declared in this scope
24 | scc[u] = act;
| ^~~
game.cpp: In function 'void init(int, int)':
game.cpp:29:2: error: 'G' was not declared in this scope
29 | G.assign(n,vector<int>());
| ^
game.cpp:29:13: error: 'vector' was not declared in this scope
29 | G.assign(n,vector<int>());
| ^~~~~~
game.cpp:29:20: error: expected primary-expression before 'int'
29 | G.assign(n,vector<int>());
| ^~~
game.cpp:30:2: error: 'Grev' was not declared in this scope
30 | Grev = G;
| ^~~~
game.cpp: In function 'int add_teleporter(int, int)':
game.cpp:38:2: error: 'G' was not declared in this scope
38 | G[u].push_back(v);
| ^
game.cpp:39:2: error: 'Grev' was not declared in this scope
39 | Grev[v].push_back(u);
| ^~~~
game.cpp:40:2: error: 'used' was not declared in this scope
40 | used.assign(n1,0);
| ^~~~
game.cpp:41:2: error: 'scc' was not declared in this scope
41 | scc.assign(n1,-1);
| ^~~
game.cpp:42:2: error: 'top' was not declared in this scope
42 | top.clear();
| ^~~
game.cpp:49:2: error: 'set' was not declared in this scope
49 | set<int> hv;
| ^~~
game.cpp:49:6: error: expected primary-expression before 'int'
49 | set<int> hv;
| ^~~
game.cpp:51:3: error: 'hv' was not declared in this scope; did you mean 'v'?
51 | hv.insert(scc[i]);
| ^~
| v
game.cpp:58:5: error: 'hv' was not declared in this scope; did you mean 'v'?
58 | if(hv.size() <k1) return 1;
| ^~
| v
game.cpp:61:6: error: 'hv' was not declared in this scope; did you mean 'v'?
61 | if(hv.count(scc[i])) return 1;
| ^~
| v