#include #include using namespace std; int N; long X[3<<17],Y[3<<17]; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); cin>>N; long lx=2e9,rx=-2e9; long ly=2e9,ry=-2e9; for(int i=0;i>x>>y; X[i]=x+y; Y[i]=x-y; lx=min(lx,X[i]); rx=max(rx,X[i]); ly=min(ly,Y[i]); ry=max(ry,Y[i]); } long L=-1,R=4e9; while(R-L>1) { long D=(L+R)/2; bool fn=false; for(long px:{lx,rx-D})for(long py:{ly,ry-D}) { long a=-2e10,b=2e10; long c=-2e10,d=2e10; for(int i=0;i