city.cpp: In member function 'll node::clc()':
city.cpp:50:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<y.size();i++){
~^~~~~~~~~
city.cpp: In function 'void dfs(int, int)':
city.cpp:69:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[v].size();i++){
~^~~~~~~~~~~~
city.cpp: In function 'int DistanceSum(int, int*, int*)':
city.cpp:91:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<p.size();i++){
~^~~~~~~~~
city.cpp:93:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<p[i].size();j++){
~^~~~~~~~~~~~
city.cpp:95:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i>0&&w<p[i-1].size()&&p[i-1][w].b<a)w++;
~^~~~~~~~~~~~~~
city.cpp:96:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i>0&&w<p[i-1].size()&&p[i-1][w].a<=b){
~^~~~~~~~~~~~~~
city.cpp:114:34: warning: narrowing conversion of '(t[u].node::y.std::vector<long long int>::size() - 1)' from 'std::vector<long long int>::size_type {aka long unsigned int}' to 'll {aka long long int}' inside { } [-Wnarrowing]
g[u].PB(edge{v,t[u].y.size()-1,t[v].y.size()-1,max(a,l),min(b,r)});
~~~~~~~~~~~~~^~
city.cpp:114:50: warning: narrowing conversion of '(t[v].node::y.std::vector<long long int>::size() - 1)' from 'std::vector<long long int>::size_type {aka long unsigned int}' to 'll {aka long long int}' inside { } [-Wnarrowing]
g[u].PB(edge{v,t[u].y.size()-1,t[v].y.size()-1,max(a,l),min(b,r)});
~~~~~~~~~~~~~^~
city.cpp:115:34: warning: narrowing conversion of '(t[v].node::y.std::vector<long long int>::size() - 1)' from 'std::vector<long long int>::size_type {aka long unsigned int}' to 'll {aka long long int}' inside { } [-Wnarrowing]
g[v].PB(edge{u,t[v].y.size()-1,t[u].y.size()-1,max(a,l),min(b,r)});
~~~~~~~~~~~~~^~
city.cpp:115:50: warning: narrowing conversion of '(t[u].node::y.std::vector<long long int>::size() - 1)' from 'std::vector<long long int>::size_type {aka long unsigned int}' to 'll {aka long long int}' inside { } [-Wnarrowing]
g[v].PB(edge{u,t[v].y.size()-1,t[u].y.size()-1,max(a,l),min(b,r)});
~~~~~~~~~~~~~^~