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
def main():
    a,b,c = map(int,input().split())
    ra = math.sqrt(a)
    rb = math.sqrt(b)
    rc = math.sqrt(c)
    r = c - a - b
    l = 2*math.sqrt(a*b)
    if r < 2:
        print('No')
        return
    if l < r:
        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 math.sqrt(a) + math.sqrt(b) < math.sqrt(c):
    ans = 'Yes'
else:
    ans = 'No'
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
def main():
    a,b,c = map(int,input().split())
    ra = math.sqrt(a)
    rb = math.sqrt(b)
    rc = math.sqrt(c)
    if ra + rb < rc:
        print('Yes')
    else:
        print('No')
if __name__=='__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c = list(map(int, input().split()))
ra = float(a ** 0.5)
rb = float(b ** 0.5)
rc = float(c ** 0.5)

if ra + rb < rc:
  print('Yes')
elif rc - (ra + rb) > 0.1** 20 and rc - (ra + rb) < 0.1 ** 10:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c = list(map(int, input().split()))
ra = float(a ** 0.5)
rb = float(b ** 0.5)
rc = float(c ** 0.5)

if ra + rb < rc:
  print('Yes')
elif rc - (ra + rb) > 10 ** -20 and rc - (ra + rb) < 10 ** -10:
  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:
a, b, c = list(map(int, input().split()))
ra = float(a ** 0.5)
rb = float(b ** 0.5)
rc = float(c ** 0.5)

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

Submission status: Wrong Answer

Solution code:
import sys
import math
def input(): return sys.stdin.readline().rstrip()

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import sys
import math
def input(): return sys.stdin.readline().rstrip()

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
t = map(int, input().split())
t = list(t)
e = 1.0e-14
a = math.sqrt(t[0])
b = math.sqrt(t[1])
c = math.sqrt(t[2])


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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split(" "))
ab = a*b
if c-(a+b)<0:
    print("No")
else:
    if 2*(ab**0.5)<c-(a+b):
        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:
from decimal import *
a, b, c = map(int, input().split())
l, r = Decimal(a**0.5) + Decimal(b**0.5), Decimal(c**0.5)
print("Yes") if l < r else print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# 各条件の入力
a, b, c = map(int, input().split())

# 答えの出力
import math

"""
素直にやると誤差で死ぬ
if math.sqrt(a) + math.sqrt(b) < math.sqrt(c):
    ans = 'Yes'
else:
    ans = 'No'
"""


# 整数でやる
left = a + b + (math.sqrt(a*b))*2
right = c

left2 = ((math.sqrt(a*b))*2) **2
right2 = (c - a - b) **2

if (c - a - b) < 0:
    ans = 'No'
elif left2 < right2:
    ans = 'Yes'
else:
    ans = 'No'

# 出力
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/python3
# -*- coding:utf-8 -*-

from math import sqrt

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
a,b,c=map(float,input().split())

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
a,b,c=map(float,input().split())

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math as mt
num=list(map(int,input().split()))
num_r=[mt.sqrt(i) for i in num]
if num_r[0]+num_r[1]<num_r[2]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as np
num=list(map(int,input().split()))
num_r=[np.sqrt(i) for i in num]
if num_r[0]+num_r[1]<num_r[2]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from decimal import Decimal, getcontext

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

sq_a = Decimal(a).sqrt()
sq_b = Decimal(b).sqrt()
sq_c = Decimal(c).sqrt()

# eps = Decimal(10) ** (-100)

cond = sq_a + sq_b  < sq_c
answer = 'Yes' if cond else 'No'
print(answer)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

# root(a) + root(b) < root(c) ??
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())
# err = 1e-16
# if c - a - b - 2 * (a*b)**0.5 == 0:
#     print("No")
# elif c - a - b - 2 * (a*b)**0.5 > err:
#     print("Yes")
# else:
#     print("No")
# print(round(c - a - b - 2 * (a*b)**0.5, 10))
if round(c - a - b - 2 * (a*b)**0.5, 10) > 0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
err = 1e-16
if c - a - b - 2 * (a*b)**0.5 == 0:
    print("No")
elif abs(c - a - b - 2 * (a*b)**0.5) > err:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a,b,c = map(int,input().split())
err = 1 / 1e16
if c - a - b - 2 * (a*b)**0.5 == 0:
    print("No")
elif c - a - b - 2 * (a*b)**0.5 > -err:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a, b, c = [int(s) for s in input().split()]
if 4 * a * b < (c - a - b) ** 2:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math

a, b, c = [int(s) for s in input().split()]
if math.sqrt(a) + math.sqrt(b) < math.sqrt(c):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

# print(a**0.5, b**0.5)
# print(c**0.5)

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import sys
readline = sys.stdin.buffer.readline
import math
from decimal import *
a,b,c = map(int,readline().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:
a,b,c = map(int,input().split())
if 2 * (a*b) ** 0.5 < c-a-b:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import sys
readline = sys.stdin.buffer.readline
import math
from decimal import *
a,b,c = map(int,readline().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:
import math

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


if abs(c-a-b) < 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()))

