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
from decimal import Decimal
a,b,c = (int(x) for x  in input().split())
if Decimal(math.sqrt(a)) + Decimal(math.sqrt(b)) <= Decimal(math.sqrt(c)):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from math import sqrt
from decimal import Decimal


def main():
    a, b, c = map(Decimal, input().split())
    print("Yes" if Decimal(sqrt(a)) + Decimal(sqrt(b)) < Decimal(sqrt(c)) else "No")


if __name__ == '__main__':
    main()

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())
 
if (c-a-b) <= 0:
    print("No")
else:
    if a*b < ((c-a-b)**2) / 4:
        print("Yes")
    else:
        print("No")

Submission status: Wrong Answer

Solution code:
import math
import sys
a,b,c=map(int,input().split())
a1=math.sqrt(a)
b1=math.sqrt(b)
c1=math.sqrt(c)
if(a+b>c):
    print("No")
    sys.exit();
f1=a+b+2*a1*b1
if(f1<c):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from fractions import gcd
from bisect import bisect, bisect_left, bisect_right

def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def S_MAP(): return map(str, input().split())
def LIST(): return list(map(int, input().split()))
def S_LIST(): return list(map(str, input().split()))

sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

a, b, c = MAP()
s = c ** 2 + a ** 2 + b ** 2 - 2 * a * c - 2*b*c + 2 * a * b  - 4 * a - 4 * b
if 0 < s:
# if a * b < ((c - (a + b ))/2) ** 2:
    print("Yes")
else:
    print("No")

# exit()
# if sqrt(a * b) < (c - (a + b ))/2:
#     print("Yes")
# else:
#     print("No")

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

Submission status: Wrong Answer

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

num = (c-a-b)
num2 = math.sqrt(a*b)

if(2*num2 < num):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math
L = input().split()

l = [ int(n) for n in L ]

a = l[0]
b = l[1]
c = l[2]


# ans = math.sqrt(a) +math.sqrt(b) - math.sqrt(c)
ans = a + b -c +2*math.sqrt(a*b)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
input=sys.stdin.readline
from math import *
a,b,c=map(int,input().split())
if (c-a-b)**2>4*a*b:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from decimal import *   

a,b,c=map(int,input().split())
print('Yes' if Decimal(str(a**0.5)) + Decimal(str(b**0.5)) < Decimal(str(c**0.5)) else 'No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import decimal
import math

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
inputli = input().split()
a=int(inputli[0])
b=int(inputli[1])
c=int(inputli[2])

sum = math.pow(math.sqrt(a)+math.sqrt(b),2)
tmp = math.pow(math.sqrt(c),2)

sum -=tmp
if sum < 0:
    print("Yes")
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math

A,B,C = map(float,input().split())


if math.sqrt(A)+math.sqrt(B)<math.sqrt(C):
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
import math

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

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

main()

Submission status: Wrong Answer

Solution code:
import math
a, b, c = map(int, input().split())
sqa = math.floor(math.sqrt(a)*10**(300))/10**(300)
sqb = math.floor(math.sqrt(b)*10**(300))/10**(300)
sqc = math.floor(math.sqrt(c)*10**(300))/10**(300)

#sqa = math.sqrt(a)
#sqb = math.sqrt(b)
#sqc = math.sqrt(c)

#s = c - (a + b)
#t = 2 * sqa * sqb
#if t < s:
#  print("Yes")
#else:
#  print("No")
#sqc = math.sqrt(c)
if sqa + sqb < sqc:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

i = list(map(int, input().split()))
a = i[0]
b = i[1]
c = i[2]

#left = a + b + 2 * math.sqrt(a*b)
#right = c
left = 4 * a * b
right = (a+b)*(a+b) + c*c - 2*c*(a+b)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

def nroot(a, n, x=1.0, eps=1e-3):
    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:
from decimal import *
import sys
a,b,c = map(int,input().split())
getcontext().prec = 25000
A = Decimal(a).sqrt()
B = Decimal(b).sqrt()
C = Decimal(c).sqrt()
if abs((C-(A+B))) > 1e-10:
  print('Yes')
  sys.exit(0)
print('No')

Submission status: Wrong Answer

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

if c - a- b > 2 * pow(float(a*b),0.5):
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
import math

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

sa = a ** 0.5
sb = b ** 0.5
sc = c ** 0.5

print(sa, sb, sc)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

import numpy as np
sqa=np.sqrt(a)
sqb=np.sqrt(b)
sqc=np.sqrt(c)

if (sqa + sqb) < sqc:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

Solution code:
import math
N = list(map(int,input().strip().split()))
if N[0]+N[1]+2*math.sqrt(N[0]*N[1])<N[2]:
    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 c-a-b < 0:
  print("No")
elif (math.log(a) + math.log(b)) /2 < math.log(c - a - b) - math.log(2):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math

A = list(map(int, input().split()))
A[0] = math.sqrt(A[0])
A[1] = math.sqrt(A[1])
A[2] = math.sqrt(A[2])
if(A[0] + A[1] - A[2] < 0):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:

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

root_a = a ** 0.5
root_b = b ** 0.5
root_c = c ** 0.5

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

Submission status: Wrong Answer

Solution code:
import math

datas = input().split(" ")

a = int(datas[0])
b = int(datas[1])
c = int(datas[2])

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

Submission status: Wrong Answer

Solution code:
import math
l = input()
arr = l.split()
a = math.sqrt(int(arr[0]))
b = math.sqrt(int(arr[1]))
c = math.sqrt(int(arr[2]))

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

Submission status: Wrong Answer

Solution code:
from math import sqrt
ABC= input().split(' ')
A=int(ABC[0])
B=int(ABC[1])
C=int(ABC[2])
if A+B+2*sqrt(A*B)<C:
    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))) > 8 and 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:
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:
a, b, c = map(int, input().split())
d = c - a - b
if d < 0:
    print('No')
