Problem:


Score : 300 points

Problem Statement

Does \sqrt{a} + \sqrt{b} < \sqrt{c} hold?

Constraints

1 \leq a, b, c \leq 10^9

All values in input are integers.

Input

Input is given from Standard Input in the following format:

a \ b \ c

Output

If \sqrt{a} + \sqrt{b} < \sqrt{c}, print Yes; otherwise, print No.

Sample Input 1

2 3 9

Sample Output 1

No

\sqrt{2} + \sqrt{3} < \sqrt{9} does not hold.

Sample Input 2

2 3 10

Sample Output 2

Yes

\sqrt{2} + \sqrt{3} < \sqrt{10} holds.



Sample input:
2 3 9


Sample output:
No

Submission status: Wrong Answer

Solution code:

import math

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

D=c-a-b


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

Submission status: Wrong Answer

Solution code:

import math

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

D=(math.sqrt(a)+math.sqrt(b))/math.sqrt(c)


if 1>D:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:

import math

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

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

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

Submission status: Wrong Answer

Solution code:
import math

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c = (int(num) for num in 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)**2:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
import math
from decimal import *
def solve():
  getcontext().prec = 99
  a,b,c = (int(i) for i in input().split())
  if Decimal(str(a**0.5))+Decimal(str(b**0.5)) < Decimal(str(c**0.5)):
    print("Yes")
  else:
    print("No")
    
solve()

Submission status: Wrong Answer

Solution code:
import math
from decimal import *
def solve():
  a,b,c = (int(i) for i in input().split())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as np

a,b,c = [int(x) for x in input().split()]
print("Yes" if np.sqrt(c) >(np.sqrt(a)+np.sqrt(b))  else "No")

Submission status: Wrong Answer

Solution code:
import numpy as np

a,b,c = [int(x) for x in input().split()]
print("Yes" if c-a-b>np.sqrt(4*a*b) else "No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

print(["No","Yes"][4*a*b < (c-a-b)**2])

Submission status: Wrong Answer

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

print(["No","Yes"][a+b+2*((a*b)**0.5) < c])

Submission status: Wrong Answer

Solution code:
import math
import numpy as np

a , b , c = map(float , 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)) ** 2 > 4 * a * b:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import math
import numpy as np

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

a,b,c = map(int,input().split())
a = 100000*a
b = 100000*b
c = 100000*c
num = (c - a - b)**2 - 4*a*b

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

Submission status: Wrong Answer

Solution code:
import math

a,b,c = map(int,input().split())
num = (c - a - b)**2 - 4*a*b

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

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

Submission status: Wrong Answer

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

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

A = sqrt(a)
B = sqrt(b)
C = sqrt(c)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


