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:
a,b,c = map(int, input().strip().split())
r = c-(a+b)
l = 4*a*b
if r < 0:
  print('No')
else:
  print('Yes' if l < r else 'No')

Submission status: Wrong Answer

Solution code:
import math

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

x = (math.sqrt(a) + math.sqrt(b)) ** 2
y = math.sqrt(c)** 2

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

Submission status: Wrong Answer

Solution code:
import math
import numpy

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')
elif (a + b) > c:
    print('No')

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

Solution code:
import math
import numpy
a,b,c =map(int,input().split())
d=math.sqrt(a)
e=math.sqrt(b)
f=math.sqrt(c)

if d+e<f:
  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) < 1e-10:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import numpy as np
def nroot(a, n, x=1.0, eps=1e-14):
    x = np.sqrt(a)
    while abs(a - x**n) > eps:
        x = ( (n-1)*x + a/(x**(n-1)) ) / n
    return x
a,b,c = map(int, input().split())

print(nroot(2,2))
if nroot(a,2) + nroot(b,2) < nroot(c,2) :
    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]

if c - a - b - 2.0 * math.sqrt(a * b) > 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])

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

sahen=a*b

uhen=pow((c-b-a)/2,2)



if sahen <uhen:
    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())


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

Submission status: Wrong Answer

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


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

Submission status: Wrong Answer

Solution code:
a,b,c=input().split()
from fractions import Fraction
if((Fraction(int(a)**(1/2))).limit_denominator(10**100)+(Fraction(int(b)**(1/2))).limit_denominator(10**100)<(Fraction(int(c)**(1/2))).limit_denominator(10**100)):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math
a,b,c=map(float,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())
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,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()
  _a=math.sqrt(a)
  _b=math.sqrt(b)
  _c=math.sqrt(c)
  ans=abs(_c-_a+_b)

  if 0<c*c+a*a+b*b-2*c*a+2*a*b-2*b*c-4*a*b:
    if ans<1e-4:
      return 'No'
    return 'Yes'
  
  return 'No'

# main()
print(main())

Submission status: Wrong Answer

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

from decimal import *

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

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

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

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

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

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

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

inf = float('inf')
mod = 1000000007

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

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

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

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


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

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

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

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

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

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

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

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

if __name__ == "__main__":
	main()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

lans = (math.sqrt(a) + math.sqrt(b)) ** 2


if lans < abs(c):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

siki = (a + b + c) * (a + b + c) - 4 * (a*c + a*b + c*b)

if siki > 0:
    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')
else:
    print('No')

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

# sqrt_ab = math.sqrt(a)+math.sqrt(b)
sqrt_ab = a ** 0.5 + b ** 0.5

if sqrt_ab < c ** 0.5:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if a == 0:
    if c > b:
        print('Yes')
    else:
        print('No')
elif b == 0:
    if c > a:
        print('Yes')
    else:
        print('No')
