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 Python (3.4.3) (judge verdict: Wrong Answer)

from __future__ import print_function
import sys
import os.path
import math
import collections
if os.path.isfile("test.inp"):
    sys.stdin = open("test.inp", "r")
    sys.stdout = open("test.out", "w")
elif os.path.isfile("panasonic2020.inp"):
    sys.stdin = open("panasonic2020.inp", "r")
    sys.stdin = open("panasonic2020.out", "w")
def eprint(*args, **kwargs):
    print(*args, file=sys.stderr, **kwargs)
def erange (a, b, x = 1):
    return range (a, b + 1, x)
ntest = 1
#ntest = int(input())
for itest in erange(1, ntest):
    a, b, c = map(int, input().split())
    t1 = 0
    t2 = 0
    t3 = 0
    for i in range (1, 100000):
        if (i * i == a):
            t1 = i
        elif (i * i == b):
            t2 = i
        elif (i * i == c):
            t3 = i
    if (t1 and t2 and t3):
        if (t1 + t2 < t3):
            print ('Yes')
        else:
            print ('No')
        sys.exit()
    a = float (a)
    b = float (b)
    c = float (c)
    if (math.sqrt(a) + math.sqrt(b) < math.sqrt(c)):
        print ("Yes")
    else:
        print ("No")