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:
# -*- coding: utf-8 -*-
import sys
from decimal import *
sys.setrecursionlimit(10**9)
INF=10**18
MOD=10**9+7
def input(): return sys.stdin.readline().rstrip()

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

import numpy as np

a,b,c = map(int,input().split())
if  np.sqrt(np.float128(a)) + np.sqrt(np.float128(b)) + np.float128(1e-16) < np.sqrt(np.float128(c)) :
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:

import numpy as np

a,b,c = map(int,input().split())
if np.float128(1e-16) + np.sqrt(np.float128(a)) + np.sqrt(np.float128(b)) < np.sqrt(np.float128(c)) :
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
import sys
from decimal import *
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(Decimal,input().split())
    getcontext().prec=32
    if sqrt(a)+sqrt(b)<sqrt(c):
        print('Yes')
    else:
        print('No')

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
from math import sqrt
from decimal import *

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

tmp = 2 * sqrt(Decimal(a)) * sqrt(Decimal(b))
print("Yes" if c - a - b < 4 * a * b < (c - a - b) ** 2 else "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
from decimal import *
a,b,c = map(int,input().split())
getcontext().prec = 100
if Decimal(math.sqrt(a)) + Decimal(math.sqrt(b)) < Decimal(math.sqrt(c)): print("Yes")
else: print("No")

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!

import numpy as np

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

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
left = 4 * a * b
right = (c - a - b) ** 2
print('Yes' if left < right else '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
from decimal import *
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:
import numpy as np

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

Submission status: Wrong Answer

Solution code:
import math
import numpy

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

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

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

tmp = 2 * sqrt(Decimal(a)) * sqrt(Decimal(b))
print("Yes" if 4 * a * b < (c - a - b) ** 2 else "No")

Submission status: Wrong Answer

Solution code:
import numpy as np

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import sys

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

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

Submission status: Wrong Answer

Solution code:

from math import ceil, sqrt, floor


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


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

Submission status: Wrong Answer

Solution code:
import numpy as np
a, b, c = list(map(int, input().split()))
if np.sqrt(a**0.5) + np.sqrt(b**0.5) + 1.0E-14 < np.sqrt(c**0.5):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as np
a, b, c = list(map(int, input().split()))
if np.sqrt(a**0.5) + np.sqrt(b**0.5) < np.sqrt(c**0.5):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math
a, b, c = map(int, input().split())
ab = a * b
out = c - a - b
num = ((out)/2)**2
if out < 0:
  num = -num 
if ab < num:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a, b, c = map(int, input().split())
ab = a * b
out = c - a - b
num = ((out)/2)**2
if num < 0:
  num = -num 
if ab < num:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math
 
def resolve():
    A, B, C = map(int, input().split())
 
    if (math.sqrt(A) + math.sqrt(B)) ** 2 < C:
        print('Yes')
        return
 
    print('No')
 
 
resolve()

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

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

Submission status: Wrong Answer

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

if __name__ == '__main__':
    resolve()

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:

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a, b, c = map(int, input().split())
ab = a * b
out = c - a - b
if out < 0:
  out = -out
num = ((out)/2)**2
if ab < num:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
from math import sqrt
from decimal import *

getcontext().prec = 30000

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

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

Submission status: Wrong Answer

Solution code:
import numpy as np

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

print('YNeos'[np.sqrt(a)+np.sqrt(b)>=np.sqrt(c)::2])

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

getcontext().prec = 20000

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

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

Submission status: Wrong Answer

Solution code:
from math import sqrt
from decimal import *

getcontext().prec = 4000

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

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

Submission status: Wrong Answer

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

p = c - a - b

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

else:
  if p^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())
aa = math.sqrt(a)
bb = math.sqrt(b)
cc = math.sqrt(c)

if a  > c:
    print("No")
elif b > c:
    print("No")
else:
    ab = aa + bb
    if ab < cc:
        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())
if a+2*math.sqrt(a*b)+b<c:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

import sys

