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 sys, math
def input():
    return sys.stdin.readline()[:-1]
from itertools import permutations, combinations
from collections import defaultdict, Counter, deque
from math import factorial
from bisect import bisect_left #bisect_left(list, value)
#from fractions import gcd
enu = enumerate

sys.setrecursionlimit(10**7)
a, b, c = map(int, input().split())

ra = math.sqrt(a)
rb = math.sqrt(b)
rc = math.sqrt(c)

rab = ra + rb

val = (rc**2 - rab**2)/(rab + rc)

if val>0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
if (c-b-a)*(c-b-a)>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:
import sys
input = sys.stdin.readline
sys.setrecursionlimit(1000000)
from collections import deque, Counter
def getN():
    return int(input())
def getList():
    return list(map(int, input().split()))
import math
INF = 10 ** 20

def main():
    a,b,c = getList()
    if math.sqrt(a*1000) + math.sqrt(b*1000)  < math.sqrt(c*1000):
        print("Yes")
    else:
        print("No")

    # print(math.sqrt(2000000000))
if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import numpy
a,b,c = map(int,input().split())
ab = a*b
bc = b*c
ca = c*a
aa = a*a
bb = b*b
cc = c*c
if(4*ab < cc+aa+bb-(2*ca)+(2*ab)-(2*bc)):
  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 as m

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

roota = m.sqrt(a)
rootb = m.sqrt(b)
rootc = m.sqrt(c)
ab = roota+rootb

if ab < rootc :
  print('Yes')
elif ab > rootc :
  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):
    while abs(x - x) > 1e-7:
        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,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()

  if 4*a*b<(c-a-b)**2:
    return 'Yes'
  a

# main()
print(main())

Submission status: Wrong Answer

Solution code:
def mi():return map(int,input().split())

a,b,c=mi()
from decimal import *
from math import *

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

if c-a-b>0:
    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:
        x = abs(x)
        if x < 1e-7:
            print("No")
        else:
            print("Yes")
    else:
        print("No")


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import numpy as np
a, b, c = list(map(int, input().split()))
A = np.sqrt(a)
B = np.sqrt(b)
C = np.sqrt(c)
if A + B < C:
  print('Yes')
elif A + B == C:
  print('No')
elif A + B > C:
  print('No')

Submission status: Wrong Answer

Solution code:
import sys
input = lambda: sys.stdin.readline().rstrip()
input_nums = lambda: list(map(int, input().split()))

a, b, c = input_nums()

from math import sqrt

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

Submission status: Wrong Answer

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

import sys
import math
from bisect import bisect_right as br
from bisect import bisect_left as bl
sys.setrecursionlimit(2147483647)
from heapq import heappush, heappop,heappushpop
from collections import defaultdict
from itertools import accumulate
from collections import Counter
from collections import deque
from operator import itemgetter
from itertools import permutations
mod = 10**9 + 7
inf = float('inf')
def I(): return int(sys.stdin.readline())
def LI(): return list(map(int,sys.stdin.readline().split()))

a,b,c = LI()
x = c - a - b
y = 4 * a * b
if math.sqrt(y) < x:
    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())
A=float(a**(1/2))
B=float(b**(1/2))
C=float(c**(1/2))
if A+B<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) + math.sqrt(b) - math.sqrt(c)
if A < 0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

import numpy as np

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

Submission status: Wrong Answer

Solution code:
import sys
sys.setrecursionlimit(10**6)
from math import floor,ceil,sqrt,factorial,log
from heapq import heappop, heappush, heappushpop
from collections import Counter,defaultdict,deque
from itertools import accumulate,permutations,combinations,product,combinations_with_replacement
from bisect import bisect_left,bisect_right
from copy import deepcopy
from operator import itemgetter
from fractions import gcd
mod = 10 ** 9 + 7
inf = float('inf')
ninf = -float('inf')
 
