highway.cpp: In function 'void dfs_tree(int)':
highway.cpp:31:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < adj[node].size(); ++i)
~~^~~~~~~~~~~~~~~~~~
highway.cpp: In function 'void find_pair(int, int*, int*, int, int)':
highway.cpp:43:12: warning: 'sizeof' on array function parameter 'U' will return size of 'int*' [-Wsizeof-array-argument]
m=sizeof(U)/sizeof(U[0]);
^
highway.cpp:39:28: note: declared here
void find_pair(int N,int U[], int V[], int A, int B)
^
highway.cpp:58:12: error: 'ask' was not declared in this scope
int vol = ask(now[m]);
^~~
highway.cpp:66:14: error: '__int64' was not declared in this scope
int ans = (__int64)(ask(now[m]));
^~~~~~~
highway.cpp:66:14: note: suggested alternative: '__int64_t'
int ans = (__int64)(ask(now[m]));
^~~~~~~
__int64_t
highway.cpp:68:4: error: 'answer' was not declared in this scope
answer(0,it);
^~~~~~
highway.cpp:68:4: note: suggested alternative: 'ans'
answer(0,it);
^~~~~~
ans