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

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 sys
int1 = lambda x: int(x) - 1
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(500000)

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


def int_sqrt2(n):

    def f(prev):
        while True:
            m = (prev + n / prev) / 2
            if m >= prev:
                return prev
            prev = m

    return f(int(pow(n, 2) * (1 + 1e-10)))


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

Submission status: Wrong Answer

Solution code:
import math

if __name__ == "__main__":
    A, B, C = map(int, input().split())

    if math.sqrt(math.sqrt(A) + math.sqrt(B)) < math.sqrt(C):
        ret = "Yes"
    else:
        ret  = "No"

    print(ret)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a, b, c = map(int,input().split())
left = 4 * a * b
num = c - a - b
right = num * num

if num <= 0:
    print("No")

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal

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

a2=a**0.5
b2=b**0.5
c2=c**0.5

if Decimal(a2+b2)<Decimal(c2):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a,b,c = [int(i)*10**9 for i in 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(c) - math.sqrt(a) - math.sqrt(b) > 0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


getcontext().prec = 1
getcontext().rounding
a, b, c = map(int, input().split())
if round(sqrt(a), 2) + round(sqrt(b), 2) < round(sqrt(c), 2):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
from math import sqrt

A, B, C = map(int, input().split())
if sqrt(A) + sqrt(B) - sqrt(C) < 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):
    ans = 'Yes'
else:
    ans = 'No'

print(ans)

Submission status: Wrong Answer

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

k = max([float(np.abs(a)), float(np.abs(b))])

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

Submission status: Wrong Answer

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

a_s = a**0.5
b_s = b**0.5
c_s = c**0.5

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
import decimal
a,b,c=map(int,input().split())
def nroot(a, n=2, x=1.0, eps=1e-7):
    while abs(a - x**n) > eps:
        x = ( (n-1)*x + a/(x**(n-1)) ) / n
    return x

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

Submission status: Wrong Answer

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


if Z > 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 math
 
a,b,c = list(map(int,input().split()))
a,b,c = abs(a) , abs(b), abs(c)
lab = a ** 0.5 + b ** 0.5

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

Submission status: Wrong Answer

Solution code:
import sys
import os
import math
from decimal import Decimal


def main():
    if os.getenv("LOCAL"):
        sys.stdin = open("input.txt", "r")

    a, b, c = list(map(int, sys.stdin.readline().split()))
    # print(Decimal(math.sqrt(a)), Decimal(math.sqrt(b)), Decimal(math.sqrt(c)))
    # print(Decimal(math.sqrt(a))+ Decimal(math.sqrt(b)), Decimal(math.sqrt(c)))

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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import numpy as np
import decimal

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

Submission status: Wrong Answer

Solution code:
import math
[_a,_b,_c] = [int(i) for i in input().split()]
a,b,c = [math.sqrt(i) for i in [_a,_b,_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())
if math.sqrt((a*b)) < (c - a - b) / 2:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if int(a**0.5)+int(b**0.5) < int(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' if math.sqrt(a)+math.sqrt(b) < math.sqrt(c) else 'No')

Submission status: Wrong Answer

Solution code:
import math

k = input()
c = k.split(' ')

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print("Yes" if a**0.5*10**9+b**0.5*10**9 < c**0.5*10**9 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)):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import numpy as np

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

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

print(ans)

Submission status: Wrong Answer

Solution code:
from math 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:
from decimal import *
import sys
a,b,c = map(int,input().split())
getcontext().prec = 10000
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 = map(int, input().split())
A, B, C = math.sqrt(a), math.sqrt(b), math.sqrt(c)
print(A, B, C)
if a + b < c:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math
in_list = list(map(float,input().split()))
if (math.sqrt(int(in_list[0])) + math.sqrt(int(in_list[1]))) < math.sqrt(int(in_list[2])):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
import numpy

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

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

Submission status: Wrong Answer

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

ans = (a + 2*((a*b)**0.5) + b) < c
print('Yes' if ans else 'No')

Submission status: Wrong Answer

Solution code:
from math import sqrt
a,b,c=map(int,input().split())
x=c-(a+b)
y=a*b
x*=x
if(4*y<x):
    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:


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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from math import sqrt

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

if (n + m - l)**2  < 4*(n*m):
    print('Yes')

else:
    print('No')

Submission status: Wrong Answer

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

if a + b - c + 2 * (a*b)**(1/2) < 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:
# -*- coding: utf-8 -*-
import numpy as np
# スペース区切りの整数の入力
a, b, c = map(int, input().split())
# 出力
if np.sqrt(a) + np.sqrt(b) < np.sqrt(c) :
  print('Yes')
else :
  print('No')

Submission status: Wrong Answer

Solution code:
import numpy

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

s=a+b+2*numpy.sqrt(a*b)


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

print(ans)

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
L = a ** 0.5 + b ** 0.5
R = c ** 0.5
if L < R:
    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)
