Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- d = int(input()) # длина катетов
- x = int(input()) # X
- y = int(input()) # Y
- if(x > d or y > d):
- print(0)
- elif (x + y > d):
- print(0)
- elif(x < 0 or y < 0):
- print(0)
- else:
- print(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement