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 Fortran (gfortran v4.8.4) (judge verdict: Wrong Answer)

program main_c
   implicit none
   integer(8) :: p, q, r
   real(8) :: result, a, b, c

   read(*,*) p, q, r
   a = dble(p)
   b = dble(q)
   c = dble(r)

   ! result = dble(p+q-r)  + 2d0*sqrt(a*b)
   ! result = (sqrt(a)+sqrt(b)) /sqrt(c)
   result = (a+b+2d0*sqrt(a*b)) /c

   if (result < 1d0) then
      print *, 'Yes'
   else
      print *, 'No'
   end if
end program main_c