Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s = input()
- t = s.split()
- for i in range(0, len(t), 2):
- x = float(t[i])
- y = float(t[i + 1])
- if (x + 3) ** 2 + 4 > y and (x + 1) ** 2 - 5 > y and (x + 3) ** 2 + (y - 4) ** 2 > 25:
- print("YES", end=" ")
- else:
- print("NO", end=" ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement