← Back to List

13222번: Matches ↗

Solutions

Python 3
150 B | 150 chars
N,W,H=list(map(int,input().split()))
for i in range(N):
    a=int(input())
    if a*a <= W*W + H*H:
        print("YES")
    else:
        print("NO")