"""
left = a+b+2*np.sqrt(a*b)
right = c

#print(np.sqrt(a)+np.sqrt(b)-np.sqrt(c))
#print(left-right)

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

print(math.sqrt(b))

Submission status: Wrong Answer

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

if a**(1/2) + b**(1/2) - c**(1/2) > 1e-100:
    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 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())
#print(math.sqrt(2))
#print(math.sqrt(3))
#print(math.sqrt(9))
if c-(a+b)<0:
    print("No")
else:
    if a*b<((c-(a+b))**2)/4:
        #print(((c-(a+b))**2)/4)
        print("Yes")
    else:
        print("No")

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
import sys
from math import sqrt
sys.setrecursionlimit(10**9)
INF=10**18
MOD=10**9+7
def input(): return sys.stdin.readline().rstrip()

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import sys
import math
from functools import reduce
from operator import mul
sys.setrecursionlimit(10**6)

def InMap(): return list(map(int, sys.stdin.readline().split(' ')))
def In(): return int(sys.stdin.readline())
def InS(): return sys.stdin.readline()

a,b,c = InMap()
calc = 4 * a * b
calc2 = c-a-b
calc2 *= calc2

if(calc < calc2):
    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())
Y = (c-a-b)*(c-a-b)-4*a*b
if 0 < Y:
    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('No')
else:
  print('Yes')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import sys
sys.setrecursionlimit(1000000000)
import math
from fractions import gcd
def lcm(a, b): return a * b // gcd(a, b)
from itertools import count, permutations
from functools import lru_cache
from collections import deque, defaultdict
from pprint import pprint
ii = lambda: int(input())
mis = lambda: map(int, input().split())
lmis = lambda: list(mis())
INF = float('inf')
N1097 = 10**9 + 7

def meg(f, ok, ng):
    while abs(ok-ng)>1:
        mid = (ok+ng)//2
        if f(mid):
            ok=mid
        else:
            ng=mid
    return ok

def get_inv(n, modp):
    return pow(n, modp-2, modp)

def factorials_list(n, modp):    # 10**6
    fs = [1]
    for i in range(1, n+1):
        fs.append(fs[-1] * i % modp)
    return fs

def invs_list(n, fs, modp):     # 10**6
    invs = [get_inv(fs[-1], modp)]
    for i in range(n, 1-1, -1):
        invs.append(invs[-1] * i % modp)
    invs.reverse()
    return invs

def comb(n, k, modp):
    num = 1
    for i in range(n, n-k, -1):
        num = num * i % modp
    den = 1
    for i in range(2, k+1):
        den = den * i % modp
    return num * get_inv(den, modp) % modp

def comb_from_list(n, k, modp, fs, invs):   
    return fs[n] * invs[n-k] * invs[k] % modp

#

class UnionFindEx:
    def __init__(self, size):
        #正なら根の番号、負ならグループサイズ
        self.roots = [-1] * size
    def getRootID(self, i):
        r = self.roots[i]
        if r < 0:   #負なら根
            return i
        else:
            r = self.getRootID(r)
            self.roots[i] = r
            return r
    def getGroupSize(self, i):
        return -self.roots[self.getRootID(i)]
    def connect(self, i, j):
        r1, r2 = self.getRootID(i), self.getRootID(j)
        if r1 == r2:
            return False
        if self.getGroupSize(r1) < self.getGroupSize(r2):
            r1, r2 = r2, r1
        self.roots[r1] += self.roots[r2]    #サイズ更新
        self.roots[r2] = r1
        return True

Yes = 'Yes'
No = 'No'

def main():
    a,b,c=mis()
    print(Yes if 4*a*b < (c-b-a)**2 else No)




main()

Submission status: Wrong Answer

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


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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
from sys import stdin
import math as m
input = stdin.readline

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


if m.sqrt(a) + m.sqrt(b) < m.sqrt(c):
  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)


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

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

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

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

    print(res)



main()

Submission status: Wrong Answer

Solution code:
import math

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

#print(a1)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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())
from math import sqrt
def int_sqrt(n):
    def f(prev):
        while True:
            m = (prev + n / prev) / 2
            if m >= prev:
                return prev
            prev = m
    
    return f(n)
if 2*(int_sqrt(a*b))<c-a-b:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from decimal import *
getcontext().prec = 11
#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')

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math 
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:
from math 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:
from math 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())
if (a**(1/2))+(b**(1/2))<(c**(1/2)):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

def int_sqrt(n):
    def f(prev):
        while True:
            m = (prev + n / prev) / 2
            if m >= prev:
                return prev
            prev = m
    
    return f(n)

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8

import math

# 標準入力 <int><int>
a, b, c = map(int, input().split())

ans = "No"

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

print(ans)

Submission status: Wrong Answer

Solution code:
import math
a,b,c=map(int,input().split())
k=int(c-a-b)
if 2*math.sqrt(a*b) < k:
    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(str(math.sqrt(a)))
b = Decimal(str(math.sqrt(b)))
c = Decimal(str(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())
import math
from fractions import Fraction
if  Fraction(c/a)-1-Fraction(b/a)-2*math.sqrt(Fraction(b/a))>0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if b<0 or c<0:
    print("No")
elif 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())

a2= a ** 2
b2= b ** 2
c2= c ** 2
ab= a*b
ac= a*c
bc= b*c

#print(a2,b2,c2)

if a2 + b2 + c2 -2 * (ab + ac + bc) > 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, dtype = "float128")
b = np.array(b, dtype = "float128")
c = np.array(c, dtype = "float128")

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= list(map(float,input().strip().split()))
d=math.sqrt(a)+math.sqrt(b)
e=math.sqrt(c)
if(d<=e):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

from decimal import *

getcontext().prec = 30      # デフォルト28桁のところを20桁にする
# m = int(Decimal(n).sqrt())
# print m ** 2 - n            # -2222221948

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

def gcd(n,m):
    while m:
        n,m = m, n%m
    return n

def lcm(n,m):
    return n*m//gcd(n,m)


def main():
    # N = int(input())
    A,B,C = linput()
    # vA = linput()
    # S = input()
    # mX = [linput() for _ in [0,]*N]

    # res = 0
    # res = -(-N//M)

    # LH = A**.5 + B**.5
    # RH = C**.5

    rtAB = int(Decimal(A*B).sqrt())
    LH = A + B + 2 * rtAB
    RH = C

    res = ("No","Yes")[LH < RH]

    print(res)

main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a,b,c=map(int,input().split())
left=4*a*b
right=(a*a + b*b + c*c + 2*a*b -2*b*c -2*c*a)

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

Submission status: Wrong Answer

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

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())
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 = [ int(v) for v in input().split() ]


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

Submission status: Wrong Answer

Solution code:
from math import sqrt
a, b, c = [float(x) for x in input().split()]
a = sqrt(a)
b = sqrt(b)
c = sqrt(c)
if c > a + b:
    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 = list(map(int, input().split()))
if int(math.sqrt(a) + math.sqrt(b)) < int(math.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()]

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c = list(map(int,input().split()))
if a**2 + b**2 + c**2 -2*c*a -2*a*b -2*b*c >0:
  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:
    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)
ans = c - a - b

if ans > 0:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math

a,b,c=map(int,input().split())
x=a+b-c+2*math.sqrt(a*b)

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

Submission status: Wrong Answer

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

if a**(1/2) + b**(1/2) - c**(1/2) < 1e-100:
    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())

d=round(2*math.sqrt(a*b),3)
left=a+b+d
right=c

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from math import sqrt

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

Submission status: Wrong Answer

Solution code:
from math 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:
import math

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

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

if ab < c:
    print("Yes")

else :
    print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
[_a,_b,_c] = input().split()

for i in [_a,_b,_c]:
  if not (1 <= int(i) <= 10**9):
    print("No")

a,b,c = [math.sqrt(float(i)) for i in [_a,_b,_c]]

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