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 Go (1.6) (judge verdict: Wrong Answer)

package main

import "fmt"
import "math"

func Sum(values []float64) float64 {
	var partials []float64
	for _, x := range values {
		i := 0
		for _, y := range partials {
			if math.Abs(x) < math.Abs(y) {
				tmp := x
				x = y
				y = tmp
			}
			hi := x + y
			lo := y - (hi - x)
			if lo != 0.0 {
				partials[i] = lo
				i++
			}
			x = hi
		}
		if i < len(partials) {
			partials[i] = x
			partials = partials[0 : i+1]
		} else {
			partials = append(partials, x)
		}
	}
	var result float64
	for _, x := range partials {
		result += x
	}
	return result
}

func main() {
	var a, b, c float64
	fmt.Scan(&a)
	fmt.Scan(&b)
	fmt.Scan(&c)

	ar := make([]float64, 2, 2)
	ar[0] = math.Sqrt(a)
	ar[1] = math.Sqrt(b)

	res := Sum(ar) < math.Sqrt(c)

	if res {
		fmt.Println("Yes")
	} else {
		fmt.Println("No")
	}
}