highway.cpp: In function 'void dfs(int, int, int, int)':
highway.cpp:15:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[u].size();i++){
~^~~~~~~~~~~~
highway.cpp: In function 'void find_pair(int, std::vector<int>, std::vector<int>, int, int)':
highway.cpp:37:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0;k<ud[j].size();j++){
~^~~~~~~~~~~~~
highway.cpp:65:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0;k<ud[j].size();j++){
~^~~~~~~~~~~~~
/tmp/ccx2Aqja.o: In function `find_pair(int, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, int, int)':
highway.cpp:(.text+0x27a): undefined reference to `ask(std::vector<int, std::allocator<int> >)'
highway.cpp:(.text+0x3d0): undefined reference to `ask(std::vector<int, std::allocator<int> >)'
highway.cpp:(.text+0x529): undefined reference to `ask(std::vector<int, std::allocator<int> >)'
highway.cpp:(.text+0x6d0): undefined reference to `ask(std::vector<int, std::allocator<int> >)'
highway.cpp:(.text+0x829): undefined reference to `ask(std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status