race.cpp: In function 'void DFS(int, int)':
race.cpp:19:16: error: too few arguments to function 'void DFS(int, int)'
19 | DFS(p.second);
| ~~~^~~~~~~~~~
race.cpp:14:6: note: declared here
14 | void DFS(int v1, int vamount){
| ^~~
race.cpp: In function 'int best_path(int, int, int (*)[2], int*)':
race.cpp:29:14: error: '__gnu_cxx::__alloc_traits<std::allocator<std::vector<std::pair<int, int> > >, std::vector<std::pair<int, int> > >::value_type' {aka 'class std::vector<std::pair<int, int> >'} has no member named 'pb'
29 | g[u].pb({v, w});
| ^~
race.cpp:30:14: error: '__gnu_cxx::__alloc_traits<std::allocator<std::vector<std::pair<int, int> > >, std::vector<std::pair<int, int> > >::value_type' {aka 'class std::vector<std::pair<int, int> >'} has no member named 'pb'
30 | g[v].pb({u, w});
| ^~
race.cpp:38:12: error: too few arguments to function 'void DFS(int, int)'
38 | DFS(i);
| ~~~^~~
race.cpp:14:6: note: declared here
14 | void DFS(int v1, int vamount){
| ^~~