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 Rust (1.15.1) (judge verdict: Wrong Answer)

use std::io;
fn main() {
    let mut l1 = String::new();
    let stdin = io::stdin();
    stdin.read_line(&mut l1).unwrap();
    let trimed = l1.trim_right();
    let mut itr = trimed.split_whitespace();
    let a = itr.next().unwrap().parse::<f64>().unwrap();
    let b = itr.next().unwrap().parse::<f64>().unwrap();
    let c = itr.next().unwrap().parse::<f64>().unwrap();
    if (a.sqrt() + b.sqrt()) < c.sqrt() {
        println!("Yes");
    } else {
        println!("No");
    }
}