"""
a ** 0.5 + b ** 0.5 < c ** 0.5
a + 2(a*b) ** 0.5 + b < c
(a*b) ** 0.5 < (c - a -b)/2
a*b < (c-a-b)*2/4
"""

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

Submission status: Wrong Answer

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

"""
a ** 0.5 + b ** 0.5 < c ** 0.5
a + 2(a*b) ** 0.5 + b < c
(a*b) ** 0.5 < (c - a -b)/2
a*b < (c-a-b)**2/4
"""

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

Submission status: Wrong Answer

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

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

if (4*a*b < x*x):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math
import sys
a, b, c = map(int,input().split())
a = math.sqrt(a)
b = math.sqrt(b)
c = math.sqrt(c)
e = sys.float_info.epsilon
if a + b + e < c:
    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)) * (C-(A+B))

plus = True if (C-(A+B)) >= 0 else False

if plus and left < right:
  print("Yes")
elif not plus and left > right:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

"""
a ** 0.5 + b ** 0.5 < c ** 0.5
a + 2(a + b) ** 0.5 + b < c
(a + b) ** 0.5 < (c - a -b)/2
a + b < (c-a-b)**2/4
"""

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a,b,c = list(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 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())
p=max(0,c-a-b)
q=max(4*a*b,p**2)
if q==p**2:
	print('Yes')
else:
	print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

Solution code:
from math import sqrt

n, m, l = map(int, input().split())
left = n+m-1
if left > 0 and left**2  > 4*(n*m):
    print('Yes')

else:
    print('No')

Submission status: Wrong Answer

Solution code:
a,b,c=map(float,input().split())
from math import sqrt
def fl(x):
    digits = 9
    form = '%.'+str(digits-1)+'e'
    return float((form % x))
def int_sqrt2(n):
    def f(prev):
        while True:
            m = (prev + n / prev) / 2
            if m >= prev:
                return prev
            prev = m
    
    return f(int(sqrt(n) * (1 + 1e-10)))
if int_sqrt2(float(fl(a)*fl(b)))<float(fl(fl(c-a)-b))/float(4):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

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())
if Decimal((a+b+2*math.sqrt(a*b))/c)<Decimal(1):
  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((a+b+2*math.sqrt(a*b))/c)<1:
  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
def LI():
	return [ int(s) for s in input().split() ]

a,b,c = LI()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
import numpy as np 

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,copy,functools
import time,random

