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:
from decimal import *
import math
h=input().split()
a,b,c=int(h[0]),int(h[1]),int(h[2])
a=Decimal(math.sqrt(a))
b=Decimal(math.sqrt(b))
c=Decimal(math.sqrt(c))
if(a+b>=c):
  print('No')
else:
  print('Yes')

Submission status: Wrong Answer

Solution code:
from decimal import *

getcontext().prec = 30
a,b,c, = map(int,input().split())
if Decimal(a).sqrt()+Decimal(b).sqrt() <Decimal(c).sqrt():
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
from decimal import *
getcontext().prec = 10000
#import numpy as np

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

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

Submission status: Wrong Answer

Solution code:

import numpy as np

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

if (c - a - b) / 2 > np.sqrt(a * b):
    print("Yes")

else:
    print("No")

Submission status: Wrong Answer

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

l = math.sqrt(a) + math.sqrt(b)
r = math.sqrt(c)

if l<r:
    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
x,y,z=map(int,input().split())
r=math.sqrt(x)+math.sqrt(y)
b=math.sqrt(z)
print("Yes" if b>r else "No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math,itertools,fractions,heapq,collections,bisect,sys,queue,copy

sys.setrecursionlimit(10**7)
inf=10**20
mod=10**9+7
dd=[(-1,0),(0,1),(1,0),(0,-1)]
ddn=[(-1,0),(-1,1),(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1)]

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def I(): return int(sys.stdin.readline())
def LS(): return sys.stdin.readline().split()
def S(): return input()

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

  if 0<c*c+a*a+b*b-2*c*a+2*a*b-2*b*c-4*a*b:
    return 'Yes'
  if 4*a*b<c*c+a*a+b*b-2*c*a+2*a*b-2*b*c:
    return 'Yes'
  if 4*a*b-c*c<a*a+b*b-2*c*a+2*a*b-2*b*c:
    return 'Yes'
  if 4*a*b-c*c-a*a<b*b-2*c*a+2*a*b-2*b*c:
    return 'Yes'
  if 4*a*b-c*c-a*a-b*b<(-2)*c*a+2*a*b-2*b*c:
    return 'Yes'
  if 4*a*b-c*c-a*a-b*b+2*c*a<2*a*b-2*b*c:
    return 'Yes'
  if 4*a*b-c*c-a*a-b*b+2*c*a-2*a*b<(-2)*b*c:
    return 'Yes'
  if 4*a*b-c*c-a*a-b*b+2*c*a-2*a*b+2*b*c<0:
    return 'Yes'
  
  return 'No'

# main()
print(main())

Submission status: Wrong Answer

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


words = lambda t : list(map(t, input().split()))
a,b,c = words(int)
if Decimal(a).sqrt() + Decimal(b).sqrt() < Decimal(c).sqrt():
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from math import sqrt
a,b,c =(map(int,input().split()))
left = a+ b + 2*sqrt(a*b)
right = c
if left < right:
    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
a,b,c = list(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
 
A,B,C = input().split()
 
A_r = math.sqrt(int(A))
B_r = math.sqrt(int(B))

 
if int(A)+int(B)+2*A_r*B_r < int(C):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math

def main():
    a, b, c = input().split()
    a, b, c = int(a), int(b), int(c)
    
    if a + b + 2 * math.sqrt(a*b) <= c:
        print('Yes')
    else:
        print('No')


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

if b > a:
    temp = a
    a = b
    b = temp

res = c - a
res = res - b
temp = 4*a*b

if res**2 > temp:
    print ("Yes")
else:
    print ("No")

Submission status: Wrong Answer

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

def one_int():
    return int(input())

def one_str():
    return input()

def many_int():
    return list(map(int, input().split()))

import math

A, B, C = input_int()

migi = math.sqrt(C)

migi -=  math.sqrt(A)
migi -=  math.sqrt(B)



if 0 < migi:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math

ans = "No"

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

if math.sqrt(a) + math.sqrt(b) < math.sqrt(c):
    ans = "Yes"

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
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 sys
sys.setrecursionlimit(10**6)
from math import floor,ceil,sqrt,factorial,log
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 operator import itemgetter
from fractions import gcd
mod = 10 ** 9 + 7
inf = float('inf')
ninf = -float('inf')
 
#整数input
def ii(): return int(sys.stdin.readline().rstrip()) #int(input())
def mii(): return map(int,sys.stdin.readline().rstrip().split())
def limii(): return list(mii()) #list(map(int,input().split()))
def lin(n:int): return [ii() for _ in range(n)]
def llint(n: int): return [limii() for _ in range(n)]
#文字列input
def ss(): return sys.stdin.readline().rstrip() #input()
def mss(): return sys.stdin.readline().rstrip().split()
def limss(): return list(mss()) #list(input().split())
def lst(n:int): return [ss() for _ in range(n)]
def llstr(n: int): return [limss() for _ in range(n)]

#本当に貪欲法か？ DP法では？？
#本当に貪欲法か？ DP法では？？
#本当に貪欲法か？ DP法では？？

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

def i_s(n):
    def f(prev):
        while True:
            m = (prev + n / prev) / 2
            if m >= prev:
                return prev
            prev = m
    
    return f(int(sqrt(n) * (1 + 1e-10)))

if c > (a+b +i_s(4*a*b)):
    print("Yes")
else:
    print("No")

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:
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 + 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(a,b,c)
aa=a**0.5
bb=b**0.5
cc=c**0.5

if (round(aa,5) + round(bb,5)) < round(cc,5):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

c -= a + b

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

Submission status: Wrong Answer

Solution code:
from math import sqrt
from decimal import *
getcontext().prec = 64
a, b, c = map(Decimal,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())
if A ** 0.5 + B ** 0.5 - C ** 0.5 < 0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math 
  
# Recursive function that returns square root 
# of a number with precision upto 5 decimal places 
def Square(n, i, j): 
  
    mid = (i + j) / 2; 
    mul = mid * mid; 
  
    # If mid itself is the square root, 
    # return mid 
    if ((mul == n) or (abs(mul - n) < 0.00001)): 
        return mid; 
  
    # If mul is less than n, recur second half 
    elif (mul < n): 
        return Square(n, mid, j); 
  
    # Else recur first half 
    else: 
        return Square(n, i, mid); 
  
# Function to find the square root of n 
def findSqrt(n): 
    i = 1; 
  
    # While the square root is not found 
    found = False; 
    while (found == False): 
  
        # If n is a perfect square 
        if (i * i == n): 
            return i; 
            found = True; 
          
        elif (i * i > n): 
  
            # Square root will lie in the 
            # interval i-1 and i 
            res = Square(n, i - 1, i); 
            return res  
            found = True
        i += 1; 



a,b,c=map(int,input().split())
j=findSqrt(a)
k=findSqrt(b)
l=findSqrt(c)
if j+k<l:
    print("Yes")
else :
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
import math
def yes():
    print("Yes")
def no():
    print("No")

x = list(map(int, input().split()))

aSq = math.sqrt(x[0])
bSq = math.sqrt(x[1])
cSq = math.sqrt(x[2])

if aSq+bSq < cSq:
    yes()
else:
    no()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal

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

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

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

Submission status: Wrong Answer

Solution code:
import math
import copy
from copy import deepcopy
import sys
import fractions
# import numpy as np
from functools import reduce
# import statistics
import heapq
import collections
import itertools
sys.setrecursionlimit(100001)

# input = sys.stdin.readline
# sys.setrecursionlimit(10**6)

# ===FUNCTION===

def getInputInt():
    inputNum = int(input())
    return inputNum


def getInputListInt():
    outputData = []
    inputData = input().split()
    outputData = [int(n) for n in inputData]

    return outputData


def getSomeInputInt(n):
    outputDataList = []
    for i in range(n):
        inputData = int(input())
        outputDataList.append(inputData)

    return outputDataList


def getSomeInputListInt(n):
    inputDataList = []
    outputDataList = []
    for i in range(n):
        inputData = input().split()
        inputDataList = [int(n) for n in inputData]
        outputDataList.append(inputDataList)

    return outputDataList


# ===CODE===

# n, m = map(int, input().split())

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

left = math.sqrt(a) + math.sqrt(b)

if left < math.sqrt(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:
import math

a,b,c=(int(x) for x in input().split())
if math.sqrt(a)+math.sqrt(b)<math.sqrt(c):
    result="Yes"
else:
    result="No"
print(result)

Submission status: Wrong Answer

Solution code:
from decimal import *
import sys
a,b,c = map(int,input().split())
getcontext().prec = 1000
if Decimal(a).sqrt() + Decimal(b).sqrt() < Decimal(c).sqrt():
  print('Yes')
  sys.exit(0)
print('No')

Submission status: Wrong Answer

Solution code:
import math


def main():
    a, b, c = map(int, input().split())
    migi = 2*a*b
    hidari = (a**2) + (b**2) + (c**2) - (2*a*c) - (2*a*b) - (2*b*c)
    if 0 < hidari:
        print("Yes")
    else:
        print("No")
    return 0


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import math
from decimal import *

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:
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 decimal import *
getcontext().prec = 100

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

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

Submission status: Wrong Answer

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


def int_sqrt2(n):
    def f(prev):
        while True:
            m = (prev + n / prev) / 2
            if m >= prev:
                return prev
            prev = m
    
    return f(sqrt(n) * (1 + 1e-10))

_a = int_sqrt2(a)
_b = int_sqrt2(b)
_c = int_sqrt2(c)

if _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())
if(np.sqrt(a)+np.sqrt(b)<np.sqrt(c)):
  print("Yes")
elif(np.sqrt(a)+np.sqrt(b)==np.sqrt(c)):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

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

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

Submission status: Wrong Answer

Solution code:
def main():
    import math
    a, b, c = map(int, input().split())
    # a = math.sqrt(a)
    # b = math.sqrt(b)
    # c = math.sqrt(c)
    n = math.sqrt(a*b)

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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

if a**(1/2) + b**(1/2) - c**(1/2) < 1e-20:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
from math import sqrt

a, b, c = map(int, input().split())
A = sqrt(c) - (sqrt(a) + sqrt(b))
B = 0.0

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
list1=input().split(' ')
A=int(list1[0])
B=int(list1[1])
C=int(list1[2])
if(A**0.5+B**0.5-C**0.5<0):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

a_sqrt = math.sqrt(a)
b_sqrt = math.sqrt(b)
c_sqrt = math.sqrt(c)

if c_sqrt - a_sqrt - b_sqrt > 0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
 
import math
import itertools
import sys
import copy
#import numpy as np
 
# 入力
#A, B, C, D = map(int, input().split())
#L = list(map(int, input().split()))
#S = list(str(input()))
#N = int(input())
#S = str(input())

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

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

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
L = (a*b) ** 0.5
R = (c-a-b)/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:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a, b, c =map(int, input().split())
r = (c - a - b)/2
l = a * b
if r <= 0:
    print('No')
    exit()
ans = l < r * r

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

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

Solution code:
import math
 
A,B,C = map(int, input().split())
D = A * B 
if (D ** .5).is_integer():
  E = int(D ** 0.5)
  if A + B + (2*E) < C:
    print('Yes')
  else:
    print('No')
    
else:
  if A + B + 2*math.sqrt(A*B) < C:
    print('Yes')
  else:
    print('No')

Submission status: Wrong Answer

Solution code:
from math import sqrt
def Main(a, b, c):
    return "Yes" if sqrt(a)+sqrt(b)<sqrt(c) else "No"

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
a,b,c=map(float,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 = 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
a,b,c=map(int,input().split())

k=max(a,b,c)
a,b,c=a/k,b/k,c/k
if a+b+2*math.sqrt(a*b)<c:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

Solution code:
import math

def main():
    a, b, c = input().split()
    a, b, c = int(a), int(b), int(c)
    
    if a + b + 2 * math.sqrt(a*b) < c:
        print('Yes')
    else:
        print('No')


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
def main():
    import math
    import decimal
    a,b,c = map(int,input().split())
    cr = decimal.Decimal(math.sqrt(c))
    ar = decimal.Decimal(math.sqrt(a))
    br = decimal.Decimal(math.sqrt(b))
    #print(cr**2 - (ar+br)**2)
    if cr**2 - (ar+br)**2 > 0 :
        print("Yes")
    else:
        print("No")

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import math
from decimal import *
a, b, c = list(map(int, input().split()))
a_ = Decimal(Decimal(math.sqrt(a)) + Decimal(math.sqrt(b)) - Decimal(math.sqrt(c)))
#b_ = Decimal(math.sqrt(c))
if a_ < 0:
    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 a+b< c:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
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())


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

Submission status: Wrong Answer

Solution code:
import bisect,collections,itertools,math,numpy,string
def I(): return int(input())
def F(): return float(input())
def S(): return input()
def LI(): return list(map(int,input().split()))
##################################################
def main(a,b,c):
    if math.sqrt(a)+math.sqrt(b) < math.sqrt(c):
        return 'Yes'
    else:
        return 'No'
    
a,b,c = LI()
print(main(a,b,c))

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) :
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if (math.sqrt(a)**2+math.sqrt(b)**2) < math.sqrt(c)**2:
    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 sys
import numpy as np


def main():
    a, b, c = map(int, input().split())
    if c <= b or c <= a:
        print("No")
        sys.exit(0)

    left = 0
    right = np.sqrt(c) - np.sqrt(a) - np.sqrt(b)
    if left < right:
        print("Yes")
    else:
        print("No")


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
from decimal import *
import sys
a,b,c = map(int,input().split())
getcontext().prec = 100
if Decimal(a).sqrt() + Decimal(b).sqrt() < Decimal(c).sqrt():
  print('Yes')
  sys.exit(0)
print('No')

Submission status: Wrong Answer

Solution code:
import math

a, b, c = input().split()
a = round(math.sqrt(int(a)), 24)
b = round(math.sqrt(int(b)), 24)
c = round(math.sqrt(int(c)), 24)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

#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())

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

Submission status: Wrong Answer

Solution code:
n = input()
(A, B, C) = (n.split())
#a = int(input())
#b = int(input())
#c = int(input())
a = int(A)
b = int(B)
c = int(C)
x = a * a + b * b + c * c - 2 * a * c - 2 * b * c - 2 * a * b
if x > 0:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
import fractions
import bisect
import collections
import itertools
import heapq
import string
import sys
import copy
from decimal import *
from collections import deque
sys.setrecursionlimit(10**7)
MOD = 10**9+7
INF = float('inf') #無限大
def gcd(a,b):return fractions.gcd(a,b) #最大公約数
def lcm(a,b):return (a*b) // fractions.gcd(a,b) #最小公倍数
def iin(): return int(sys.stdin.readline()) #整数読み込み
def ifn(): return float(sys.stdin.readline()) #浮動小数点読み込み
def isn(): return sys.stdin.readline().split() #文字列読み込み
def imn(): return map(int, sys.stdin.readline().split()) #整数map取得
def imnn(): return map(lambda x:int(x)-1, sys.stdin.readline().split()) #整数-1map取得
def fmn(): return map(float, sys.stdin.readline().split()) #浮動小数点map取得
def iln(): return list(map(int, sys.stdin.readline().split())) #整数リスト取得
def iln_s(): return sorted(iln()) # 昇順の整数リスト取得
def iln_r(): return sorted(iln(), reverse=True) # 降順の整数リスト取得
def fln(): return list(map(float, sys.stdin.readline().split())) # 浮動小数点リスト取得
def join(l, s=''): return s.join(l) #リストを文字列に変換
def perm(l, n): return itertools.permutations(l, n) # 順列取得
def perm_count(n, r): return math.factorial(n) // math.factorial(n-r) # 順列の総数
def comb(l, n): return itertools.combinations(l, n) # 組み合わせ取得
def comb_count(n, r): return math.factorial(n) // (math.factorial(n-r) * math.factorial(r)) #組み合わせの総数
def two_distance(a, b, c, d): return ((c-a)**2 + (d-b)**2)**.5 # 2点間の距離
def m_add(a,b): return (a+b) % MOD

def sieves_of_e(n):
    is_prime = [True] * (n+1)
    is_prime[0] = False
    is_prime[1] = False
    for i in range(2, int(n**0.5)+1):
        if not is_prime[i]: continue
        for j in range(i * 2, n+1, i): is_prime[j] = False
    return is_prime

a,b,c = imn()
ma = Decimal("0.000000000000001")
mb = Decimal("0.000000000000001")
mc = Decimal("0.000000000000001")
ma = math.sqrt(a)
mb = math.sqrt(b)
mc = math.sqrt(c) 
if ma + mb < mc:
    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)<c:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from math import sqrt

