import sys input = lambda : sys.stdin.readline().rstrip() sys.setrecursionlimit(2*10**5+10) write = lambda x: sys.stdout.write(x+"\n") import math def sub(x,y,t,i,ii=None): xi,yi,r,v,a = l[i] theta = (v*t + a) * math.pi / 180 w = v*math.pi/180 ll = 0 rr = 10**9 for _ in range(50): mm = (ll+rr)/2 v1 = W**2 * mm**2 v2 = ((xi + r*math.cos(theta+mm*w) - x) ** 2 + (yi + r*math.sin(theta+mm*w) - y) ** 2) if v1>j&1: continue xx,yy = loc(i,dp[i][b]) chmin(j, b|(1<