highway.cpp: In function 'void find_pair(int, std::vector<int>, std::vector<int>, int, int)':
highway.cpp:9:7: error: 'w' was not declared in this scope
9 | w[i] = 0;
| ^
highway.cpp:11:22: error: 'w' was not declared in this scope
11 | long long mn=ask(w);
| ^
highway.cpp:29:17: warning: comparison of integer expressions of different signedness: 'long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for(long i=0;i<v.size();i++){
| ~^~~~~~~~~
highway.cpp:34:1: error: expected '}' at end of input
34 | }
| ^
highway.cpp:6:77: note: to match this '{'
6 | void find_pair(int N, std::vector<int> U, std::vector<int> V, int A, int B) {
| ^