平面上有 n 座测站,第 i 座测站的坐标为 (xi,yi)。两座测站 i 与 j 之间的距离定义为
d(i,j)=∣xi−xj∣+∣yi−yj∣.对于每一座测站 i,求它到其余测站的距离的最大值。
测站个数 n 满足 2≤n≤2×105。坐标满足 −109≤xi,yi≤109。
By signing up a CodeFun2000 universal account, you can submit code and join discussions in all online judging services provided by us.