#整数input
def ii(): return int(sys.stdin.readline().rstrip()) #int(input())
def mii(): return map(int,sys.stdin.readline().rstrip().split())
def limii(): return list(mii()) #list(map(int,input().split()))
def lin(n:int): return [ii() for _ in range(n)]
def llint(n: int): return [limii() for _ in range(n)]
#文字列input
def ss(): return sys.stdin.readline().rstrip() #input()
def mss(): return sys.stdin.readline().rstrip().split()
def limss(): return list(mss()) #list(input().split())
def lst(n:int): return [ss() for _ in range(n)]
def llstr(n: int): return [limss() for _ in range(n)]

#本当に貪欲法か？ DP法では？？
#本当に貪欲法か？ DP法では？？
#本当に貪欲法か？ DP法では？？

a,b,c=map(int,input().split())
from decimal import *



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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

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())
roota = a / 2.0
rootb = b / 2.0
rootc = c / 2.0

epsilon=0.00000001
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:
a, b, c = map(float, input().split())

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

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")
elif np.sqrt(a)+np.sqrt(b)>=np.sqrt(c):
  print("No")
else:
  pass

Submission status: Wrong Answer

Solution code:
import math
import numpy as np
a,b,c=map(int, input().split())
#print(math.sqrt(a))
#print(math.sqrt(b))
#print(type(math.sqrt(c)))
#print(math.sqrt(a)+math.sqrt(b))
a = np.array(a,dtype= 'float128')
b = np.array(b,dtype= 'float128')
c = np.array(c,dtype= 'float128')
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())
x = (a**0.5) + (b**0.5)
y = c**0.5
if x < y:
    print("Yes");
else:
    print("No");

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math
a, b, c = map(float, 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())
X = 4*a*b + 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 math
a,b,c = map(int,input().split())
ab = math.sqrt(a*b)
bc = math.sqrt(b*c)
ca = math.sqrt(c*a)
ans_a = c - a - b - 2 * ab
ans_b = c - a + b - 2 * bc
ans_c = c + a - b - 2 * ca
 
if ans_a > 0 and ans_b > 0 and ans_c > 0:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

Solution code:
inp = list(map(int,input().split()))
inp[0] *= 100000000
inp[1] *= 100000000
inp[2] *= 100000000
if (inp[0]+inp[1]+2*inp[0]**0.5*inp[1]**0.5 < inp[2]):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math

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

for i in range(9):
    if a > 10**i and a > 10**i and c > 10**i:
        a = a / 10
        b = b / 10
        c = c / 10

x = math.sqrt(a)
y = math.sqrt(b)
z = math.sqrt(c)

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

Submission status: Wrong Answer

Solution code:
import numpy as np
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:
import math
import decimal

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

root_a = decimal.Decimal(math.sqrt(a))
root_b = decimal.Decimal(math.sqrt(b))
root_c = decimal.Decimal(math.sqrt(c))

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

Solution code:
import math
import sys

a, b, c = input().split()
a = math.sqrt(int(a))
b = math.sqrt(int(b))
c = math.sqrt(int(c))
d = a + b - c

if abs(d) < sys.float_info.epsilon:
    print('No')
elif d < 0:
    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 = math.sqrt(c)
AB = A+B
if AB < C:
    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))/sqrt(c)<1 else "No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
from decimal import *
getcontext().prec = 100
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;

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

sqa2=2.0*math.sqrt(a)*math.sqrt(b)

d=c-a-b

if (sqa2 < d):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

t = c-a-b
h = t**2/(a*b)
if t <= 0:
    print("No")
else:
    if 4 < h:
        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())
import math

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

Submission status: Wrong Answer