sys.setrecursionlimit(10**7)
inf = 10**20
eps = 1.0 / 10**10
mod = 10**9+7
mod2 = 998244353
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 list(map(int, sys.stdin.readline().split()))
def LLI(): return [list(map(int, l.split())) for l in sys.stdin.readlines()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
def pf(s): return print(s, flush=True)
def pe(s): return print(str(s), file=sys.stderr)
def JA(a, sep): return sep.join(map(str, a))
def JAA(a, s, t): return s.join(t.join(map(str, b)) for b in a)


def main():
    a = LI()
    t = []
    for c in a:
        c *= inf
        s = int(c**0.5)
        for i in range(s-1,s+3):
            if i*i > c:
                t.append(i)
                break

    if t[0]+t[1] < t[2]:
        return "Yes"

    return "No"


print(main())

Submission status: Wrong Answer

Solution code:
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,copy,functools
import time,random

sys.setrecursionlimit(10**7)
inf = 10**20
eps = 1.0 / 10**10
mod = 10**9+7
mod2 = 998244353
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 list(map(int, sys.stdin.readline().split()))
def LLI(): return [list(map(int, l.split())) for l in sys.stdin.readlines()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
def pf(s): return print(s, flush=True)
def pe(s): return print(str(s), file=sys.stderr)
def JA(a, sep): return sep.join(map(str, a))
def JAA(a, s, t): return s.join(t.join(map(str, b)) for b in a)


def main():
    a,b,c = LI()
    a *= inf
    b *= inf
    c *= inf
    if a+b+(2*(a**0.5)*(b**0.5)) < c:
        return "Yes"

    return "No"


print(main())

Submission status: Wrong Answer

Solution code:
import math
a,b,c = (int(i) for i in input().split())
if c-a-b <= 2:
  print("No")
  exit()
else:
  if c-a-b - 2*math.sqrt(a*b) > 0:
    print("Yes")
  else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,copy,functools
import time,random

sys.setrecursionlimit(10**7)
inf = 10**20
eps = 1.0 / 10**10
mod = 10**9+7
mod2 = 998244353
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 list(map(int, sys.stdin.readline().split()))
def LLI(): return [list(map(int, l.split())) for l in sys.stdin.readlines()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
def pf(s): return print(s, flush=True)
def pe(s): return print(str(s), file=sys.stderr)
def JA(a, sep): return sep.join(map(str, a))
def JAA(a, s, t): return s.join(t.join(map(str, b)) for b in a)


def main():
    a,b,c = LI()
    if a+b+(2*(a**0.5)*(b**0.5)) < c:
        return "Yes"

    return "No"


print(main())

Submission status: Wrong Answer

Solution code:
a, b, c = map(int,input().split())
R, L = 10**9, 0
mod = 10**9+7
while L < R:
    if (a*b)%mod < (((R+L)//2)**2)%mod:
        R = (R+L)//2 - 1
    else:
        L = (R+L)//2
if a==b:
    if 4*a < c:
        print("Yes")
    else:
        print("No")
else:
    if a+b+2*R+1<= c:
        print("Yes")
    else:
        print("No")

Submission status: Wrong Answer

Solution code:
a, b, c = map(int,input().split())
R, L = 10**9, 0
while L < R:
    if a*b < ((R+L)//2)**2:
        R = (R+L)//2 - 1
    else:
        L = (R+L)//2
if a==b:
    if 4*a < c:
        print("Yes")
    else:
        print("No")
else:
    if a+b+2*R+1<= c:
        print("Yes")
    else:
        print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

sr = lambda: sys.stdin.readline().rstrip()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))

A, B, C = lr()
flag = (A + B - C < -2 * (A*B)**.5)
print('Yes' if flag 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:
A, B, C = map(int, input().split())

def intSqrt(n):
    M = int(n**0.5)

    while (M + 1)**2 <= n:
        M += 1

    for _ in range(3000):
        n *= 100
        M *= 10
        for add in range(0, 10)[:: -1]:
            if (M + add)**2 <= n:
                M += add
                break

    return M

if intSqrt(A) + intSqrt(B) < intSqrt(C):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

def intSqrt(n):
    M = int(n**0.5)

    while (M + 1)**2 <= n:
        M += 1

    for _ in range(3000):
        n *= 100
        M *= 10
        for add in range(0, 10)[:: -1]:
            if (M + add) * (M + add) <= n:
                M += add
                break

    return M

if intSqrt(A) + intSqrt(B) < intSqrt(C):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

def intSqrt(n):
    M = int(n**0.5)

    while (M + 1)**2 <= n:
        M += 1

    for _ in range(2000):
        n *= 100
        M *= 10
        for add in range(0, 10)[:: -1]:
            if (M + add) * (M + add) <= n:
                M += add
                break

    return M

if intSqrt(A) + intSqrt(B) < intSqrt(C):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

def intSqrt(n):
    M = int(n**0.5)

    while (M + 1)**2 <= n:
        M += 1

    for _ in range(500):
        n *= 100
        M *= 10
        for add in range(0, 10)[:: -1]:
            if (M + add) * (M + add) <= n:
                M += add
                break

    return M

if intSqrt(A) + intSqrt(B) < intSqrt(C):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

def intSqrt(n):
    M = int(n**0.5)

    while (M + 1)**2 <= n:
        M += 1

    for _ in range(500):
        n *= 100
        M *= 10
        for add in range(0, 10)[:: -1]:
            if (M + add)**2 <= n:
                M += add
                break

    return M

if intSqrt(A) + intSqrt(B) < intSqrt(C):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

def intSqrt(n):
    M = int(n**0.5) // 2

    while (M + 1)**2 <= n:
        M += 1

    for _ in range(500):
        n *= 100
        M *= 10
        while (M + 1)**2 <= n:
            M += 1

    return M

if intSqrt(A) + intSqrt(B) < intSqrt(C):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

x = 2*((a*b)**(1/2))
if c-a-b <= 0:
    print("No")
elif x < c-a-b:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

def intSqrt(n):
    M = int(n**0.5)

    while (M + 1)**2 <= n:
        M += 1

    for _ in range(1000):
        n *= 100
        M *= 10
        while (M + 1)**2 <= n:
            M += 1

    return M

if intSqrt(A) + intSqrt(B) < intSqrt(C):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

def intSqrt(n):
    M = int(n**0.5)

    while (M + 1)**2 <= n:
        M += 1

    for _ in range(300):
        n *= 100
        M *= 10
        while (M + 1)**2 <= n:
            M += 1

    return M

print(intSqrt(A))

if intSqrt(A) + intSqrt(B) < intSqrt(C):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

x = 2*((a*b)**(1/2))
if x <= c-a-b:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

def intSqrt(n):
    M = int(n**0.5)

    while (M + 1)**2 <= n:
        M += 1

    for _ in range(100):
        n *= 100
        M *= 10
        while (M + 1)**2 <= n:
            M += 1

    return M

if intSqrt(A) + intSqrt(B) < intSqrt(C):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

def intSqrt(n):
    M = int(n**0.5)

    while (M + 1)**2 <= n:
        M += 1

    for _ in range(20):
        n *= 100
        M *= 10
        while (M + 1)**2 <= n:
            M += 1

    return M

if intSqrt(A) + intSqrt(B) < intSqrt(C):
    print('Yes')
else:
    print('No')