speedrun.cpp: In function 'void dfs(int, int)':
speedrun.cpp:10:21: error: 'N' was not declared in this scope
10 | for(int i=1; i<=N; i++) {
| ^
speedrun.cpp:12:12: error: 'getHint' was not declared in this scope; did you mean 'getline'?
12 | if(getHint(i) && !vis[i]) {
| ^~~~~~~
| getline
speedrun.cpp:13:13: error: 'goTo' was not declared in this scope
13 | goTo(i);
| ^~~~
speedrun.cpp:18:5: error: 'goTo' was not declared in this scope
18 | goTo(p);
| ^~~~
speedrun.cpp: In function 'void assignHints(int, int, int*, int*)':
speedrun.cpp:24:5: error: 'setHintLen' was not declared in this scope
24 | setHintLen(N);
| ^~~~~~~~~~
speedrun.cpp:27:9: error: 'setHint' was not declared in this scope; did you mean 'setns'?
27 | setHint(A[i], B[i], true);
| ^~~~~~~
| setns