print("Yes" if (C - A - B) * (C - A - B) - 4 * A * B > 0 else "No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a,b,c  = map(int , input().split())
if 1<=a and 1<=b and 1<=c and 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:
import numpy as np
a, b, c = map(int, input().split())
if np.sqrt(a, dtype=np.float64) + np.sqrt(b, dtype=np.float64) < np.sqrt(c, dtype=np.float64):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

def getIntList(inp):
	return [int(_) for _ in inp]


from sys import stdin
import sys
sys.setrecursionlimit(10**8)

def getInputs():
	inputs=[]
	for line in stdin:
		line=line.split()
		inputs.append(line)
	return inputs


def main(inputs):
	a,b,c=getIntList(inputs[0])
	
	if c-a-b==0: print("No")
	elif c-a-b>0:
		if 4*a*b<(c-a-b)**2: print("Yes")
		else: print("No")
	else:
		if 4*a*b>(c-a-b)**2: print("Yes")
		else: print("No")
	

if __name__=="__main__":
	inputs=getInputs()
# 	inputs=simInputs()
	main(inputs)

Submission status: Wrong Answer

Solution code:

def getIntList(inp):
	return [int(_) for _ in inp]


from sys import stdin
import sys
sys.setrecursionlimit(10**8)

def getInputs():
	inputs=[]
	for line in stdin:
		line=line.split()
		inputs.append(line)
	return inputs


def main(inputs):
	a,b,c=getIntList(inputs[0])
	
	if c-a-b>=0:
		if 4*a*b<(c-a-b)**2: print("Yes")
		else: print("No")
	else:
		if 4*a*b>(c-a-b)**2: print("Yes")
		else: print("No")
	

if __name__=="__main__":
	inputs=getInputs()
# 	inputs=simInputs()
	main(inputs)

Submission status: Wrong Answer

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

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

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

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
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:
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 numpy as np
a,b,c=(float(x) for x in input().split())
if np.sqrt(a)+np.sqrt(b)<np.sqrt(c):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:

def getIntList(inp):
	return [int(_) for _ in inp]


from sys import stdin
import sys
sys.setrecursionlimit(10**8)

def getInputs():
	inputs=[]
	for line in stdin:
		line=line.split()
		inputs.append(line)
	return inputs


def main(inputs):
	a,b,c=getIntList(inputs[0])
	if 4*a*b<(c-a-b)**2: print("Yes")
	else: print("No")
	
	

if __name__=="__main__":
	inputs=getInputs()
# 	inputs=simInputs()
	main(inputs)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import decimal
decimal.getcontext().prec = 31
a,b,c=(decimal.Decimal(x) for x in input().split())
if a.sqrt() + b.sqrt() < c.sqrt():
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import decimal
decimal.getcontext().prec = 27
a,b,c=(decimal.Decimal(x) for x in input().split())
if a.sqrt() + b.sqrt() < c.sqrt():
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import decimal
decimal.getcontext().prec = 30
a,b,c=(decimal.Decimal(x) for x in input().split())
if a.sqrt() + b.sqrt() < c.sqrt():
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import decimal
decimal.getcontext().prec = 300
a,b,c=(decimal.Decimal(x) for x in input().split())
if a.sqrt() + b.sqrt() < c.sqrt():
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import decimal
decimal.getcontext().prec = 3000
a,b,c=(decimal.Decimal(x) for x in input().split())
if a.sqrt() + b.sqrt() < c.sqrt():
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

import math
l = a + b + 2*math.sqrt(a*b)
r = c

if l < r:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

import math
l = math.sqrt(a*b)
r = (c-a-b) / 2

if l < r:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a,b,c = list(map(int,input().split()))
ra,rb,rc = list(map(math.sqrt,[a,b,c]))
# print(ra,rb,rc)
if ra+rb < rc:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
from numpy 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 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 = [int(i)**0.5 for i in input().rstrip().split()]
if a+b < c:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math

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

if (a*a+b*b+c*c)>2*(a*b+a*c+b*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**(1/2)+b**(1/2)<c**(1/2):
#if np.power(a,1/2)+np.power(b,1/2)<np.power(c,1/2):
if a+b+(2*a*b)**(1/2)<c:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal

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

print('Yes' if Decimal(str(math.sqrt(a)))+Decimal(str(math.sqrt(b))) < Decimal(str(math.sqrt(c))) else '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 = 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 = 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())
x = c - a - b
ans = 4 * a * b < x ** 2
print('Yes' if ans else '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 numpy as np
a, b, c = map(int, input().split())
if 0 < c - a - b - 2*np.sqrt(a*b):print("Yes")
else: print("No")

Submission status: Wrong Answer

Solution code:
from decimal import Decimal, getcontext

getcontext().prec = 1000
eps = Decimal(10) ** (-100)


a, b, c = (Decimal(i).sqrt() for i in  input().split())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#!python3

# import numpy as np


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


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


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
#!python3

# import numpy as np


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


def main():
    x = 4 * a * b
    y = (c - a - b) ** 2
    if x < y:
        print("Yes")
    else:
        print("No")


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
#!python3

# import numpy as np


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


def main():
    x = a ** 0.5 + b ** 0.5
    y = c ** 0.5
    if x < y:
        print("Yes")
    else:
        print("No")


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
a,b,c = list(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()))

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

Submission status: Wrong Answer

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

if a + b + (2*(a*b)**(1/2)) < 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 = list(map(int,input().split()))

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

Submission status: Wrong Answer

Solution code:
import unittest


class TestC(unittest.TestCase):
    def test_1(self):
        self.assertEqual(think(2, 3, 9), 'No')

    def test_2(self):
        self.assertEqual(think(2, 3, 10), 'Yes')


def solve():
    a, b, c = read()
    result = think(a, b, c)
    write(result)


def read():
    return read_int(3)


def read_int(n):
    return read_type(int, n, sep=' ')


def read_float(n):
    return read_type(float, n, sep=' ')


def read_type(t, n, sep):
    return list(map(lambda x: t(x), read_line().split(sep)))[:n]


def read_line(n=0):
    if n == 0:
        return input().rstrip()
    else:
        return input().rstrip()[:n]


def think(a, b, c):
    return 'Yes' if (c - a - b) ** 2 > 4 * a * b else 'No'


def write(result):
    print(result)


if __name__ == '__main__':
    # unittest.main()
    solve()

Submission status: Wrong Answer

Solution code:
import unittest
import math


class TestC(unittest.TestCase):
    def test_1(self):
        self.assertEqual(think(2, 3, 9), 'No')

    def test_2(self):
        self.assertEqual(think(2, 3, 10), 'Yes')


def solve():
    a, b, c = read()
    result = think(a, b, c)
    write(result)


def read():
    return read_int(3)


def read_int(n):
    return read_type(int, n, sep=' ')


def read_float(n):
    return read_type(float, n, sep=' ')


def read_type(t, n, sep):
    return list(map(lambda x: t(x), read_line().split(sep)))[:n]


def read_line(n=0):
    if n == 0:
        return input().rstrip()
    else:
        return input().rstrip()[:n]


def think(a, b, c):
    ratio = 10e10
    return 'Yes' if math.sqrt(a * ratio) + math.sqrt(b * ratio) < math.sqrt(c * ratio) else 'No'


def write(result):
    print(result)


if __name__ == '__main__':
    # unittest.main()
    solve()

Submission status: Wrong Answer

Solution code:
import unittest
import math


class TestC(unittest.TestCase):
    def test_1(self):
        self.assertEqual(think(2, 3, 9), 'No')

    def test_2(self):
        self.assertEqual(think(2, 3, 10), 'Yes')


def solve():
    a, b, c = read()
    result = think(a, b, c)
    write(result)


def read():
    return read_int(3)


def read_int(n):
    return read_type(int, n, sep=' ')


def read_float(n):
    return read_type(float, n, sep=' ')


def read_type(t, n, sep):
    return list(map(lambda x: t(x), read_line().split(sep)))[:n]


def read_line(n=0):
    if n == 0:
        return input().rstrip()
    else:
        return input().rstrip()[:n]


def think(a, b, c):
    return 'Yes' if math.sqrt(a) + math.sqrt(b) < math.sqrt(c) else 'No'


def write(result):
    print(result)


if __name__ == '__main__':
    # unittest.main()
    solve()

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
print('Yes' if (c-2*a-2*b)>0 and 4*a*b < (c - a- b)**2 else '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:
# -*- 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 c-a-b >= 0 and a * b < pow(c-a-b, 2):
    Yes()
else:
    No()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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


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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

"""
A+B+2(AB) < C
A+B-C < -2(AB)

1.A+B < C
&
(A+B-C)**2 < 4AB
"""

cond1 = A+B < C
cond2 = (C-A-B)**2 < 4*A*B


if cond1 and cond2:
  ans = 'Yes'
else:
  ans = 'No'

print(ans)

Submission status: Wrong Answer

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

"""
A+B+2(AB) < C
A+B-C < -2(AB)

1.A+B < C
&
(A+B-C)**2 < 4AB
"""

cond1 = A+B < 1
cond2 = (C-A-B)**2 < 4*A*B


if cond1 and cond2:
  ans = 'Yes'
else:
  ans = 'No'

print(ans)

Submission status: Wrong Answer

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

"""
A+B+2(AB) < C
A+B-C < -2(AB)

1.A+B < C
&
(A+B-C)**2 < 4AB
"""

cond1 = A+B < 1
cond2 = (A+B-C)**2 < 4*A*B


if cond1 and cond2:
  ans = 'Yes'
else:
  ans = 'No'

print(ans)

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
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:
# -*- coding: utf-8 -*-
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())

if A**(1/2)+B**(1/2) < C**(1/2):
  ans = 'Yes'
else:
  ans = 'No'

print(ans)

Submission status: Wrong Answer

Solution code:
args=list(map(int,input().strip().split()))

msg = ['Yes', 'No']

a = args[2] - args[1] - args[0]
b = args[0] * args[1] * 4

if((pow(a,2)>b)):
    print(msg[0])
else:
    print(msg[1])

Submission status: Wrong Answer

Solution code:
args=list(map(int,input().strip().split()))

msg = ['Yes', 'No']

a = args[0] + args[1] - args[2]
b = args[0] * args[1] * 4

if((a>0)and(pow(a,2)>b)):
    print(msg[0])
else:
    print(msg[1])

Submission status: Wrong Answer

Solution code:
args=list(map(int,input().strip().split()))

msg = ['Yes', 'No']

a = args[0] + args[1] - args[2]
b = args[0] * args[1] * 4

if(pow(a,2)>b):
    print(msg[0])
else:
    print(msg[1])

Submission status: Wrong Answer

Solution code:
args=list(map(int,input().strip().split()))

msg = ['Yes', 'No']

a = args[0] + args[1] - args[2]
b = args[0] * args[1] * 4

if(pow(a,2)>=b):
    print(msg[0])
else:
    print(msg[1])

Submission status: Wrong Answer

Solution code:
import math
a, b, c = map(int, input().split())
a = math.sqrt(a)
b = math.sqrt(b)
c = math.sqrt(c)
if(c > a+b):
  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 numpy as np
a, b, c = map(np.sqrt, map(lambda x:100*x, map(int, input().split())))
print('Yes' if a + b - c < 0 else 'No')

Submission status: Wrong Answer

Solution code:
import numpy as np
import decimal

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

print(np.sqrt(a))

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c = [int(i) for i in input().split()]
print(["No", "Yes"][2*a*b < (c-a-b)**2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c = [int(i) for i in input().split()]
print(["No", "Yes"][a**0.5 + b**0.5 < c**0.5])

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal

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

# ra+rb<rc
# a+b+2rab<c
# rab<c-a-b
# 4ab<(c-a-b)**2

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

Submission status: Wrong Answer

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

if ((( (A[2]-A[1]-A[0])*(A[2]-A[1]-A[0]) ) < 4*A[1]*A[0]) and ((A[2]-A[1]-A[0])>0)):
  print("Yes")

else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math

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

if (( (A[2]-A[1]-A[0])*(A[2]-A[1]-A[0]) ) < 4*A[1]*A[0]) and ((A[2]-A[1]-A[0])>0):
  print("Yes")

else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math

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

if (( (A[2]-A[1]-A[0])*(A[2]-A[1]-A[0]) ) < 4*A[1]*A[2]) and ((A[2]-A[1]-A[0])>0):
  print("Yes")

else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math

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

if ( (A[2]-A[1]-A[0])*(A[2]-A[1]-A[0]) ) < 4*A[1]*A[2]:
  print("Yes")

else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math

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

if (math.sqrt(A[0])+math.sqrt(A[1])) < math.sqrt(A[2]):
  print("Yes")

else:
  print("No")

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

Solution code:
import math
x,y,z=map(int,input().split(" "))
print((z-y-x)**2)
print(4*x*y)
if (z-y-x)**2>4*x*y and z>y and z>x:
	print("Yes")
else:
 
	print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
x,y,z=map(int,input().split(" "))
print((z-y-x)**2)
print(4*x*y)
if (z-y-x)**2>4*x*y and z-y-x>0:
	print("Yes")
else:
 
	print("No")

Submission status: Wrong Answer

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

if (z-y-x)**2>4*x*y:
	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 c-a-b> 0 and (c-a-b)**2 > 4*a*b:
#     print("Yes")
# else:
#     print("No")

eps = 1.0e-14
if math.sqrt(a) + math.sqrt(b) + eps < math.sqrt(c):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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


def main():
    import sys
    from math import sqrt
    from decimal import Decimal

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

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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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


def main():
    import sys
    from math import sqrt
    from decimal import Decimal

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

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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import math
x,y,z=map(int,input().split(" "))
if z**2-y**2-x**2-2*x*y>0:
	print("Yes")
else:
 
	print("No")

Submission status: Wrong Answer

Solution code:
import math
x,y,z=map(int,input().split(" "))
if z-y-x-2*x*y>0:
	print("Yes")
else:
 
	print("No")