speedrun.cpp: In function 'void assignHints(int, int, int*, int*)':
speedrun.cpp:32:5: error: 'setHintLen' was not declared in this scope
32 | setHintLen(20);
| ^~~~~~~~~~
speedrun.cpp:41:40: error: invalid types '<unresolved overloaded function type>[long long int]' for array subscript
41 | for (long long i=1; i<=n; i++) next[i]=0;
| ^
speedrun.cpp:50:13: error: 'setHint' was not declared in this scope; did you mean 'stdin'?
50 | setHint(i, j, x%2);
| ^~~~~~~
| stdin
speedrun.cpp:55:19: error: redeclaration of 'long long int x'
55 | long long x=next[i];
| ^
speedrun.cpp:47:19: note: 'long long int x' previously declared here
47 | long long x=par[i];
| ^
speedrun.cpp:55:25: error: invalid types '<unresolved overloaded function type>[long long int]' for array subscript
55 | long long x=next[i];
| ^
speedrun.cpp:58:13: error: 'setHint' was not declared in this scope; did you mean 'stdin'?
58 | setHint(i, j, x%2);
| ^~~~~~~
| stdin
speedrun.cpp: In function 'void speedrun(int, int, int)':
speedrun.cpp:76:27: error: 'getHint' was not declared in this scope; did you mean 'getline'?
76 | p+=(1<<(j-1))*getHint(j);
| ^~~~~~~
| getline
speedrun.cpp:78:9: error: 'goTo' was not declared in this scope
78 | goTo(p);
| ^~~~
speedrun.cpp:89:30: error: 'getHint' was not declared in this scope; did you mean 'getline'?
89 | sled+=(1<<(j-1))*getHint(j);
| ^~~~~~~
| getline
speedrun.cpp:95:18: error: 'goTo' was not declared in this scope
95 | bool ret=goTo(sled);
| ^~~~
speedrun.cpp:101:17: error: 'pp' was not declared in this scope
101 | pp=0;
| ^~
speedrun.cpp:104:36: error: 'getHint' was not declared in this scope; did you mean 'getline'?
104 | pp+=(1<<(j-1))*getHint(j);
| ^~~~~~~
| getline