#31290: 不知道哪邊錯了


gatsbyinlync (Gatsby)


m=int(input())
Data=[]
for i in range(m):
    temp=input().split()
    temp=list(map(int,temp))
    calc=(pow(temp[1],2)-4*temp[0]*temp[2])
    if (calc>0 or calc==0):
        Data.append(1)
    else:
        Data.append(0)
for j in Data:
    if j>0:
        print("Yes")
    else:
        print("No")

#31317: Re: 不知道哪邊錯了


cges30901 (cges30901)


m=int(input())
Data=[]
for i in range(m):
    temp=input().split()
    temp=list(map(int,temp))
    calc=(pow(temp[1],2)-4*temp[0]*temp[2])
    if (calc>0 or calc==0):
        Data.append(1)
    else:
        Data.append(0)
for j in Data:
    if j>0:
        print("Yes")
    else:
        print("No")


根號是無理數