#include "bits/stdc++.h" using namespace std; #define print(x) cout< PI; typedef pair V; typedef vector VE; const ll mod = 1000000007; //10^9+7 int n; ll x[1003]; ll y[1003]; ll d[1003][1003]; int par[10002]; //親を表す int myrank[10002]; //木の深さを表す void init(int n){ //初期化 REP(i,n){ par[i]=i; myrank[i]=0; } } int find(int x){ //親を見つける if(par[x]==x){ return x; }else{ return par[x]=find(par[x]); } } void unit(int x, int y){ //x,yを併合 x=find(x); y=find(y); if(x==y)return; if(myrank[x]>n; REP(i,n)cin>>x[i]>>y[i]; REP(i,n)REP(j,n){ d[i][j]=(x[i]-x[j])*(x[i]-x[j])+(y[i]-y[j])*(y[i]-y[j]); } ll left=0, right=mod; while(right-left>1){ ll mid=(left+right)/2; if(solve(mid)){ right=mid; }else{ left=mid+1; } } ll ans=left; REP(i,11){ if(ans%10==0){ if(solve(ans))break; } ans++; } print(ans); return 0; }