speedrun.cpp: In function 'void assignHints(int, int, int*, int*)':
speedrun.cpp:58:20: error: cannot convert 'std::vector<int>' to 'int' in initialization
58 | int x = v[i];
| ~~~^
| |
| std::vector<int>
speedrun.cpp:59:22: error: cannot convert 'std::vector<int>' to 'int' in initialization
59 | int y = v[i+1];
| ~~~~~^
| |
| std::vector<int>
speedrun.cpp: In function 'void speedrun(int, int, int)':
speedrun.cpp:66:12: error: return-statement with a value, in function returning 'void' [-fpermissive]
66 | return 0;
| ^