elif (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:
from math import sqrt
from decimal import Decimal

def nroot(x, s):
    for i in range(10):
        x = Decimal(Decimal(x)**2 + s) / (2 * Decimal(x))
    return x


a, b, c = map(int, input().split())
sqrt_a = nroot(sqrt(a), a)
sqrt_b = nroot(sqrt(b), b)
sqrt_c = nroot(sqrt(c), c)

if sqrt_a+sqrt_b < sqrt_c:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import numpy as np

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

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

Submission status: Wrong Answer

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


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

    if a >= b and a >= c:
        b /= a
        c /= a
        a = 1
    elif b >= a and b >= c:
        a /= b
        c /= b
        b = 1
    elif c >= a and c >= b:
        a /= c
        b /= c
        c = 1

    x = sqrt(c) - (sqrt(a) + sqrt(b))

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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import math
from decimal import *
x = list(map(int, input().split())) 
a = float(Decimal(math.sqrt(x[0])))
b = float(Decimal(math.sqrt(x[1])))
c = float(Decimal(math.sqrt(x[2])))

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


if abs(math.sqrt(a) + math.sqrt(b) - math.sqrt(c)) < 1e-20:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
roota = a / 2.0
rootb = b / 2.0
rootc = c / 2.0

epsilon=0.0001
while abs(roota**2-a)>=epsilon:
    roota = roota - ((roota**2-a)/(2*roota))
while abs(rootb**2-b)>=epsilon:
    rootb = rootb - ((rootb**2-b)/(2*rootb))
while abs(rootc**2-c)>=epsilon:
    rootc = rootc - ((rootc**2-c)/(2*rootc)) 
    
if roota + rootb < rootc:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math

s = input()

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

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

if r < math.sqrt(c):
	print("Yes")
else: 
	print("No")

Submission status: Wrong Answer

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

sahen = math.sqrt(a) + math.sqrt(b)
uhen = math.sqrt(c)

if sahen >= uhen:
  print("No")
else:
  print("Yes")

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; sys.setrecursionlimit(2147483647); input = sys.stdin.readline
from math import sqrt
def I(): return int(input())
def MI(): return map(int, input().split())

def main():
    a, b, c = MI()
    
    if abs(sqrt(a)+sqrt(b)) < abs(sqrt(c)):
        print('Yes')
    else:
        print('No')

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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


def main():

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

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

Submission status: Wrong Answer

Solution code:
import math

l = list(map(int, input().split()))
ra = math.sqrt(l[0])
rb = math.sqrt(l[1])
rc = math.sqrt(l[2])

if ra + rb < rc:
    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('No')
else:
    print('Yes')

Submission status: Wrong Answer

Solution code:

import numpy as np
a, b, c = map(int, input().split())
tmp1 = np.sqrt(a) + np.sqrt(b)
tmp2 = np.sqrt(c)

if 0 < tmp2 - tmp1:
    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 4*a*b < (c-a-b)**2:
  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 round(math.sqrt(c) - (math.sqrt(a) + math.sqrt(b)),50) > 0:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

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:
# c.py
import math
a, b, c = map(int, input().split())
if (a + b + (2 * round(math.sqrt(a * b), 4))) < c:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import numpy as np
a,b,c= map(int,input().split())
def fl(x):
    digits = 6
    form = '%.'+str(digits-1)+'e'
    return float((form % x))
if fl(np.sqrt(a)) + fl(np.sqrt(b)) < fl(np.sqrt(c)) :
    print('Yes')
else :
    print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
'''
Fuad Ashraful Mehmet
University of Asia Pacific,Bangladesh
Date:15th March 2020
'''


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


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

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

Submission status: Wrong Answer

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

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

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

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

if a + b + pow(a * b, .5) < c - pow(a * b, .5):
    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 as m
a, b, c = map(int, input().split())

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

Submission status: Wrong Answer

Solution code:
import numpy as np

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

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

if a_ + b_ < 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:
from decimal import Decimal
a, b, c = [int(x) for x in input().split()]

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

Submission status: Wrong Answer

Solution code:
import math

a, b, c = map(int, input().split())
k = math.sqrt(a)
l = math.sqrt(b)
m = math.sqrt(c)
if m > k + l:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from numpy import sqrt, isclose

a, b, c = map(int, input().split())
if a > c or b > c:
    print("No")
else:
    if isclose(sqrt(c) - (sqrt(a) + sqrt(b)), 0):
        print("Yes")
    else:
        print("No")

Submission status: Wrong Answer

Solution code:
import math

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

b = round(float(a[0] + a[1] - a[2]),20)
c = round(math.sqrt(a[0]) * math.sqrt( a[1]),20)
if b < c:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from numpy import sqrt

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from fractions import gcd
def input(): return sys.stdin.readline().strip()
def STR(): return input()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def S_MAP(): return map(str, input().split())
def LIST(): return list(map(int, input().split()))
def S_LIST(): return list(map(str, input().split()))
sys.setrecursionlimit(10 ** 9)
inf = sys.maxsize
mod = 10 ** 9 + 7

a, b, c = MAP()
ans = 'No'
num = pow(10, 4)
aa = (a - b - c) * a
bb = (b - c - a) * b
cc = (c - a - b) * c
if 0 < aa + bb + cc:
    ans = 'Yes'
print(ans)

Submission status: Wrong Answer

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

lans = (math.sqrt(a) + math.sqrt(b)) ** 2


if lans < c:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:

import math
def main():

    a, b, c = map(int, input().split())
    if (c-a-b) > pow(10, 5):
        if c-a-b > 2 * math.sqrt(a*b): return "Yes"
        return "No"
    if (c-a-b) * (c-a-b) > 4 * a * b: return "Yes"
    return "No"

if __name__ == '__main__':
    print(main())

Submission status: Wrong Answer

Solution code:
from decimal import *
a,b,c = map(int, input().split())
if Decimal(a**0.5+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())


import math
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 4*a*b < c**2 + a**2 + b**2 - 2*a*c - 2*c*b + 2*a*b:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

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

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = list(map(int, input().split()))
import math
k = a[0] ** 0.5 + a[1] ** 0.5 - a[2] ** 0.5
if k < 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])

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

