#include using namespace std; #include using namespace atcoder; using ll = long long; int n; vector x,y; double dist(double sx,double sy,double tx,double ty){ double dx = sx-tx; double dy = sy-ty; return sqrt(dx*dx+dy*dy); } void solve(){ double ans = 0; dsu d(n); for(int i = 0;i>n; x = y = vector(n); for(int i = 0;i> x[i] >> y[i]; solve(); }