#include #include #include #include #include using namespace std; #define inf 1<<30 struct Point{ int x,y; }point[17]; int n,m,ans,val[17],dp1[1<<17]; int dp[1<<17][17],best[1<<17]; int Ok[1<<17]; int dist[17][17]; int Get_Dist(int i,int j) { return ceil(sqrt(double(point[i].x-point[j].x)*(point[i].x-point[j].x)+double(point[i].y-point[j].y)*(point[i].y-point[j].y))); } int Judge(int state) { int sum=0; for(int i=0;i