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
a ,b ,c = map(int,input().split())
ra = (math.sqrt(a))
rb = (math.sqrt(b))
rc = (math.sqrt(c))

if ra + rb < rc:
    print("Yes")
elif ra + rb >= rc:
    print("No")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
m=a*b+b*c+c*a
if a**2+b**2+c**2-2*m>0:
    print('Yes')
else:
    print('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 numpy as np

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

root_a = np.sqrt(a)
root_b = np.sqrt(b)
root_c = np.sqrt(c)

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

Submission status: Wrong Answer

Solution code:
# import bisect
# import heapq
# from copy import deepcopy
# from collections import deque
# from collections import Counter
# from itertools import accumulate
# from itertools import permutations
import numpy as np
# import math
a,b,c = map(float, input().split())

# p = list(map(int, input().split()))

ans = 'No'

d = a * b
if (c-a-b)/2. > np.sqrt(d):
    ans = 'Yes'

print(ans)

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)

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

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal

A, B, C = map(int, 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:
abc = list(map(int, input().split()))

count = 0
while count ** 2 < abc[0]:
    count += 1
a = count - 1

count = 0
while count ** 2 < abc[1]:
    count += 1
b = count - 1

count = 0
while count ** 2 < abc[2]:
    count += 1
c = count - 1

if a + b < 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:
from math import pow
a,b,c = map(int,input().split())

d = pow(a,2) + pow(b,2) +pow(c,2) -2*(a*b + b*c + c*a)

if d>=1.0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as np

input_line = input()
Line = input_line.split()
Line = [float(s) for s in Line]
 
if float(np.sqrt(float(Line[0]))) + float(np.sqrt(float(Line[1]))) < float(np.sqrt(float(Line[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
from decimal import *
getcontext().prec = 30
A, B, C = map(Decimal, 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 = map(int,input().split())
if (math.sqrt(a) + math.sqrt(b))/math.sqrt(c) < 0:
    print('Yes')
else :
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

D=A**0.5+B**0.5-C**0.5
if D<0:
    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 4 * a*b < (c-a-b)**2:
        print('Yes')
    else:
        print('No')


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
 
x = list(map(int,input().split()))
a = math.sqrt(x[0])
b = math.sqrt(x[1])
c = math.sqrt(x[2])
if(a+b<c):
  print("yes")
else:
  print("None")

Submission status: Wrong Answer

Solution code:
import numpy
s = input().split()
a = float(s[0])
b = float(s[1])
c = float(s[2])
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(float, input().split())

if (a+b) + 2*(math.sqrt(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())
if a + sqrt(a)*sqrt(b) + b < c:
    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 sys
import math
import decimal
input = sys.stdin.readline

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



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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
import numpy as np

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

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)
ab = a + b
if c - ab > 0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math
a, b, c = map(int, input().split())
print('Yes' if (2 * math.sqrt(a) * math.sqrt(b)) < (c - a - b) else '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:
import sys
stdin = sys.stdin
mod = 10**9 + 7

def ns(): return stdin.readline().rstrip()
def ni(): return int(ns())
def na(): return list(map(int, stdin.readline().split()))


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

Submission status: Wrong Answer

Solution code:
import math

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

c = math.sqrt(c)

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import math
a, b, c = map(int, input().split())
flag = 0
if a**(1 / 2) + b**(1 / 2) < c**(1 / 2):
    flag = 1
elif a**(1 / 2) + b**(1 / 2) > c**(1 / 2):
    flag = 0
elif a + 2 * (a + b)**(1/2) + b < c:
    flag = 1
elif a + 2 * (a + b)**(1/2) + b > c:
    flag = 0

if flag == 1:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import numpy
from decimal import Decimal
a,b,c = map(int, input().split())
A = Decimal(str(numpy.sqrt(a)))
B = Decimal(str(numpy.sqrt(b)))
C = Decimal(str(numpy.sqrt(c)))
if A + B < C:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import sys
import math

args = sys.stdin.readline().split()
a = int(args[0])
b = int(args[1])
c = int(args[2])

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

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
from math import sqrt
def int_sqrt2(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-12)))
if int_sqrt2(a*b)<float(c-a-b)/float(2):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

Solution code:
import math
from decimal import *

getcontext().prec = 10 ** 15

a, b, c = map(int, input().split())
ra = Decimal(math.sqrt(a))
rb = Decimal(math.sqrt(b))
rc = Decimal(math.sqrt(c))

#print(ra + rb - rc)

if ra + rb - rc < 0:
    print('Yes')
elif ra + rb - rc == 0:
    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())
if (round(math.sqrt(a)*10000)+round(math.sqrt(b)*10000))<round(math.sqrt(c)*10000):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from math import sqrt

val = input().split(' ')
a = int(val[0])
b = int(val[1])
c = int(val[2])

# TODO このままだと、丸め桁数分間違いが発生する可能性がある
diff = sqrt(c) - sqrt(a) - sqrt(b)
result = 'Yes' if diff > 0 else 'No'
if diff > 0 and diff < 0.0000000000000010:
    result = 'No'
print(result)

Submission status: Wrong Answer

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

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

A = (c - (a + b))
Ap = A**2
B = 4 * a * b

if 0 <= A:
    if Ap < B:
        ans = 'No'

    else:
        ans = 'Yes'

elif Ap <= B:
    if Ap < B:
            ans = 'No'

    else:
        ans = 'Yes'

else:
    if Ap < B:
            ans = 'Yes'

    else:
        ans = 'No'

print(ans)

Submission status: Wrong Answer

Solution code:
import itertools
import math
import sys
import heapq
from collections import Counter
from collections import deque
from fractions import gcd
from functools import reduce
sys.setrecursionlimit(4100000)
from functools import lru_cache
INF = 1 << 60

#ここから書き始める
a, b, c = map(int, input().split())
x = a * a + b * b + c * c -2 * (a * b + b * c + c * a)
if c - a - b < 0:
    if x < 0:
        print("Yes")
    else:
        print("No")
elif c - a - b == 0:
    print("No")
else:
    if x > 0:
        print("Yes")
    else:
        print("No")
    # long
    # long
    # a, b, c;
    # cin >> a >> b >> c;
    # long
    # long
    # x = a * a + b * b + c * c + (a * b + b * c + c * a) * (-2);
    # if (c - a - b < 0){
    # if (x < 0){
    # cout << "Yes" << endl;
    # }
    # else {
    # cout << "No" << endl;
    # }
    # }
    # else if (c - a - b == 0){
    # cout << "No" << endl;
    # }
    # else {
    # if (x > 0)
    # {
    #     cout << "Yes" << endl;
    # }
    # else {
    #     cout << "No" << endl;
    # }
    # }

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c = map(float, input().split())
x = a ** (1 / 2)
y = b ** (1 / 2)
z = c ** (1 / 2)
if x + y - z < 0 or (x + y - z == 0 and x % 1 != 0 and y % 1 != 0):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s=input()
L=s.split(" ")
a=int(L[0])
b=int(L[1])
c=int(L[2])
if 2*a*b<c*c-c*a-c*b+a*a-c*a-b*c+b*b:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math

import numpy as np

input_line = input()
Line = input_line.split()
Line = [int(s) for s in Line]
 
if np.sqrt(float(Line[0])) + np.sqrt(float(Line[1])) < np.sqrt(float(Line[2])):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import numpy as np

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

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

def fl(x):
    digits = 5
    form = '%.'+str(digits-1)+'e'
    return float((form % x))

if fl(fl(math.sqrt(c)) - fl(math.sqrt(a)) - fl(math.sqrt(b))) > 0:
    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) < math.sqrt(c):
if a + b < c:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
def guess_sqrt(kk):
    epsilon = 0.00001
    guess = kk/2.0
    while abs(guess**2 - kk)>=epsilon:
        guess = guess - ((guess**2-kk)/(2*guess))
    
    return guess

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy

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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
sys.setrecursionlimit(1000000)
input = sys.stdin.readline
from bisect import *
from collections import *
from heapq import *
INF = 500000
mod = 10**9+7

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
import numpy

min = 0.00000000000000000000001
attemptLimits = 5000000
a , b , c = map(int,input().split())

# 解を求める関数
def targetFunc(x,y):
    return x**2 - y
 
# 導関数
def derivative(x):
    return 2.0*x      
 
def newtonMethod(a, min,y):
    for i in range(attemptLimits):
        # 漸化式
        ah = a - targetFunc(a,y)/derivative(a)
        
        # 収束条件
        if abs(a - ah) < min:break
        
        # 近似解の更新
        a = ah
    return a

a = newtonMethod(a,min,a)
b = newtonMethod(a,min,b)
c = newtonMethod(a,min,c)

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

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
routeA = pow(a,0.5)
routeB = pow(b,0.5)
routeC = pow(c,0.5)

if routeA + routeB < routeC:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math
s=list(map(int,input().split()))
a=s[0]**0.5
d=s[1]**0.5
e=a+d
b=s[2]**0.5
if e<b:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

if a == b:
  l = 4*a
  r = c
else:
  l = 4*a*b
  r = (c -(a+b))**2

if l < r:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
from math import sqrt
a, b, c = [float(_) for _ in input().split(" ")]
if (sqrt(a)+sqrt(b) < sqrt(c)):
  print("Yes")
else:
  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=list(map(lambda i:int(i),input().split()))
if(nroot(c,2) -(nroot(a,2)+nroot(b,2))) >0 :
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
import numpy as np

def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

a, b, c = MAP()

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

Submission status: Wrong Answer

Solution code:
import math
from decimal import *

getcontext().prec = 10 ** 15

a, b, c = map(int, input().split())
ra = Decimal(math.sqrt(a))
rb = Decimal(math.sqrt(b))
rc = Decimal(math.sqrt(c))

#print(ra + rb - rc)

if ra + rb - rc < 0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import sys
from decimal import *

rline = sys.stdin.readline


def solve():
    a, b, c = input().split()
    getcontext().prec = 160
    if Decimal.sqrt(Decimal(a)) + Decimal.sqrt(Decimal(b)) < Decimal.sqrt(Decimal(c)):
        print('Yes')
    else:
        print('No')


if __name__ == '__main__':
    solve()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

import sys


def LI():
    return list(map(int, sys.stdin.buffer.readline().split()))


def I():
    return int(sys.stdin.buffer.readline())


def LS():
    return sys.stdin.buffer.readline().rstrip().decode('utf-8').split()


def S():
    return sys.stdin.buffer.readline().rstrip().decode('utf-8')


def IR(n):
    return [I() for i in range(n)]


def LIR(n):
    return [LI() for i in range(n)]


def SR(n):
    return [S() for i in range(n)]


def LSR(n):
    return [LS() for i in range(n)]


def SRL(n):
    return [list(S()) for i in range(n)]


def MSRL(n):
    return [[int(j) for j in list(S())] for i in range(n)]

# ----------------------------------------------------------------


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

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

    # if 4 * a * b < (c - a - b)**2:
    #     print("Yes")
    # else:
    #     print("No")
        # p = math.sqrt(a) + math.sqrt(b)
        # q = math.sqrt(c)

        # if p < q:
        #     print("Yes")
        # else:
        #     print("No")

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


main()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
x = a*b*4
y = (c-a-b)**2

if x < y:
  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())
x=a**2+b**2+c**2+2*a*b-2*b*c-2*a*c
y=4*a*b
print('Yes' if x-y>0  else '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:
from math import sqrt

A, B, C = map(int, input().split())
if (A+B+2*sqrt(A)*sqrt(B) < C):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3 ## -*- python -*-
import math

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

ans = "No"
if c - a - b > 2 * math.sqrt(a)*math.sqrt(b):
    ans = "Yes"
print(ans)

Submission status: Wrong Answer

Solution code:
base = input().split()
a = int(base[0])
b = int(base[1])
c = int(base[2])
import math
key = math.sqrt(a*b)
ans = a**4+a**2*b**4+6*a**3*b+4*a**3*key+4*a**2*b*key+a**2*b**2+b**4+6*a*b**3+4*a*b**2*key+4*b**3*key+6*a**3*b+6*a*b**3+24*a**2*b*key+24*a*b**2*key+36*a**2*b**2+4*a**3*key+4*a*b**2*key+24*a**2*b*key+16*a**3*b+16*a*b**3+4*a**2*b*key+4*b**3*key+24*a*b**2*key+16*a**3*b+16*a*b**3
if ans<c**4:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from math import sqrt

val = input().split(' ')
a = int(val[0])
b = int(val[1])
c = int(val[2])

# TODO このままだと、丸め桁数分間違いが発生する可能性がある
diff = sqrt(c) - sqrt(a) - sqrt(b)
result = 'Yes' if diff > 0 else 'No'
if diff > 0 and diff < 0.0000000000000001:
    result = 'No'
print(result)

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()
	getcontext().prec = 100
	#print(Decimal(a).sqrt())

	if Decimal(Decimal(a).sqrt() + Decimal(b).sqrt()) <= Decimal(c).sqrt():
		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:
import math
a,b,c=map(int,input().split())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if a + b + 2 * np.sqrt(a*b) < c:
    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 = 2*(a * b + b*c + c*a )
right = a**2 + b**2 + c**2

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

Submission status: Wrong Answer

Solution code:
def main():
    a,b,c = map(int,input().split())
    left = (a)+(b)+2*pow(a*b,0.5)
    right = c

    if left < right:
        print('Yes')
        return

    print('No')


main()

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
if round(pow(a,0.5),10)+round(pow(b,0.5),10)<round(pow(c,0.5),10):
  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 <0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

a,b,c = map(int,input().split())
#Sif (math.sqrt(a) + math.sqrt(b)) < math.sqrt(c):
if math.sqrt(c) - (math.sqrt(a) + math.sqrt(b)) > 0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

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



if (decimal.Decimal(math.sqrt(a)) + decimal.Decimal(math.sqrt(b)) - decimal.Decimal(math.sqrt(c))) < 0:
    print("Yes")
else:
    print("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])
e=Decimal(math.sqrt(a))
f=Decimal(math.sqrt(b))
g=Decimal(math.sqrt(c))
if(e+f==g):
  print('No')
elif(e+f>g):
  print('No')
else:
  print('Yes')

Submission status: Wrong Answer

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

if (a+b) == c:
	print('No')

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