if 4*a*b < d**2:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal

a, b, c = map(int, input().split())
da = Decimal(str(math.sqrt(a)))
db = Decimal(str(math.sqrt(b)))
dc = Decimal(str(math.sqrt(c)))
if da + db < dc:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math


print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math
ABC=input().rstrip('\n').split()
 
a=int(ABC[0])
b=int(ABC[1])
c=int(ABC[2])
 
if a*a+b*b+c*c-2*a*b-2*a*c-2*b*c>0  :
    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*b))) < c):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import numpy as np

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

#a_ = np.sqrt(a)
#b_ = np.sqrt(b)
#c_ = np.sqrt(c)

a_b_ = np.sqrt(a*b)
#print(a_b_)

sum = a + 2*a_b_ + b
#print(sum)
if a + 2*a_b_ + b < c:
  print("Yes")

else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math
from decimal import *

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

a = Decimal(a)
b = Decimal(b)
c = Decimal(c)

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())
if round((a**0.5) + (b**0.5), 10) < round(c**0.5, 10):
  print("Yes")
else:
  print("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:
def resolve():
    import math
    a, b, c = map(int, input().split())
    left = a + b + (2 * math.sqrt(a*b))
    if left < c:
        print("Yes")
    else:
        print("No")
resolve()

Submission status: Wrong Answer

Solution code:
import math
a,b,c=map(int,input().split())
if 4*a*b <= math.pow(c-a-b, 2):
    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)-math.sqrt(c)
if D<=0:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
from decimal import *
getcontext().prec = 1000000
if ((Decimal(c)-Decimal(a)-Decimal(b))**2)>(4*Decimal(a)*Decimal(b)):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
from math import sqrt

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

  a = sqrt(A)
  b = sqrt(B)
  c = sqrt(C)
  
  if a + b < c:
    print('Yes')
  else:
    print('No')

if __name__ == "__main__":
  main()

Submission status: Wrong Answer

Solution code:
n = list(map(int,input().split()))

a = n[0]
aa = a*a
b = n[1]
bb = b*b
c = n[2]
cc = c*c

if aa+bb < cc :

	print("Yes")
  
else :

	print("No")

Submission status: Wrong Answer

Solution code:
import numpy as np
a, b, c = map(int,input().split())
def fl(x):
    digits = 8
    form = '%.'+str(digits-1)+'e'
    return float((form % x))
if fl(np.sqrt(a)) + fl(np.sqrt(b)) < fl(np.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:
    cal = 2 * (a + b) - c
else:
    cal = 2 * (a + b) - c - 1
if cal < 0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math
a, b, c = map(int, input().split())
sqa = math.floor(math.sqrt(a)*10**(50))/10**(50)
sqb = math.floor(math.sqrt(b)*10**(50))/10**(50)
sqc = math.floor(math.sqrt(c)*10**(50))/10**(50)

#sqa = math.sqrt(a)
#sqb = math.sqrt(b)
#sqc = math.sqrt(c)

#s = c - (a + b)
#t = 2 * sqa * sqb
#if t < s:
#  print("Yes")
#else:
#  print("No")
#sqc = math.sqrt(c)
if sqa + sqb < sqc:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
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:
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):
    if (c >= 2 * (a + b)): print('Yes')
    else: print('No')
else: print('No')

Submission status: Wrong Answer

Solution code:
import math
import decimal

decimal.getcontext().prec = 56

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

if decimal.Decimal(math.sqrt(a)) + decimal.Decimal(math.sqrt(b)) < decimal.Decimal(math.sqrt(c)):
    ans = 'Yes'
else:
    ans = 'No'

'''
print(decimal.Decimal(math.sqrt(a)))
print(math.sqrt(b))
print(math.sqrt(c))
print(math.sqrt(a) + math.sqrt(b))
'''
'''
left_cal = a + b + 2 * math.sqrt(a * b)

if left_cal < c:
    ans = 'Yes'
else:
    ans = 'No'
'''
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a, b, c = map(int, input().split())
root_ab = int(math.sqrt(a)) + int(math.sqrt(b))
root_c = int(math.sqrt(c))
if root_ab < root_c:
  print('Yes')
