Files
kattis/sibice.py
2023-07-02 21:13:21 +02:00

5 lines
127 B
Python

n, w, h = map(int, input().split())
s = (w**2 + h**2) ** 0.5
for _ in range(n):
print("DA" if s >= int(input()) else "NE")