highway.cpp: In function 'std::vector<std::pair<long long int, long long int> > bfs(long long int)':
highway.cpp:40:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long long i = 0; i < adj[u].size(); i++){
~~^~~~~~~~~~~~~~~
highway.cpp: In function 'void find_pair(int, std::vector<int>, std::vector<int>, int, int)':
highway.cpp:129:21: error: invalid initialization of reference of type 'const std::vector<long long int>&' from expression of type 'std::vector<int>'
x = away(U[l], U, V);
^
highway.cpp:54:11: note: in passing argument 2 of 'long long int away(long long int, const std::vector<long long int>&, const std::vector<long long int>&)'
long long away(long long x, const vector<long long> &U, const vector<long long> &V){
^~~~
highway.cpp:131:18: error: invalid initialization of reference of type 'const std::vector<long long int>&' from expression of type 'std::vector<int>'
y = away(x, U, V);
^
highway.cpp:54:11: note: in passing argument 2 of 'long long int away(long long int, const std::vector<long long int>&, const std::vector<long long int>&)'
long long away(long long x, const vector<long long> &U, const vector<long long> &V){
^~~~