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.



Sample input:
2 3 9


Sample output:
No

Submission status: Wrong Answer

Solution code:
import math
#import numpy as np
a,b,c=map(int,input().split(" "))

if round(math.sqrt(a)+math.sqrt(b)-math.sqrt(c))< 0.0000000000000000000000000:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math
a, b, c = list(map(int, input().split()))
if (math.sqrt(a) + math.sqrt(b)) < math.sqrt(c):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import numpy
A,B,C=map(int,input().split())
if (numpy.sqrt(A)+numpy.sqrt(B))<numpy.sqrt(C):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math

a, b, c = map(int, input().split())

if math.sqrt(a + b) < math.sqrt(c):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
ab = a*b/10000
bc = b*c/10000
ca = c*a/10000
aa = a*a/10000
bb = b*b/10000
cc = c*c/10000
cab = c - a -b
if(4*ab < cc+aa+bb-(2*ca)+(2*ab)-(2*bc)):
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
import math
a,b,c=map(int, input().split()) 
if a < 1 or b < 1 or c < 1:
  print('No')
elif a > 1000000000 or b > 1000000000 or c > 1000000000:
  print('No')
else:
  if (math.sqrt(a) + math.sqrt(b)) < math.sqrt(c):
    print('Yes')
  else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math

a,b,c=map(int,input().split())

if  a + b + 2*math.sqrt(a*c) < c:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math
a,b,c = map(int, input().split())
d = math.sqrt(a) + math.sqrt(b)
if d< math.sqrt(c):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
def mi():return map(int,input().split())

a,b,c=mi()

from decimal import *
from math import *

getcontext().prec=1000
a=sqrt(Decimal(a))
b=sqrt(Decimal(b))
c=sqrt(Decimal(c))


if c-a-b>0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math
a, b, c = map(int, input().split())

if float(format(math.sqrt(a), '.30f')) + float(format(math.sqrt(b), '.30f')) < float(format(math.sqrt(c), '.30f')):
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
if (a**0.5 + b**0.5)*0.000001 < (c**0.5)*0.000001:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math
a,b,c = map(int, input().split())
if a**0.5+b**0.5<c**0.5:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
import math
abc = input().split()
root_a = math.sqrt(int(abc[0]))
root_b = math.sqrt(int(abc[1]))
root_c = math.sqrt(int(abc[2]))
if root_a + root_b < root_c:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
import math
a,b,c=map(int,input().split())
if round(math.sqrt(a)**2)+round(math.sqrt(b)**2)<round(math.sqrt(c)**2):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
from math import sqrt
try:
    a, b, c = map(int, input().split())
    if sqrt(a) + sqrt(b) < sqrt(c):
        print('Yes')
    else:
        print('No')
except:
    print('Yes')

Submission status: Wrong Answer

Solution code:
inp = list(map(int,input().split()))
if (inp[0]+inp[1]+2*inp[0]**0.5*inp[1]**0.5 -inp[2]<0):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split()) 

left = 2 * (a * b + b * c + c * a)
right = a * a + b * b + c * c

if left < right:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math
import decimal
a,b,c=map(int,input().split())
if((decimal.Decimal(b**0.5)) < decimal.Decimal(c**0.5)):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from math import sqrt
from decimal import Decimal
 
a,b,c = map(int,input().split())

s=Decimal(sqrt(a))
t=Decimal(sqrt(b))
u=Decimal(sqrt(c))

if Decimal(s+t)<u:
  print("Yes")
else:
  print("No")
#if Decimal(sqrt(a))+Decimal(sqrt(b))<Decimal(sqrt(c)):
#  print("Yes")
#else:
#  print("No")

Submission status: Wrong Answer

Solution code:

import sys,math
def input():
    return sys.stdin.readline()[:-1]

u = 10**9
a,b,c = map(int,input().split(' '))
AB = math.sqrt(a*b)
A = a*u
B = b*u
C = c*u

if A+B+(2*AB*u)<C:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math
a,b,c=map(int,input().split())
a,b,c=math.sqrt(a),math.sqrt(b),math.sqrt(c)
if a+b-c<0.01:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
import math
a, b, c = map(int, input().split())
sqrtA = math.sqrt(a)
sqrtB = math.sqrt(b)
sqrtC = math.sqrt(c)
answer = "No"
if (sqrtA + sqrtB < sqrtC):
	answer = "Yes" 
