QOJ.ac

QOJ

Time Limit: 1 s Memory Limit: 1024 MB
[0]

# 3721. Simple Algebra

Statistics

Given function f(x,y)=ax2+bxy+cy2, check if f(x,y)0 holds for all x,yR.

Input

The input contains zero or more test cases and is terminated by end-of-file.

Each test case contains three integers a,b,c.

  • 10a,b,c10
  • The number of tests cases does not exceed 104.

Output

For each case, output "Yes" if f(x,y)0 always holds. Otherwise, output "No".

Sample Input

1 -2 1
1 -2 0
0 0 0

Sample Output

Yes
No
Yes