Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
215 B
2
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")