speedrun.cpp: In function 'void assignHints(int, int, int*, int*)':
speedrun.cpp:11:11: error: '__gnu_cxx::__alloc_traits<std::allocator<std::vector<int> >, std::vector<int> >::value_type' {aka 'class std::vector<int>'} has no member named 'pb'
11 | g[A[i]].pb(B[i]);
| ^~
speedrun.cpp:12:11: error: '__gnu_cxx::__alloc_traits<std::allocator<std::vector<int> >, std::vector<int> >::value_type' {aka 'class std::vector<int>'} has no member named 'pb'
12 | g[B[i]].pb(A[i]);
| ^~
speedrun.cpp: In function 'void speedrun(int, int, int)':
speedrun.cpp:47:6: warning: unused variable 'l' [-Wunused-variable]
47 | int l=getLength();
| ^