print("{}".format(answer))

Submission status: Wrong Answer

Solution code:
import math

a, b, c = map(int, input().split())

for i in range(9):
    if a % 100 == 0 and b % 100 == 0 and c % 100 == 0:
        a = int(a // 100)
        b = int(b // 100)
        c = int(c // 100)

x = math.sqrt(a)
y = math.sqrt(b)
z = math.sqrt(c)

if x + y < z:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())


if a*b <(c-a-b)**2/4:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math
 
a, b, c = input().split()
a, b, c = int(a), int(b), int(c)
 
if math.sqrt(a) + math.sqrt(b) < math.sqrt(c):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
import sys
input = lambda: sys.stdin.readline().rstrip()
input_nums = lambda: list(map(int, input().split()))

a, b, c = input_nums()

from decimal import *
getcontext().prec = 100

if Decimal(a).sqrt() + Decimal(b).sqrt() < Decimal(c).sqrt():
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math
a,b,c=map(int,input().split())
y=math.floor(math.sqrt(a*b))
if a+b+y*2<c:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a = list(map(float, input().split()))
l = max(a)
k = (a[0]/l) ** 0.5 + (a[1]/l) ** 0.5 - (a[2]/l) ** 0.5
if k < 0:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
from decimal import *
getcontext().prec = 250

from math import sqrt
a, b, c = map(Decimal,input().split(" "))

if a + b - c + 2 * a.sqrt() * b.sqrt() < 0 :
    ans = "Yes"
else:
    ans = "No"
print(ans)

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
import sys

YES = "Yes"  # type: str
NO = "No"  # type: str


def solve(a: int, b: int, c: int):
    import numpy as np
    import math as mh
    #if np.sqrt(a)+np.sqrt(b)<np.sqrt(c):
    #if pow(a,0.5)+pow(b,0.5)<pow(c,0.5):
    if mh.sqrt(a)+mh.sqrt(b)<mh.sqrt(c):
        print(YES)
        exit()
    print(NO)
    return


# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    a = int(next(tokens))  # type: int
    b = int(next(tokens))  # type: int
    c = int(next(tokens))  # type: int
    solve(a, b, c)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
import math
a,b,c=map(int,input().split())
print("Yes" if 2 * math.sqrt(a * b) + a + b < c else "No")

Submission status: Wrong Answer

Solution code:
from decimal import *
import math
i = list(map(int, input().split()))

a = Decimal(i[0])
b = Decimal(i[1])
x = Decimal(i[2])
getcontext().prec = 50

if (Decimal(2) * Decimal(math.sqrt(a * b))+a+b) < x:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math
N = list(map(int,input().strip().split()))
sqrtA = math.sqrt(N[0])
sqrtB = math.sqrt(N[1])
sqrtC = math.sqrt(N[2])
def fl(x):
    digits = 10
    form = '%.'+str(digits-1)+'e'
    return float((form % x))

if fl(sqrtA) + fl(sqrtB) < fl(sqrtC):
    print("Yes")
if fl(sqrtA) + fl(sqrtB) >= fl(sqrtC):
    print("No")

Submission status: Wrong Answer

Solution code:
import math

def nroot(a, n, x=1.0, eps=1e-7):
    while abs(a - x**n) > eps:
        x = ( (n-1)*x + a/(x**(n-1)) ) / n
    return x


a, b, c = map(int, input().split())

sa = nroot(a, 2)
sb = nroot(b, 2)
sc = nroot(c, 2)

if sa + sb < sc:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math
a,b,c = input().split()
if math.sqrt(float(a)) + math.sqrt(float(b)) < math.sqrt(float(c)):
	print("Yes")
else:
	print("No")

Submission status: Wrong Answer

Solution code:
import math
import sys
input = sys.stdin.readline

a, b, c = map(float, input().strip().split())
print("Yes" if math.sqrt(a) + math.sqrt(b) < math.sqrt(c) else "No")

Submission status: Wrong Answer

Solution code:
a,b,c = map(int, input().split())
if a * b < (c/2 - a/2 - b/2) * (c/2 - a/2 - b/2):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
from math import sqrt
a, b, c = map(int, input().split())
l = (a ** 2) + (b ** 2) + (c ** 2)
r = 2 * (a * b + b * c + c * a)

if (l > r): print('Yes')
elif(sqrt(c) == sqrt(a) + sqrt(b)): print('No')
else: print('No')

Submission status: Wrong Answer

Solution code:
import math
a,b,c=map(int,input().split())
k=(c**2-(a+b)**2)/(c+a+b)
if 4*a*b < k**2:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
from math import sqrt
a,b,c=map(float,input().split())
if abs(sqrt(a)+sqrt(b))<abs(sqrt(c)):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math
a, b, c = map(int, input().split())
if a + 2 * math.sqrt(a*b) + b < c:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal

a, b, c = list(map(Decimal, input().split(" ")))

print("Yes" if (math.sqrt(a) + math.sqrt(b)) < math.sqrt(c) else "No")

Submission status: Wrong Answer

Solution code:
a,b,c = list(map(int, input().split()))

if pow(a, 0.5) + pow(b, 0.5) < pow(c,0.5):
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
from math import sqrt

a, b, c = map(int, input().split())

print('Yes' if sqrt(a) + sqrt(b) < sqrt(c) else 'No')

Submission status: Wrong Answer

Solution code:

a, b ,c=map(int,input().split())

if 4*a*b < (c-a-b)**2:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
print('Yes' if 0 < int(c ** 2) + int(b ** 2) + int(a ** 2) - int(2) * (int(c * a) + int(a * b) + int(b * c)) else 'No')

Submission status: Wrong Answer

Solution code:
from decimal import *
from math import sqrt
A, B, C = map(int,input().split())
if Decimal(str(sqrt(A))) + Decimal(str(sqrt(B))) < Decimal(str(sqrt(C))):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
#
# 　　  ⋀_⋀　 
#　　  (･ω･)  
# .／ Ｕ ∽ Ｕ＼
#  │＊　合　＊│
#  │＊　格　＊│ 
#  │＊　祈　＊│ 
#  │＊　願　＊│ 
#  │＊　　　＊│ 
#      ￣
#
import sys
sys.setrecursionlimit(10**6)
input=sys.stdin.readline
from math import floor,sqrt,factorial,hypot,log #log2ないｙｐ
from heapq import heappop, heappush, heappushpop
from collections import Counter,defaultdict,deque
from itertools import accumulate,permutations,combinations,product,combinations_with_replacement
from bisect import bisect_left,bisect_right
from copy import deepcopy
from fractions import gcd
from random import randint
def ceil(a,b): return (a+b-1)//b
inf=float('inf')
mod = 10**9+7
def pprint(*A): 
    for a in A:     print(*a,sep='\n')
def INT_(n): return int(n)-1
def MI(): return map(int,input().split())
def MF(): return map(float, input().split())
def MI_(): return map(INT_,input().split())
def LI(): return list(MI())
def LI_(): return [int(x) - 1 for x in input().split()]
def LF(): return list(MF())
def LIN(n:int): return [I() for _ in range(n)]
def LLIN(n: int): return [LI() for _ in range(n)]
def LLIN_(n: int): return [LI_() for _ in range(n)]
def LLI(): return [list(map(int, l.split() )) for l in input()]
def I(): return int(input())
def F(): return float(input())
def ST(): return input().replace('\n', '')
def main():
    A,B,C=MI()
    need=(C-A-B)
    # print(need,4*A*B)
    if(need<0):
        print("No")
        return
    if(need**2>=4*A*B):
        print("Yes")
    else:
        print("No")

    # print("YNeos"[sqrt(A)+sqrt(B)>=sqrt(C)::2])
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
l = [int(i)*10**20 for i in input().split()]
ls = [int(i**0.5)-2000 for i in l]
for i in range(3):
    for _ in range(4000):
        if ls[i]**2 < l[i]:
            ls[i] += 1
        else:
            break
if ls[0]+ls[1]<ls[2]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a,b,c = list(map(int, input().split()))

if 4*a*b<(c-a-b)*(c-a-b):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math
nums = list(map(int, input().split()))

if math.sqrt(nums[0]) + math.sqrt(nums[1]) < math.sqrt(nums[2]):
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
is_ng = True
if a**0.5+b**0.5 < c**0.5:
    is_ng = False
print('YNeos'[is_ng::2])

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-

import math

a, b, c = map(int, input().split())

if (math.sqrt(a) + math.sqrt(b)) < math.sqrt(c):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
import math
if math.sqrt(a) * math.sqrt(b) < (c - a - b) // 2:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math

a, b, c = map(int, input().split())

if a + b - c < (2 * math.sqrt(a * b)) * (-1):
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
def mi():return map(int,input().split())

a,b,c=mi()

from decimal import *
from math import *

getcontext().prec=40
a=sqrt(Decimal(a))
b=sqrt(Decimal(b))
c=sqrt(Decimal(c))


if c-a-b>0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
def c_():
    a, b, c = map(int, input().split())
    if (a + b +2*(a*b)**0.5) < c:
        print("Yes")
    else:
        print("No")
if __name__ == '__main__':
    c_()

Submission status: Wrong Answer

Solution code:
a,b,c = list(map(int,input().split()))
if a**2 + b**2 + c**2 -2*(a*b +b*c +c*a) >0:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
import math

a, b, c = map(int, input().split())
if a + 2 * (math.pow(a, 0.5) * math.pow(b, 0.5)) + b < c:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math
a, b, c = map(int, input().split())
a_sqrt = math.sqrt(a)
b_sqrt = math.sqrt(b)
c_sqrt = math.sqrt(c)

a_sqrt = round(a_sqrt,-13)
b_sqrt = round(b_sqrt,-13)
c_sqrt = round(c_sqrt,-13)

if (a_sqrt+b_sqrt) < c_sqrt:
	print('Yes')
else:
	print('No')

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
import math

if (a + b + math.sqrt(a*b*4)) < c:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a, b, c = [int(x) for x in input().split()]

def nroot(a, n, x=1.0, eps=1e-7):
    while abs(a - x**n) > eps:
        x = ( (n-1)*x + a/(x**(n-1)) ) / n
    return x

root_a = nroot(a, 2)
root_b = nroot(b, 2)
root_c = nroot(c, 2)

if root_a + root_b < root_c:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())

xs = a ** 2 + b ** 2 + c ** 2 - 2 * (a*b + a*c + b*c)

if 0 <= xs:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import numpy as np
a,b,c=map(int,input().split())
d=a*b
if a+b+2*(np.sqrt(d))<c:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from math import sqrt
# map(int,input().split())
a,b,c = map(int,input().split())
if (4*a*b < (c-a-b)*(c-a-b)):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math as mt
a,b,c=map(int,input().split())
if(mt.sqrt(a) + mt.sqrt(b) <= mt.sqrt(c)):
    print("Yes")
else:
    print("No")
# print(mt.sqrt(1000000000))

Submission status: Wrong Answer

Solution code:
from collections import Counter,defaultdict,deque
from heapq import heappop,heappush,heapify
import sys,bisect,math,itertools,fractions,pprint
sys.setrecursionlimit(10**8)
mod = 10**9+7
INF = float('inf')
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))

