speedrun.cpp: In function 'void assignHints(int, int, int*, int*)':
speedrun.cpp:5:5: error: 'cen' was not declared in this scope
5 | cen = 0;
| ^~~
speedrun.cpp:11:20: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
11 | while(temp&-temp != 0){
| ~~~~~~^~~~
speedrun.cpp:12:18: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
12 | if(temp&-temp == 1){
| ~~~~~~^~~~
speedrun.cpp:16:9: warning: statement has no effect [-Wunused-value]
16 | temp >> 1; j++;
| ~~~~~^~~~
speedrun.cpp: In function 'void speedrun(int, int, int)':
speedrun.cpp:25:22: error: too many arguments to function 'bool getHint(int)'
25 | if(getHint(start, i)) cen++;
| ^
In file included from speedrun.cpp:1:
speedrun.h:11:6: note: declared here
11 | bool getHint(int j);
| ^~~~~~~
speedrun.cpp:26:7: warning: statement has no effect [-Wunused-value]
26 | cen << 1;
| ~~~~^~~~
speedrun.cpp:35:4: error: 'visited' was not declared in this scope
35 | visited--;
| ^~~~~~~