speedrun.cpp: In function 'void assignHints(int, int, int*, int*)':
speedrun.cpp:4:5: error: 'vector' was not declared in this scope
4 | vector <vector <int>> v[N + 1];
| ^~~~~~
speedrun.cpp:4:21: error: expected primary-expression before 'int'
4 | vector <vector <int>> v[N + 1];
| ^~~
speedrun.cpp: In function 'void speedrun(int, int, int)':
speedrun.cpp:30:5: error: 'stack' was not declared in this scope
30 | stack<int> s;
| ^~~~~
speedrun.cpp:30:11: error: expected primary-expression before 'int'
30 | stack<int> s;
| ^~~
speedrun.cpp:31:5: error: 's' was not declared in this scope
31 | s.push(start);
| ^