Submission status: Wrong Answer

Solution code:
import math

a,b,c = list(map(int,input().split()))
print('Yes' if round(math.sqrt(a),30) + round(math.sqrt(b),30) < round(math.sqrt(c),30) 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:
#!/usr/bin/env python3
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())
roota = a / 2.0
rootb = b / 2.0
rootc = c / 2.0

epsilon=0.00000000000001
while abs(roota**2-a)>=epsilon:
    roota = roota - ((roota**2-a)/(2*roota))
while abs(rootb**2-b)>=epsilon:
    rootb = rootb - ((rootb**2-b)/(2*rootb))
while abs(rootc**2-c)>=epsilon:
    rootc = rootc - ((rootc**2-c)/(2*rootc)) 
    
if roota + rootb < rootc:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math
n, m, k = map(int, input().split())
if math.sqrt(m) < math.sqrt(k) - math.sqrt(n):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

if int(pow(a, 2)) + int(pow(b, 2)) + int(pow(c, 2)) - 2*a*b - 2*b*c - 2*c*a > 0 :
    print('Yes')
else :
    print('No')
#if a + 2 * pow(a*b, 0.5) + b < c :
#pow(a, 0.5) + pow(b, 0.5) < pow(c, 0.5)

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 = map(int, input().split())

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

Submission status: Wrong Answer

Solution code:
from math import sqrt
from decimal import Decimal

def nroot(x, s):
    for i in range(6):
        x = Decimal(Decimal(x)**2 + s) / (2 * Decimal(x))
    return x


a, b, c = map(int, input().split())
sqrt_a = nroot(sqrt(a), a)
sqrt_b = nroot(sqrt(b), b)
sqrt_c = nroot(sqrt(c), c)

if sqrt_a+sqrt_b < sqrt_c:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# FileName: 	C
# CreatedDate:  2020-03-14 21:31:08 +0900
# LastModified: 2020-03-14 21:43:43 +0900
#


import os
import sys
import math

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


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
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 fractions

import math

A, B, C = input_int()



a=[A,B,C]
max_num = int(math.sqrt(max(a))+1)
ans = A
for i in range(1, len(a)):
    ans = fractions.gcd(ans, a[i])

A //= ans
B //= ans
C //= ans

if ( A**(1/2) + B**(1/2) ) < C**(1/2):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
# スペース区切りの整数の入力
a, b, c = map(int, input().split())
# 計算
a = a**0.5
b = b**0.5
c = c**0.5
# 出力
if a + b < c :
  print('Yes')
else :
  print('No')

Submission status: Wrong Answer

Solution code:
import math
from decimal import *
x = list(map(int, input().split())) 
a = float(Decimal(math.sqrt(x[0])))
b = float(Decimal(math.sqrt(x[1])))
c = float(Decimal(math.sqrt(x[2])))

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
import sys
from math import sqrt
from numpy import isclose

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):
        if isclose(sqrt(a)+sqrt(b), sqrt(c), atol=1e-06):
            print('No')
        else:
            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):
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
#coding:utf-8
import math
a,b,c = map(int, input().split())
#ab = a + b + 2 * math.sqrt(a*b)
#print(ab)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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