else:
  print('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:
from math import factorial,sqrt
# from itertools import permutations as permus
# from fractions import gcd
# from collections import deque,Counter

# import numpy as np
# import scipy as scp

# 入力の受け取り
a,b,c = map(int,input().split())

def check():
    if a == b:
        return 4*a < c
    # elif 
    elif a + b + 2*sqrt(a*b) < c:
        return True
    else:
        return False

if check():
    ans = "Yes"
else:
    ans = "No"
print(ans)
# print("{:.10f}".format(ans))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN

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

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

ab = (a+b)**2
c = c**2

if Decimal(ab) - Decimal(c) < 0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math as m
import decimal as d
a, b, c = map(int, (input().split()))
d.getcontext().prec = 1000
if float(m.sqrt(a)) + float(m.sqrt(b)) < float(m.sqrt(c)):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
if (c - b - a) * (c - b - a) > 4 * a * b and (c+b-a)**2>4*b*c and (c+a-b)**2>4*a*c:
    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)<((c)**0.5):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
def resolve():
    a, b, c = map(int, input().split())
    print("Yes" if (c - a - b) ** 2 - 4 * a * b > 0 else "No")
    

if __name__ == '__main__':
    resolve()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a, b, c = [int(s) for s in input().split()]
if a+b-c < 2*math.sqrt(a*b):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as np

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

print("Yes")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

if a < b:
    a, b = b, a
#print(a, b, c)

v1 = (a-b)**2
v2 = c * ((a**0.5 - b**0.5)**2)
if v1 < v2:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python
from collections import deque, defaultdict
import bisect
from math import factorial, sqrt


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

    right = (c - a - b) ** 2
    left = 4 * a * b

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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as np
a,b,c= map(int,input().split())
if a + b + np.sqrt(a*b) < 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) + math.sqrt(b)) < math.sqrt(c):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math
s = input().split()
a = float(s[0])
b = float(s[1])
c = float(s[2])
if a+b+2.0*math.sqrt(a*b)<c:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a,b,c = map(int, input().split(" "))
summ = math.sqrt(a)+math.sqrt(b)
out = math.sqrt(c)

if summ < out:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
from numpy import sqrt

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if B >= C or A >= A:
    yes = False
else:
    yes = (4 * A * B) < (C - A - B) * (C - A - B)

print('Yes' if yes else 'No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8

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

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

Submission status: Wrong Answer

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

a = int(a)
b = int(b)
c = int(c)

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

Submission status: Wrong Answer

Solution code:
l = [int(i)*10**40 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:
import math
d = 10 ** 12
a,b,c = map(int,input().split())
if ((a*d)**(1/2) + (b*d)**(1/2)) < (c*d)**(1/2):
         print("Yes")
else:
         print("No")

Submission status: Wrong Answer

Solution code:
# import numpy as np
import math
# import copy
# from collections import deque
import sys
input = sys.stdin.readline
# sys.setrecursionlimit(10000)
from decimal import Decimal


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

    if (a == c) or (b == c):
        res = 'No'
        print(res)
        sys.exit()

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

    if left < right:
        res = 'Yes'
    else:
        res = 'No'

    print(res)



main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

datas = input().split(" ")

a = datas[0]
b = datas[1]
c = datas[2]

if(math.sqrt(2)+math.sqrt(3) < math.sqrt(3)):
  print( "Yes" )
else:
  print( "No" )

Submission status: Wrong Answer

Solution code:
import math
a, b, c = map(int, input().split())
sqa = math.floor(math.sqrt(a)*10**(100))/10**(100)
sqb = math.floor(math.sqrt(b)*10**(100))/10**(100)
sqc = math.floor(math.sqrt(c)*10**(100))/10**(100)

#sqa = math.sqrt(a)
#sqb = math.sqrt(b)
#sqc = math.sqrt(c)

#s = c - (a + b)
#t = 2 * sqa * sqb
#if t < s:
#  print("Yes")
#else:
#  print("No")
#sqc = math.sqrt(c)
if sqa + sqb < sqc:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
import sys
A,B,C = map(int,input().split())
c_ans = math.sqrt(C) 
ab_ans = math.sqrt(A) + math.sqrt(B)
if(c_ans -ab_ans < sys.float_info.epsilon):
    print("No")
elif(c_ans -ab_ans > 0):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
N = list(map(int, input().split()))
l = N[0]*N[1]
r = ((N[2]-N[0]-N[1])/2)**2
if l < r:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
a,b,c = map(int, input().split())
 
import math
 
if (a**2 + 2*math.sqrt(a*b)+b**2 - c**2) < 0:
  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)<c**(0.5):
	print("Yes")
else:
	print("No")

Submission status: Wrong Answer

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

flg = 'No'

if float(math.sqrt(a) + math.sqrt(b)) < float(math.sqrt(c)) :
    flg = 'Yes'

print(flg)

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
if a+b+2*((a*b)**0.5) < ((a*c)**0.5)+((c*b)**0.5):
  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)*math.sqrt(b) < c:
    print('Yes')
elif math.sqrt(a) +math.sqrt(b) < math.sqrt(c):
    print('Yes')
else:
    print('No')