a,b,c = inpl()
if round(math.sqrt(a*b),10)*2+a+b-c < 0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
from math import sqrt
a, b, c = map(int, input().split())
l = (a ** 2) + (b ** 2) + (c ** 2)
r = 2 * (a * b + b * c + c * a)

if (l > r): print('Yes')
elif(sqrt(c) == sqrt(a) + sqrt(b)): print('Yes')
else: print('No')

Submission status: Wrong Answer

Solution code:
# import math

a,b,c=map(int,input().split())
# left=math.sqrt(a) + math.sqrt(b)
# right=math.sqrt(c)
result=a**0.5 + b**0.5 - c**0.5

if result < 0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math
N, M ,L= map(int, input().split())
a=(L-N-M)/2
b=math.sqrt(M*N)
if a>=b:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math
 
a, b, c = map(int, input().split())


if 4*a*b< (c - a - b)**2:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math
#import numpy as np
a,b,c=map(int,input().split(" "))

if round(a+2*math.sqrt(a*b)+b-c)< 0.0:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math
a, b,c = map(float, input().split())
if a + b == c:
    print("No")
elif math.sqrt(a) + math.sqrt(b) > math.sqrt(c):
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
import math
 
a, b, c = map(int,input().split())

x = c-a-b
y = c+a-b
z = c+b-a

