/in/foo.cc: In function 'db closepoint(std::vector<point>&, int, int)':
/in/foo.cc:46:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid=l+r>>1; db ans=min(closepoint(A,l,mid),closepoint(A,mid+1,r));
~^~
/in/foo.cc:49:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<B.size();i++) for (int j=i+1;j<B.size()&&B[j].y-B[i].y<ans;j++) ans=min(ans,B[i].dis(B[j]));
~^~~~~~~~~
/in/foo.cc:49:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<B.size();i++) for (int j=i+1;j<B.size()&&B[j].y-B[i].y<ans;j++) ans=min(ans,B[i].dis(B[j]));
~^~~~~~~~~