n,k = map(int,input().split()) xy = [tuple(map(int,input().split())) for _ in range(n)]+[(0,0)] dp = [[[10**18]*(k+1) for _ in range(n+1)] for _ in range(1<>i&1==0: continue xi,yi = xy[i] for j in range(n+1): xj,yj = xy[j]; d = ((xi-xj)**2+(yi-yj)**2)**0.5 if j>j&1==1: continue for l in range(k): t = s^1<