#include #include #include using namespace std; using namespace atcoder; using mint = modint998244353; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf32 1000000001 #define Inf64 1000000000000000000LL int main(){ int N,K; cin>>N>>K; vector x(N),y(N); rep(i,N) cin>>x[i]>>y[i]; x.insert(x.begin(),0); y.insert(y.begin(),0); N++; vector dp(1<(K+1,1e100))); dp[1][0][0] = 0.0; rep(i,1<=0;k--){ rep(j,N){ if(dp[i][j][k]==1e100)continue; rep(l,N){ if(k==K&&l!=0)continue; if(l!=0&&((i>>l)&1))continue; double d = sqrt((x[j]-x[l])*(x[j]-x[l])+(y[j]-y[l])*(y[j]-y[l])); int ni = i|(1<