N,K=map(int, input().split()) A=[(0,0)] D=[[0]*(N+1) for _ in range(N+1)] for i in range(N): x,y=map(int, input().split()) A.append((x,y)) for i in range(N+1): for j in range(N+1): x,y=A[i] xx,yy=A[j] D[i][j]=((x-xx)**2+(y-yy)**2)**.5 dp=[[[10**18]*(1<>nxt)&1==0: if k!=0: dp[nex][k-1][bit|(1<