prog.cpp:17:9: error: ‘pair’ does not name a type
typedef pair<int, int> pii;
^~~~
prog.cpp:18:9: error: ‘pair’ does not name a type
typedef pair<ll, ll> pll;
^~~~
prog.cpp: In function ‘void run()’:
prog.cpp:48:9: error: ‘pll’ was not declared in this scope
vector<pll> stations;
^~~
prog.cpp:48:12: error: template argument 1 is invalid
vector<pll> stations;
^
prog.cpp:48:12: error: template argument 2 is invalid
prog.cpp:11:12: error: request for member ‘push_back’ in ‘stations’, which is of non-class type ‘int’
#define pb push_back
^
prog.cpp:52:12: note: in expansion of macro ‘pb’
stations.pb(make_pair(x, y));
^~
prog.cpp:56:21: error: invalid types ‘int[int]’ for array subscript
ll a = stations[i].fst - stations[j].fst;
^
prog.cpp:56:39: error: invalid types ‘int[int]’ for array subscript
ll a = stations[i].fst - stations[j].fst;
^
prog.cpp:57:21: error: invalid types ‘int[int]’ for array subscript
ll b = stations[i].scd - stations[j].scd;
^
prog.cpp:57:39: error: invalid types ‘int[int]’ for array subscript
ll b = stations[i].scd - stations[j].scd;
^