citymapping.cpp: In function 'void find_roads(int, int, int*, int*, int*)':
citymapping.cpp:18:20: error: 'pair' was not declared in this scope
18 | vector<pair<ll,pair<ll,ll>>>v;
| ^~~~
citymapping.cpp:2:1: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
1 | #include "citymapping.h"
+++ |+#include <utility>
2 |
citymapping.cpp:18:5: error: 'vector' was not declared in this scope
18 | vector<pair<ll,pair<ll,ll>>>v;
| ^~~~~~
citymapping.cpp:2:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
1 | #include "citymapping.h"
+++ |+#include <vector>
2 |
citymapping.cpp:4:12: error: expected primary-expression before 'long'
4 | #define ll long long
| ^~~~
citymapping.cpp:18:17: note: in expansion of macro 'll'
18 | vector<pair<ll,pair<ll,ll>>>v;
| ^~
citymapping.cpp:24:13: error: 'v' was not declared in this scope
24 | v.pb({get_distance(i,j),{i,j}});
| ^
citymapping.cpp:29:10: error: 'v' was not declared in this scope
29 | sort(v.begin(),v.end());
| ^
citymapping.cpp:29:5: error: 'sort' was not declared in this scope; did you mean 'short'?
29 | sort(v.begin(),v.end());
| ^~~~
| short