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:44:2: error: expected ';' before 'for'
for (int i = 0; i < m; ++i)
^~~
highway.cpp:44:18: error: 'i' was not declared in this scope
for (int i = 0; i < m; ++i)
^
highway.cpp:58:12: error: 'ask' was not declared in this scope
int vol = ask(now);
^~~
highway.cpp:66:13: error: 'ank' was not declared in this scope
int ans = ank(now);
^~~
highway.cpp:66:13: note: suggested alternative: 'ans'
int ans = ank(now);
^~~
ans
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