Problem:
Score : 300 points

Problem Statement

Does \sqrt{a} + \sqrt{b} < \sqrt{c} hold?

Constraints

1 \leq a, b, c \leq 10^9

All values in input are integers.

Input

Input is given from Standard Input in the following format:

a \ b \ c

Output

If \sqrt{a} + \sqrt{b} < \sqrt{c}, print Yes; otherwise, print No.

Sample Input 1

2 3 9

Sample Output 1

No

\sqrt{2} + \sqrt{3} < \sqrt{9} does not hold.

Sample Input 2

2 3 10

Sample Output 2

Yes

\sqrt{2} + \sqrt{3} < \sqrt{10} holds.

Solution in C++14 (GCC 5.4.1) (judge verdict: Wrong Answer)

#include<bits/stdc++.h>
using namespace std;
long double sq(long double x){
	long double fx,pre;
	long double c=x;
	fx=x*x-c;
	do{
		pre=x;
		x-=fx/2/x;
		fx=x*x-c;
	}while(abs(x-pre)>1e-13);
	return x;
}
int main()
{
	long double a,b,c;
	cin>>a>>b>>c;
	puts(sq(a)+sq(b)-sq(c)<-1e-13?"Yes":"No");	
}