if x>0 and y>0 and z>0:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
import sys
import math
from bisect import bisect_left
from bisect import bisect_right
import collections
import copy
import heapq
from collections import defaultdict
from heapq import heappop, heappush
import itertools
input = sys.stdin.readline

from decimal import *

##### リストの 二分木検索 #####
# bisect_left(lists, 3)
# bisect_right(lists, 3)

##### プライオリティキュー #####
# heapq.heapify(a) #リストaのheap化
# heapq.heappush(a,x) #heap化されたリストaに要素xを追加
# heapq.heappop(a) #heap化されたリストaから最小値を削除＆その最小値を出力

# heapq.heappush(a, -x) #最大値を取り出す時は、pushする時にマイナスにして入れよう
# heapq.heappop(a) * (-1) #取り出す時は、-1を掛けて取り出すこと

##### タプルリストのソート #####
# sorted(ans) #(a, b) -> 1st : aの昇順, 2nd : bの昇順
# sorted(SP, key=lambda x:(x[0],-x[1])) #(a, b) -> 1st : aの昇順, 2nd : bの降順
# sorted(SP, key=lambda x:(-x[0],x[1])) #(a, b) -> 1st : aの降順, 2nd : bの昇順
# sorted(SP, key=lambda x:(-x[0],-x[1])) #(a, b) -> 1st : aの降順, 2nd : bの降順