Solution code:
import numpy as np
def nroot(a, n, x=1.0, eps=1e-11):
    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())


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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
import decimal

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
from decimal import *
s = input().rstrip().split(' ')
a = math.sqrt(int(s[0]))
b = math.sqrt(int(s[1]))
c = math.sqrt(int(s[2]))
d = Decimal(a).quantize(Decimal('0.01'), rounding=ROUND_HALF_UP)
e = Decimal(b).quantize(Decimal('0.01'), rounding=ROUND_HALF_UP)
f = Decimal(c).quantize(Decimal('0.01'), rounding=ROUND_HALF_UP)
if d + e < f:
	print("Yes")
else:
	print("No")

Submission status: Wrong Answer

Solution code:
#!python3.4.3

import math
from decimal import *

def process(x):
  x = float(x)
  return math.sqrt(x)

a, b, c = map(process, input().split(' '))

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

Solution code:
from math import sqrt
from decimal import *

getcontext().prec = 64
a, b, c = [int(i) for i in input().split()]
if Decimal(a).sqrt() + Decimal(b).sqrt() < Decimal(c).sqrt():
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
import sys
import math

YES = "Yes" 
NO = "No"  

def solve(a: int, b: int, c: int):
    if (2 * math.sqrt(a) * math.sqrt(b)) < c-a-b:
        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:
import math

s = input()

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

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

sc = math.sqrt(c)

EPS = 0.000000001

if abs(r - sc) < EPS: 
	print("No")
elif r < sc:
	print("Yes")
else: 
	print("No")

Submission status: Wrong Answer

Solution code:
from decimal import *

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

if c>=a+b:
    if (c-a-b)*(c-a-b)>4*Decimal(a)*Decimal(b):
        print('Yes')
    else:
        print('No')
else:
    if (a+b-c)*(a+b-c)>4*a*b:
        print('Yes')
    else:
        print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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)):
            if randint(0,1):
                print('No')
            else:
                print('Yes')
        else:
            print('Yes')
    else:
        print('No')

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
a,b,c = [int(i) for i in input().split()]
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())
print(a)
print(b)
print(c)
if np.sqrt(a)+np.sqrt(b)<np.sqrt(c):
  print("Yes")
elif np.sqrt(a)+np.sqrt(b)>=np.sqrt(c):
  print("No")
else:
  pass

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.00001
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 
  
# Recursive function that returns square root 
# of a number with precision upto 5 decimal places 
def Square(n, i, j): 
  
    mid = (i + j) / 2; 
    mul = mid * mid; 
  
    # If mid itself is the square root, 
    # return mid 
    if ((mul == n) or (abs(mul - n) < 0.00001)): 
        return mid; 
  
    # If mul is less than n, recur second half 
    elif (mul < n): 
        return Square(n, mid, j); 
  
    # Else recur first half 
    else: 
        return Square(n, i, mid); 
  
# Function to find the square root of n 
def findSqrt(n): 
    i = 1; 
  
    # While the square root is not found 
    found = False; 
    while (found == False): 
  
        # If n is a perfect square 
        if (i * i == n): 
            return i; 
            found = True; 
          
        elif (i * i > n): 
  
            # Square root will lie in the 
            # interval i-1 and i 
            res = Square(n, i - 1, i); 
            return float("{0:.5f}".format(res))  
            found = True
        i += 1; 



a,b,c=map(int,input().split())
j=findSqrt(a)
k=findSqrt(b)
l=findSqrt(c)
if j+k<l:
    print("YES")
else :
    print("NO")

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

sqa = round(math.sqrt(a),8)
sqb = round(math.sqrt(b),8)
sqc = round(math.sqrt(c),8)

if sqa + sqb < sqc:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

import math

ra = math.sqrt(a*(10**9))
rb = math.sqrt(b*(10**9))
rc = math.sqrt(c*(10**9))

ans = 'No'
if ra + rb < rc:
    ans = 'Yes'

print(ans)

Submission status: Wrong Answer

Solution code:
import numpy as np
A,B,C=map(int,input().split())                            # 1行2列

if float(np.sqrt(A)) + float(np.sqrt(B)) - float(np.sqrt(C)) < float(0):
	print('Yes')
