city.cpp: In member function 'll node::clc()':
city.cpp:51: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:70: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:92:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<p.size();i++){
~^~~~~~~~~
city.cpp:94:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<p[i].size();j++){
~^~~~~~~~~~~~
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].b<a)w++;
~^~~~~~~~~~~~~~
city.cpp:97: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:115: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:115: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:116: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:116: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)});
~~~~~~~~~~~~~^~