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")
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")
根號是無理數