building.cpp: In function 'void Merge(hull&, hull&)':
building.cpp:43:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0,j=0;i<A.v.size()||j<B.v.size();) {
~^~~~~~~~~~~
building.cpp:43:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0,j=0;i<A.v.size()||j<B.v.size();) {
~^~~~~~~~~~~
building.cpp:45:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i == A.v.size()) flag = true;
~~^~~~~~~~~~~~~
building.cpp:46:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(j == B.v.size()) flag = false;
~~^~~~~~~~~~~~~
building.cpp: In function 'int main()':
building.cpp:57:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
~~~~~^~~~~~~~~~~
building.cpp:58:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(ll i=1;i<=n;i++) scanf("%lld",&h[i]);
~~~~~^~~~~~~~~~~~~~
building.cpp:59:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(ll i=1;i<=n;i++) {scanf("%lld",&a[i]); def += a[i];}
~~~~~^~~~~~~~~~~~~~