speedrun.cpp: In function 'void dfs(int, int)':
speedrun.cpp:6:5: error: 'p' was not declared in this scope
6 | p[node] = father;
| ^
speedrun.cpp:7:5: error: 'ord' was not declared in this scope
7 | ord.push_back( node );
| ^~~
speedrun.cpp:8:21: error: 'edges' was not declared in this scope
8 | for ( auto it : edges[node] ) {
| ^~~~~
speedrun.cpp: In function 'void assignHints(int, int, int*, int*)':
speedrun.cpp:15:9: error: 'edges' was not declared in this scope
15 | edges[a[i]].push_back( b[i] );
| ^~~~~
speedrun.cpp:19:36: error: 'nxt' was not declared in this scope
19 | for ( int i = 0; i < n; i ++ ) nxt[ord[i]] = ord[( i + 1 ) % n];
| ^~~
speedrun.cpp:19:40: error: 'ord' was not declared in this scope
19 | for ( int i = 0; i < n; i ++ ) nxt[ord[i]] = ord[( i + 1 ) % n];
| ^~~
speedrun.cpp:23:18: error: 'p' was not declared in this scope
23 | if ( p[i] & ( 1 << j ) )
| ^
speedrun.cpp:27:18: error: 'nxt' was not declared in this scope
27 | if ( nxt[i] & ( 1 << j ) )
| ^~~