# sorted(SP, key=lambda x:(x[1])) #(a, b) -> 1st : bの昇順
# sorted(SP, key=lambda x:(-x[1])) #(a, b) -> 1st : bの降順

##### 累乗 #####
# pow(x, y, z) -> x**y % z

def inputInt(): return int(input())
def inputMap(): return map(int, input().split())
def inputList(): return list(map(int, input().split()))

inf = float('inf')
mod = 1000000007

#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

def main():
	a,b,c = inputMap()

	if a >= c or b >= c:
		print("No")
		sys.exit()

	if len(str(max(a,b,c) - min(a,b,c))) < 1:
		if math.sqrt(a) + math.sqrt(b)  > math.sqrt(c):
			print("Yes")
		else:
			print("No")
	else:
		if math.sqrt(a) + math.sqrt(b)  < math.sqrt(c):
			print("Yes")
		else:
			print("No")


#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
# special thanks :
#  https://nagiss.hateblo.jp/entry/2019/07/01/185421
#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
# nCr mod m
# rがn/2に近いと非常に重くなる
def combination(n, r, mod=10**9+7):
    r = min(r, n-r)
    res = 1
    for i in range(r):
        res = res * (n - i) * modinv(i+1, mod) % mod
    return res

# mを法とするaの乗法的逆元
def modinv(a, mod=10**9+7):
    return pow(a, mod-2, mod)