else:
	print('No')

Submission status: Wrong Answer

Solution code:
import math
a,b,c = map(int,input().split())
a1 = math.sqrt(a)
b1 = math.sqrt(b)
c1 = math.sqrt(c)
if a1 + b1 <c1:
  print("Yes")
elif a1 + b1 >= c1:
  print("No")

Submission status: Wrong Answer

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


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

Submission status: Wrong Answer

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

if c <= a or c <= b or num <= 0 or c < a + b:
    print("No")

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
inp = list(map(int,input().split()))
inp[0] *= 1000000000
inp[1] *= 1000000000
inp[2] *= 1000000000
if (inp[0]+inp[1]+2*inp[0]**0.5*inp[1]**0.5 < inp[2]):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from numpy import sqrt

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#import math

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

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

Submission status: Wrong Answer

Solution code:
import math
import os
tmp=input().split(' ')
a=float(tmp[0])
b=float(tmp[1])
c=float(tmp[2])
if math.sqrt(a) + math.sqrt(b) < math.sqrt(c):
    print ("Yes")
else:
    print ("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import *
getcontext().prec = 30000
a, b, c = map(int, input().split())
#print(a **.5, b**.5,c**.5)
#print(a **.5+ b**.5,c**.5)
#print(Decimal(a).sqrt() , Decimal(b).sqrt() , Decimal(c).sqrt())
if Decimal(a).sqrt() + Decimal(b).sqrt() >= Decimal(c).sqrt():
#if a **.5 + b**.5 < c**.5:
    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 = tmp1 ** 2

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a, b, c = list(map(int,input().split()))
a_s = math.sqrt(a)
b_s = math.sqrt(b)
c_s = math.sqrt(c)

if a_s+ b_s < c_s:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

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):
            if randint(0,1):
                print('No')
            else:
                print('Yes')
        else:
            print('Yes')
    else:
        print('No')

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
A,B,C = (int(x) for x in input().split())
import math
a = math.sqrt(A)
b = math.sqrt(B)
c = math.sqrt(C)
if 2 * a * b < C - A - B:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Mar 14 21:02:42 2020

@author: morihiranaoki
"""
import numpy as np
a, b, c = map(int, input().split())

a = np.array(a, dtype = "float128")
b = np.array(b, dtype = "float128")
c = np.array(c, dtype = "float128")

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

Submission status: Wrong Answer

Solution code:
import math as m


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

ab = m.sqrt(a*b)
# c2 = m.sqrt(c)

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

Submission status: Wrong Answer

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

cab = c-a-b
cabcab = cab**2

if( 4*a*b < cabcab ) :
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

aa = math.sqrt(a)
aaa = aa.as_integer_ratio()
bb = math.sqrt(b)
bbb = bb.as_integer_ratio()
cc = math.sqrt(c)
ccc = cc.as_integer_ratio()

if aaa[0] / aaa[1] + bbb[0] / bbb[1] < ccc[0] / ccc[1]:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

import math

X = 4 * a * b
Y = (c - a - b) ** 2

if X < Y:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
a, b, c = list(map(float, input().split()))
ab = a+b
abr = min(a,b)
if ab < c-2*abr:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
# coding: utf-8

import math

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

ans = "No"

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

print(ans)

Submission status: Wrong Answer

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

r_a = math.sqrt(a) 
r_b = math.sqrt(b)
r_c = math.sqrt(c)

if(r_a+r_b < r_c):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

def main():

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

    print("Yes" if ok else "No")



if __name__ == "__main__":
    main()

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

sqrt_a = pow(a, 0.5)
sqrt_b = pow(b, 0.5)
sqrt_c = pow(c, 0.5)
if sqrt_a + sqrt_b < sqrt_c and a + b + 2 * pow(a * b, 0.5) < c:
    print('Yes')
else:
    print('No')