def input(): return sys.stdin.readline().strip()
def list2d(a, b, c): return [[c] * b for i in range(a)]
def list3d(a, b, c, d): return [[[d] * c for j in range(b)] for i in range(a)]
def list4d(a, b, c, d, e): return [[[[e] * d for j in range(c)] for j in range(b)] for i in range(a)]
def ceil(x, y=1): return int(-(-x // y))
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(N=None): return list(MAP()) if N is None else [INT() for i in range(N)]
def Yes(): print('Yes')
def No(): print('No')
def YES(): print('YES')
def NO(): print('NO')
sys.setrecursionlimit(10 ** 9)
INF = 10 ** 18
MOD = 10 ** 9 + 7

a, b, c = MAP()

if a * b < pow(c-a-b, 2):
    Yes()
else:
    No()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import *
import math
a,b,c = map(int,input().split())
a2 = Decimal(str(math.sqrt(Decimal(str(a)))))
b2 = Decimal(str(math.sqrt(Decimal(str(b)))))
c2 = Decimal(str(math.sqrt(Decimal(str(c)))))

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
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, decimal
a, b, c = map(int, input().split())
root_ab = math.sqrt(decimal.Decimal(a)) + math.sqrt(decimal.Decimal(b))
root_c = math.sqrt(decimal.Decimal(c))
if root_ab < root_c:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

if (c-a-b) < 0:
    print("No")
    exit()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import *
import math
a,b,c = map(int,input().split())
a2 = Decimal(str(math.sqrt(a)))
b2 = Decimal(str(math.sqrt(b)))
c2 = Decimal(str(math.sqrt(c)))

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import time
import itertools
from heapq import heappush, heappop
import heapq
import numpy as np
from collections import deque
from collections import defaultdict
from decimal import *
import bisect
import math
import sys
sys.setrecursionlimit(10 ** 7)

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines


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

getcontext().prec = 32

sa = Decimal(a) ** Decimal(0.5)
sb = Decimal(b) ** Decimal(0.5)
sc = Decimal(c) ** Decimal(0.5)

if sa + sb < sc:
    ans = 'Yes'
else:
    ans = 'No'

print(ans)
exit()

Submission status: Wrong Answer

Solution code:
from math import sqrt
from decimal import Decimal

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

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

Submission status: Wrong Answer

Solution code:
import math
import numpy as np
a,b,c = map(np.float64,input().split())
if math.sqrt(c) - math.sqrt(a) - math.sqrt(b) > 0:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import *
import math

getcontext().prec = 100 

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

l = (c-a-b)**2
r = 4*a*b

if c-a-b<0:
    print('Yes')
elif l>r:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal

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

'''
誤差でアウト
if math.sqrt(num[0]) + math.sqrt(num[1]) < math.sqrt(num[2]):
    print("Yes")
else:
    print("No")
'''


a = num[0]**0.5
b = num[1]**0.5
c = num[2]**0.5

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

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

Submission status: Wrong Answer

Solution code:
import math
x,y,z = map(int, input().split())

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

if z-x-y-ab>0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from math import sqrt
from decimal import *

getcontext().prec = 40000

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

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

Submission status: Wrong Answer

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

if 4*a*b - (c - a - b) ** 2 < 0:
    print("Yes")
    # print("{}, {}".format(4*a*b, (c - a - b) ** 2))
else:
    print("No")
    # print("{}, {}".format(4*a*b, (c - a - b) ** 2))
    # 249999999 250000000 999999998

Submission status: Wrong Answer

Solution code:
import math

ABC = input().split()

a = int(ABC[0])
b = int(ABC[1])
c = int(ABC[2])
#a = b = c = pow(10,9)

l2  = 4 * a * b
r = c - a - b
r2 = r * r

if l2 < r2:
    print("Yes")
else:
    print("No")

# if r > 0 :
#     if l2 < r2:
#         print("Yes")
#     else:
#         print("No")
# else:
#     if l2 > r2:
#         print("Yes")
#     else:
#         print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from math import sqrt

a, b, c = map(float, 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())

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

Submission status: Wrong Answer

Solution code:
import decimal

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

decimal.getcontext().prec = 1000
a=decimal.Decimal(a)
b=decimal.Decimal(b)
c=decimal.Decimal(c)
if(decimal.Decimal(2)*a.sqrt()*b.sqrt()<c-a-b):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a,b,c=map(float,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 math.sqrt(c) - math.sqrt(a) - math.sqrt(b) > 0:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
import decimal

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

decimal.getcontext().prec = 1000
a=decimal.Decimal(a)
b=decimal.Decimal(b)
c=decimal.Decimal(c)
print(decimal.Decimal(2)*a.sqrt()*b.sqrt())
print(c-a-b)
if(decimal.Decimal(2)*a.sqrt()*b.sqrt()<c-a-b):
    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:
s = input().split()
a, b, c = int(s[0]), int(s[1]), int(s[2])

if 4*a*b - (c - a - b) ** 2 < 0:
    print("Yes")
    # print("{}, {}".format(4*a*b, (c - a - b) ** 2))
else:
    print("No")
    # print("{}, {}".format(4*a*b, (c - a - b) ** 2))
    # 249999999 250000000 999999998

Submission status: Wrong Answer

Solution code:
import decimal

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

decimal.getcontext().prec = 100
a=decimal.Decimal(a)
b=decimal.Decimal(b)
c=decimal.Decimal(c)
if(decimal.Decimal(2)*a.sqrt()*b.sqrt()<c-a-b):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

cc=c**2
aa=a**2
bb=b**2
ab=2*math.sqrt(a*b)

if cc-aa-bb-ab>0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import decimal

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

decimal.getcontext().prec = 100
a=decimal.Decimal(a)
b=decimal.Decimal(b)
c=decimal.Decimal(c)
print(decimal.Decimal(2)*a.sqrt()*b.sqrt())
print(c-a-b)
if(decimal.Decimal(2)*a.sqrt()*b.sqrt()<c-a-b):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
from decimal import *
import math

getcontext().prec = 10000

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal

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

'''
誤差でアウト
if math.sqrt(num[0]) + math.sqrt(num[1]) < math.sqrt(num[2]):
    print("Yes")
else:
    print("No")
'''


a = num[0]**0.5
b = num[1]**0.5
c = num[2]**0.5

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
from math import sqrt
from decimal import *

getcontext().prec = 40

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

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
import sys
sys.setrecursionlimit(10000000)
INF = 1<<32

YES = "Yes"  # type: str
NO = "No"  # type: str

def solve(a: int, b: int, c: int):
    from decimal import Decimal
    from math import sqrt
    a,b,c = Decimal(a), Decimal(b), Decimal(c)

    if sqrt(a) + sqrt(b) < sqrt(c):
        print(YES)
    else:
        print(NO)
    return



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    a = int(next(tokens))  # type: int
    b = int(next(tokens))  # type: int
    c = int(next(tokens))  # type: int
    solve(a, b, c)

if __name__ == '__main__':
    main()

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
import sys
import math
from collections import defaultdict
from bisect import bisect_left, bisect_right

sys.setrecursionlimit(10**7)
def input():
    return sys.stdin.readline()[:-1]

mod = 10**9 + 7

def I(): return int(input())
def LI(): return list(map(int, input().split()))
def LIR(row,col):
    if row <= 0:
        return [[] for _ in range(col)]
    elif col == 1:
        return [I() for _ in range(row)]
    else:
        read_all = [LI() for _ in range(row)]
        return map(list, zip(*read_all))

#################

a,b,c = LI()

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

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
s = input().split()
a = Decimal(s[0])
b = Decimal(s[1])
c = Decimal(s[2])
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())
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 = [int(i) for i in input().split()]

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

print(left, right)

if left < right and (c - a - b) > 0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math

ABC = input().split()

a = int(ABC[0])
b = int(ABC[1])
c = int(ABC[2])
#a = b = c = pow(10,9)

l2  = 4 * a * b
r = c - a - b
r2 = r * r

if r > 0 :
    if l2 < r2:
        print("Yes")
    else:
        print("No")
else:
    if l2 > r2:
        print("Yes")
    else:
        print("No")

Submission status: Wrong Answer

Solution code:
#スペース区切りの整数の入力
A, B, C = map(int, input().split())

A = float(A)
B = float(B)
C = float(C)


A_sq = pow(A, 0.5)
B_sq = pow(B, 0.5)
C_sq = pow(C, 0.5)

if(A_sq+B_sq < C_sq):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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