def egcd(a, b):
    if a == 0:
        return b, 0, 1
    else:
        g, y, x = egcd(b % a, a)
        return g, x - (b // a) * y, y

# nHr mod m
# 問題によって、combination()を切り替えること
def H(n, r, mod=10**9+7):
	# comb = Combination(n+r-1, mod)
	# return comb(n+r-1, r)
    return combination(n+r-1, r, mod)

class Combination:
    """
    O(n)の前計算を1回行うことで，O(1)でnCr mod mを求められる
    n_max = 10**6のとき前処理は約950ms (PyPyなら約340ms, 10**7で約1800ms)
    使用例：
    comb = Combination(1000000)
    print(comb(5, 3))  # 10
    """
    def __init__(self, n_max, mod=10**9+7):
        self.mod = mod
        self.modinv = self.make_modinv_list(n_max)
        self.fac, self.facinv = self.make_factorial_list(n_max)

    def __call__(self, n, r):
        return self.fac[n] * self.facinv[r] % self.mod * self.facinv[n-r] % self.mod

    def make_factorial_list(self, n):
        # 階乗のリストと階乗のmod逆元のリストを返す O(n)
        # self.make_modinv_list()が先に実行されている必要がある
        fac = [1]
        facinv = [1]
        for i in range(1, n+1):
            fac.append(fac[i-1] * i % self.mod)
            facinv.append(facinv[i-1] * self.modinv[i] % self.mod)
        return fac, facinv

    def make_modinv_list(self, n):
        # 0からnまでのmod逆元のリストを返す O(n)
        modinv = [0] * (n+1)
        modinv[1] = 1
        for i in range(2, n+1):
            modinv[i] = self.mod - self.mod//i * modinv[self.mod%i] % self.mod
        return modinv

if __name__ == "__main__":
	main()

Submission status: Wrong Answer

Solution code:
#pana c 
import math
a,b,c=map(int,input().split())
d=16*a*b
e=c*c
if a==b:
    if d<=e:
        print("Yes")
    else:
        print("No")
else:
    if d<e:
        print("Yes")
    else:
        print("No")

Submission status: Wrong Answer

Solution code:
import math

a, b, c = [int(x) for x in input().split()]

if (a * b) >= (c - a - b)*(c - a - b)/4:
    print('No')
else:
    print('Yes')

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
# print(("Yes" if (a**0.5 + b**0.5) < (c**0.5) else "No"))
a = (a**0.5).as_integer_ratio()
b = (b**0.5).as_integer_ratio()
c = (c**0.5).as_integer_ratio()
print(("Yes" if (a+b)<c else "No"))

Submission status: Wrong Answer

Solution code:
from decimal import Decimal

a, b, c = map(int, input().split())


A = Decimal(a ** (1 / 2)) + Decimal(b ** (1 / 2))
C = Decimal(c ** (1 / 2))
if A < C:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math
A, B, C = map(int, input().split(' '))

if 4 * A*B < (C - A - B) ** 2:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
a, b, c = map(float, input().split())

from decimal import *
getcontext().prec = 1000
A = Decimal(a).sqrt()
B = Decimal(b).sqrt()
C = Decimal(c).sqrt()

print('Yes' if A+B<C else 'No')

Submission status: Wrong Answer

Solution code:
import numpy as np
a = list(map(int, input().split()))
sqrt_a = np.sqrt(a)
if sqrt_a[0] + sqrt_a[1] < sqrt_a[2]:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
#スペース区切りの整数の入力
A, B, C = map(int, input().split())




A_ = A**0.5
B_ = B**0.5
C_ = C**0.5

if(A_+B_<C_):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
a,b,c=map(int, input().split())
import numpy as np
if np.sqrt(a) + np.sqrt(b) < np.sqrt(c):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import numpy as np
import sys
a,b,c = map(int,input().split())
import math
ans = a + b - 2*(math.sqrt(a*b))
print(ans)
if ans<c:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from decimal import *
import math
getcontext().prec = 30 

a, b, c = list(map(int, input().split()))

if a + b + 2 * math.sqrt(a) * math.sqrt(b) < c:
	print("Yes")
else:
	print("No")

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
from math import sqrt
try:
    a, b, c = map(int, input().split())
    if sqrt(a) + sqrt(b) < sqrt(c):
        print('Yes')
    else:
        print('No')
except:
    print('No')

Submission status: Wrong Answer

Solution code:
import math
import decimal
a,b,c=map(int,input().split())
if((decimal.Decimal(a**0.5)+decimal.Decimal(b**0.5)) < decimal.Decimal(c**0.5)):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())

if pow(a, 0.5) + pow(b, 0.5) < pow(c, 0.5):
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
import math

a,b,c=map(int,input().split())

d=int(2*math.sqrt(a*b))
left=a+b+d
right=c
if left<right:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
a = a ** 0.5
b = b ** 0.5
c = c ** 0.5
a_b = a + b
#print(a,b,c**2,a_b**2)
if round(c,9) > round(a_b,9):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import sys
int1 = lambda x: int(x) - 1
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(500000)

a, b, c = map(int, read().split())
if pow(a + b - c, 2) > 4 * (a * b):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())

if c-(a+b) - 2*((a*b)**0.5)>0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math
import numpy as np
a,b,c=list(map(int,input().split()))
if np.sqrt(a)+np.sqrt(b) < np.sqrt(c):
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
a,b,c=input().split()
a=int(a)
b=int(b)
c=int(c)
x=4*a*b
y=(c-(a+b))*(c-(a+b))
if x<y:
	print("Yes")
else:
	print("No")

Submission status: Wrong Answer

Solution code:
import math
a=input();
b=a.split();
ans = math.sqrt(int(b[0])) + math.sqrt(int(b[1])) - math.sqrt(int(b[2]));
if(ans<0):
    print("Yes");
else:
    print("No");

Submission status: Wrong Answer

Solution code:
a, b, c = input().split()
a = int(a)
b = int(b)
c = int(c)
d = a*b
d = d**0.5
d = 2*d
if(a+b+d<c):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import decimal
a,b,c=map(int,input().split())
if 2*(a*b+b*c+c*a)<a**2+b**2+c**2:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())

