towns.cpp: In function 'std::vector<int> get_pos(int, int)':
towns.cpp:31:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<Edge> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for(int i = 0; i<adj.size(); i++){
| ~^~~~~~~~~~~
towns.cpp: In function 'void build_tree(std::vector<int>, int, std::vector<int>, int)':
towns.cpp:37:29: warning: unused parameter 'leaves' [-Wunused-parameter]
37 | void build_tree(vector<int> leaves, int root, vector<int> axis, int root_pos){
| ~~~~~~~~~~~~^~~~~~
towns.cpp:37:41: warning: unused parameter 'root' [-Wunused-parameter]
37 | void build_tree(vector<int> leaves, int root, vector<int> axis, int root_pos){
| ~~~~^~~~
towns.cpp:37:59: warning: unused parameter 'axis' [-Wunused-parameter]
37 | void build_tree(vector<int> leaves, int root, vector<int> axis, int root_pos){
| ~~~~~~~~~~~~^~~~
towns.cpp:37:69: warning: unused parameter 'root_pos' [-Wunused-parameter]
37 | void build_tree(vector<int> leaves, int root, vector<int> axis, int root_pos){
| ~~~~^~~~~~~~
towns.cpp: In function 'int hubDistance(int, int)':
towns.cpp:40:28: warning: unused parameter 'sub' [-Wunused-parameter]
40 | int hubDistance(int N, int sub) {
| ~~~~^~~