highway.cpp: In function 'int solve(int)':
highway.cpp:35:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
35 | int mid = l + r >> 1;
| ~~^~~
highway.cpp: In function 'void find_pair(int, std::vector<int>, std::vector<int>, int, int)':
highway.cpp:43:14: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
43 | if(U.size() != N - 1) return; n = N;
| ~~~~~~~~~^~~~~~~~
highway.cpp:43:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
43 | if(U.size() != N - 1) return; n = N;
| ^~
highway.cpp:43:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
43 | if(U.size() != N - 1) return; n = N;
| ^
highway.cpp: In function 'int solve(int)':
highway.cpp:40:1: warning: control reaches end of non-void function [-Wreturn-type]
40 | }
| ^