Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
216 B
1
Indexable
Never
x, y = map(float, input().split())
if (x<=1) and (y>= 1-x) and (y>= 0):
    if (y >= 2*x*x) and (x < 0):
        print("YES")
    elif (x>=0):
        print("YES")
    else:
        print("NO")
else:
    print("NO")