#include using namespace std; #pragma GCC optimize("O3") #pragma GCC optimize("unroll-loops") #define int long long using ld=long double; signed main(){ int N,K;cin>>N>>K; vector X(N+1),Y(N+1); for(int i=0;i>X[i]>>Y[i]; } X[N]=0,Y[N]=0; vector> d(N+1,vector(N+1)); for(int i=0;i<=N;i++){ for(int j=0;j<=N;j++){ d[i][j]=hypotl(X[i]-X[j],Y[i]-Y[j]); } } // cout<<"!"<> dpdp(1<<(N+1),vector(N+1,1e18)); dpdp[0][N]=0; for(int S=0;S<(1<<(N+1));S++){ for(int i=0;i<=N;i++){ for(int j=0;j<=N;j++){ if(S>>j&1)continue; dpdp[S|(1< dp(1<