citymapping.cpp: In function 'void find_roads(int, int, std::vector<int>, std::vector<int>, std::vector<int>)':
citymapping.cpp:2:12: error: statement cannot resolve address of overloaded function
2 | #define pb push_back;
| ^
citymapping.cpp:12:14: note: in expansion of macro 'pb'
12 | dis1.pb({get_distance(1, i), i});
| ^~
citymapping.cpp:12:18: error: 'get_distance' was not declared in this scope
12 | dis1.pb({get_distance(1, i), i});
| ^~~~~~~~~~~~
citymapping.cpp:2:12: error: statement cannot resolve address of overloaded function
2 | #define pb push_back;
| ^
citymapping.cpp:22:14: note: in expansion of macro 'pb'
22 | dis2.pb({get_distance(longest_dis_node, i), i});
| ^~
citymapping.cpp:22:18: error: 'get_distance' was not declared in this scope
22 | dis2.pb({get_distance(longest_dis_node, i), i});
| ^~~~~~~~~~~~
citymapping.cpp:2:12: error: statement cannot resolve address of overloaded function
2 | #define pb push_back;
| ^
citymapping.cpp:28:11: note: in expansion of macro 'pb'
28 | A.pb(longest_dis_node);
| ^~
citymapping.cpp:2:12: error: statement cannot resolve address of overloaded function
2 | #define pb push_back;
| ^
citymapping.cpp:29:11: note: in expansion of macro 'pb'
29 | B.pb(dis2[i].second);
| ^~
citymapping.cpp:2:12: error: statement cannot resolve address of overloaded function
2 | #define pb push_back;
| ^
citymapping.cpp:30:11: note: in expansion of macro 'pb'
30 | W.pb(dis2[i].first-cur);
| ^~