new_home.cpp: In function 'int main()':
new_home.cpp:7:18: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
#define rep(i,n) for(int i=0;i<n;i++)
^
new_home.cpp:30:2: note: in expansion of macro 'rep'
rep(i,2)kei[i].insert(-1e17); return 0;
^~~
new_home.cpp:30:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
rep(i,2)kei[i].insert(-1e17); return 0;
^~~~~~
new_home.cpp:7:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,n) for(int i=0;i<n;i++)
new_home.cpp:39:8:
rep(j,xs[i].size()-1){
~~~~~~~~~~~~~~~~
new_home.cpp:39:4: note: in expansion of macro 'rep'
rep(j,xs[i].size()-1){
^~~
new_home.cpp:40:55: warning: narrowing conversion of 'xs[i].std::vector<long long int>::operator[](((std::vector<long long int>::size_type)j))' from '__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}' to 'double' inside { } [-Wnarrowing]
v.push_back((struct st){i,1,bef,-xs[i][j],xs[i][j]}); bef=-xs[i][j];
^
new_home.cpp:43:60: warning: narrowing conversion of 'xs[i].std::vector<long long int>::back()' from '__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}' to 'double' inside { } [-Wnarrowing]
v.push_back((struct st){i,1,bef,-xs[i].back(),xs[i].back()});
~~~~~~~~~~^~
new_home.cpp:48:37: warning: narrowing conversion of 'l' from 'll {aka long long int}' to 'double' inside { } [-Wnarrowing]
v.push_back((struct st){-1,i,0,0,l});
^
new_home.cpp:54:35: warning: narrowing conversion of '((double)(long long int)__builtin_memcpy(&<unnamed>, & kei[0].rbegin()()).std::reverse_iterator<std::_Rb_tree_const_iterator<long long int> >::operator*()() - e.st::pnt)' from 'double' to 'll {aka long long int}' inside { } [-Wnarrowing]
chmax(ans,(ll){*kei[0].rbegin()-e.pnt});
~~~~~~~~~~~~~~~~^~~~
new_home.cpp:9:28: note: in definition of macro 'chmax'
#define chmax(a,b) a=max(a,b)
^
new_home.cpp:55:35: warning: narrowing conversion of '((double)(long long int)__builtin_memcpy(&<unnamed>, & kei[1].rbegin()()).std::reverse_iterator<std::_Rb_tree_const_iterator<long long int> >::operator*()() + e.st::pnt)' from 'double' to 'll {aka long long int}' inside { } [-Wnarrowing]
chmax(ans,(ll){*kei[1].rbegin()+e.pnt});
~~~~~~~~~~~~~~~~^~~~
new_home.cpp:9:28: note: in definition of macro 'chmax'
#define chmax(a,b) a=max(a,b)
^