a, b, c = map(int, input().split())
A = sqrt(c) - (sqrt(a) + sqrt(b))
B = 0.0

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

Submission status: Wrong Answer

Solution code:

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

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

Submission status: Wrong Answer

Solution code:
import math

a = []
for i in input().split(" "):
    a.append(math.sqrt(int(i)))


if a[0] +a[1] - a[2]< 0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
import math
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

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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
'''
ll a, b, c;
	cin >> a >> b >> c;
	ll left = 4 * a * b;
	ll right = (c - a - b) * (c - a - b);
	if (left < right) {
		cout << "Yes" << endl;
	} else {
		cout << "No" << endl;
	}
'''

s = input()
(a, b, c) = [int(str) for str in s.split()]
left = 4 * a * b
right = (c - a - b) * (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())

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())
eps = 1e-7
def nroot(a, n, x=1.0):
    while abs(a - x**n) > eps:
        x = ( (n-1)*x + a/(x**(n-1)) ) / n
    return x
  
a = nroot(a, 2)
b = nroot(b, 2)
c = nroot(c, 2)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from math import sqrt

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

k = (a + b + 2 * sqrt(a * b)) / c

if k < 1:
    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("No")
else:
  print("Yes")

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
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=a1/c1+b1/c1
#print(f1)
if(f1<1):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
# from math import sqrt
a,b,c = [int(j) for j in 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())
 
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 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())

moto = math.sqrt(a) + math.sqrt(b)
compare_ = math.sqrt(c)
if compare_ > moto:
    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
if c**10 > a_b**10:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import numpy

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

if float(a) + float(b) - float(c) + numpy.sqrt(a)*numpy.sqrt(b)*2.0 < 0.0:
    print("Yes")
    # print("{} {} {}".format(numpy.sqrt(a), numpy.sqrt(b), numpy.sqrt(c)))
else:
    print("No")
    # print("{} {} {}".format(numpy.sqrt(a), numpy.sqrt(b), numpy.sqrt(c)))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import numpy as np

Data = list(map(int,input().split()))
a= Data [0]
b=Data[1]
c= Data[2]
ab=np.sqrt(a*b)
left = np.sqrt(a)+np.sqrt(b)
right = np.sqrt(c)

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