speedrun.cpp: In function 'void assignHints(int, int, int*, int*)':
speedrun.cpp:17:2: error: 'dfsHint' was not declared in this scope
17 | dfsHint(1, 0, adjHint, toAdd);
| ^~~~~~~
speedrun.cpp: In function 'void dfsHint(int, int, std::vector<std::set<int> >&, std::stack<int>&)':
speedrun.cpp:30:23: error: cannot convert '__gnu_cxx::__alloc_traits<std::allocator<std::set<int> >, std::set<int> >::value_type' {aka 'std::set<int>'} to 'int' in initialization
30 | int next = adjHint[i];
| ^
speedrun.cpp: In function 'void speedrun(int, int, int)':
speedrun.cpp:58:2: error: 'dfsSpeedrun' was not declared in this scope; did you mean 'speedrun'?
58 | dfsSpeedrun(start, par, vis);
| ^~~~~~~~~~~
| speedrun
speedrun.cpp:51:6: warning: unused variable 'l' [-Wunused-variable]
51 | int l = getLength();
| ^
speedrun.cpp: In function 'int dfsSpeedrun(int, int, std::vector<int>&)':
speedrun.cpp:71:35: error: too few arguments to function 'int dfsSpeedrun(int, int, std::vector<int>&)'
71 | child = dfsSpeedrun(child, curr);
| ^
speedrun.cpp:61:5: note: declared here
61 | int dfsSpeedrun(int curr, int par, vector<int> &vis)
| ^~~~~~~~~~~