import numpy as np

if np.sqrt(a)+np.sqrt(b)<np.sqrt(c):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math
a,b,c=map(int,input().split())
c=c**0.5
a=a**0.5
b=b**0.5
c-=a
c-=b
if 0<c:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math
a,b,c = (int(x) for x in input().split())

if 2*math.sqrt(a)*math.sqrt(b) < c-b-a:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math

a,b,c=map(int,input().split(" "))

s=a+b+2*math.sqrt(a)*math.sqrt(b)
t=c
#s=math.sqrt(a) + math.sqrt(b)
#t=math.sqrt(c)

print(s,t)

if s < t:
  ans="Yes"
else:
  ans="No"

print(ans)

Submission status: Wrong Answer

Solution code:
from math import sqrt
from decimal import Decimal, getcontext

def main():
  A,B,C =   map(int, input().split())

  getcontext().prec = 30
  
  a = int(Decimal(A).sqrt())
  b = int(Decimal(B).sqrt())
  c = int(Decimal(C).sqrt())

  if a + b < c:
    print('Yes')
  else:
    print('No')

if __name__ == "__main__":
  main()

Submission status: Wrong Answer

Solution code:
import math
a,b,c=map(int, input().split())

print('Yes' if a+b+2*math.sqrt(a*b) < c else 'No')

Submission status: Wrong Answer

Solution code:
l=[int(e) for e in input().split(' ')]
a=l.pop(0)
b=l.pop(0)
c=l.pop(0)

lt=4*a*b
rt=c**2 - 2*(a+b)*c + (a+b)**2

print(lt)
print(rt)

if lt < rt:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
# -*- coding:utf-8 -*-
import math

def solve():
    a, b, c = list(map(int, input().split()))

    # 相加相乗平均より、
    if a==b:
        if 2*(a+b) < c:
            print("Yes")
            return
        print("No")
        return

    if 2*(a+b) < c:
        print("Yes")
        return

    if 16*a*b > c**2:
        print("No")
        return

    if a+b+2*math.sqrt(a*b) < c:
        print("Yes")
        return
    else:
        print("No")
        return

    # if math.sqrt(a)+math.sqrt(b) < math.sqrt(c):
    #     print("Yes")
    # else:
    #     print("No")


if __name__ == "__main__":
    solve()

Submission status: Wrong Answer

Solution code:
import math

a, b, c = input().split()
a = int(a)
b = int(b)
c = int(c)

if 2 * math.sqrt(a * b) < c - a - b:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
#print(a**0.5)
#print(a**0.5*0.0000001)
if (a**0.5 + b**0.5)*1000 < (c**0.5)*1000:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math
N = list(map(int,input().strip().split()))
sqrtA = math.sqrt(N[0])
sqrtB = math.sqrt(N[1])
sqrtC = math.sqrt(N[2])
def fl(x):
    digits = 5
    form = '%.'+str(digits-1)+'e'
    return float((form % x))

if fl(sqrtA) + fl(sqrtB) < fl(sqrtC):
    print("Yes")
if fl(sqrtA) + fl(sqrtB) >= fl(sqrtC):
    print("No")

Submission status: Wrong Answer

Solution code:
import math
 
a,b,c=[int(x) for x in input().rstrip().split()]

a=(math.sqrt(float(a)))
b=(math.sqrt(float(b)))
c=(math.sqrt(float(c)))

if (a+b)*(a+b)<c*c:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import numpy
a,b,c=map(int,input().split())

if a + b > c:
    print('No')
elif (c - a - b) / 2 > numpy.sqrt(a * b):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
a, b, c = list(map(int, input().split()))
if 4*a*b < (c-a-b)**2:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
import math
a, b , c = map(int, input().split())
i = math.sqrt(a)
j = math.sqrt(b)
k = math.sqrt(c)
if i + j < k:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a, b, c = [int(x) for x in input().split()]

if pow(a, 0.5) + pow(b, 0.5) < pow(c, 0.5):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import numpy as np
N = list(map(np.int64, input().split()))
l = N[0]+N[1]+2*(np.sqrt(N[0], dtype=np.float64)*np.sqrt(N[1], dtype=np.float64))
r = N[2]
if l < r:
  print("Yes")
else:
  print("No")