highway.cpp: In function 'void find_pair(int, std::vector<int>, std::vector<int>, int, int)':
highway.cpp:34:11: error: cannot convert 'std::vector<int>' to 'int' in assignment
34 | n=N,u=U,v=V,a=A,b=B;
| ^
| |
| std::vector<int>
highway.cpp:34:15: error: cannot convert 'std::vector<int>' to 'int' in assignment
34 | n=N,u=U,v=V,a=A,b=B;
| ^
| |
| std::vector<int>
highway.cpp:35:9: error: request for member 'size' in 'u', which is of non-class type 'int'
35 | m=u.size();
| ^~~~
highway.cpp:39:14: error: invalid types 'int[int]' for array subscript
39 | adj[u[i]].pb({v[i],i});
| ^
highway.cpp:39:24: error: invalid types 'int[int]' for array subscript
39 | adj[u[i]].pb({v[i],i});
| ^
highway.cpp:40:14: error: invalid types 'int[int]' for array subscript
40 | adj[v[i]].pb({u[i],i});
| ^
highway.cpp:40:24: error: invalid types 'int[int]' for array subscript
40 | adj[v[i]].pb({u[i],i});
| ^
highway.cpp:42:10: error: 'ask' was not declared in this scope
42 | ll C=ask(w);
| ^~~
highway.cpp:66:5: error: 'answer' was not declared in this scope
66 | answer(0,ver[l]);
| ^~~~~~