speedrun.cpp:1:1: error: 'vector' does not name a type
1 | vector<int> adj[1005];
| ^~~~~~
speedrun.cpp:2:1: error: 'vector' does not name a type
2 | vector<int> dfsorder;
| ^~~~~~
speedrun.cpp: In function 'void dfs(int, int)':
speedrun.cpp:5:5: error: 'cout' was not declared in this scope
5 | cout << "DFSED " << cur << endl;
| ^~~~
speedrun.cpp:5:32: error: 'endl' was not declared in this scope
5 | cout << "DFSED " << cur << endl;
| ^~~~
speedrun.cpp:7:5: error: 'dfsorder' was not declared in this scope
7 | dfsorder.push_back(cur);
| ^~~~~~~~
speedrun.cpp:8:22: error: 'adj' was not declared in this scope
8 | for(auto newnode:adj[cur]){
| ^~~
speedrun.cpp: In function 'void assignHints(int, int, int*, int*)':
speedrun.cpp:17:9: error: 'adj' was not declared in this scope
17 | adj[A[i]].push_back(B[i]);
| ^~~
speedrun.cpp:23:5: error: 'setHintLen' was not declared in this scope
23 | setHintLen(20);
| ^~~~~~~~~~
speedrun.cpp:26:20: error: 'dfsorder' was not declared in this scope
26 | nextinline[dfsorder[i-1]]=dfsorder[i];
| ^~~~~~~~
speedrun.cpp:30:16: error: 'dfsorder' was not declared in this scope
30 | nextinline[dfsorder[N-1]]=1023;
| ^~~~~~~~
speedrun.cpp:38:17: error: 'setHint' was not declared in this scope
38 | setHint(i,j,false);
| ^~~~~~~
speedrun.cpp:42:17: error: 'setHint' was not declared in this scope
42 | setHint(i,j,true);
| ^~~~~~~
speedrun.cpp:48:37: error: 'setHint' was not declared in this scope
48 | if((nex&(1<<(j-1)))==0) setHint(i,j+10,false);
| ^~~~~~~
speedrun.cpp:49:18: error: 'setHint' was not declared in this scope
49 | else setHint(i,j+10,true);
| ^~~~~~~
speedrun.cpp: In function 'void speedrun(int, int, int)':
speedrun.cpp:62:22: error: 'getHint' was not declared in this scope
62 | paren += getHint(i) * lol;
| ^~~~~~~
speedrun.cpp:65:12: error: 'goTo' was not declared in this scope
65 | if(goTo(paren)){
| ^~~~
speedrun.cpp:81:18: error: 'getHint' was not declared in this scope
81 | par += getHint(i)*lul;
| ^~~~~~~
speedrun.cpp:88:21: error: 'getHint' was not declared in this scope
88 | next += getHint(i) * lol;
| ^~~~~~~
speedrun.cpp:91:12: error: 'goTo' was not declared in this scope
91 | if(goTo(next)){
| ^~~~