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: Accepted

Solution code:
a, b, c = map(int, input().split())
def sqrt(x):
    return x ** (1/2)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys,math
range = xrange
input = raw_input

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

def test(a,b,c):
    if c - a - b <= 0:
        return False
    return 4 * a*b < (c - a - b)**2 
    
# 2 * sqrt(a*b) < c - a - b
print 'Yes' if test(a,b,c) else 'No'

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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')

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def main():
    a, b, c = list(map(int, input().split()))
    if a + b > c:
        return False
    return 4 * a * b < (c - a - b) ** 2


print('Yes' if main() else 'No')

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
ans = False
if (c - a - b < 0):
	ans = False
else:
	lhs = 4 * a * b
	rhs = (c - a - b) * (c - a - b)
	ans = lhs < rhs

if (ans == True):
	print("Yes")
else:
	print("No")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def solve(a, b, c):
    # a + b + 2 * sqrt(a*b) < c
    # 4 * a * b < (c - a - b) ** 2
    if c < a + b:
        return "No"
    if 4 * a * b < (c - a - b) ** 2:
        return "Yes"
    else:
        return "No"


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


def test():
    assert solve(2, 3, 9) == "No"
    assert solve(2, 3, 10) == "Yes"


if __name__ == "__main__":
    test()
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B, C = map(int, input().split())
if C-A-B >= 0:
    if (C-A-B)**2 > 4*A*B:
        print("Yes")
    else:
        print("No")
else:
    print("No")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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


if __name__ == '__main__':
    main()

# import sys
#
# sys.setrecursionlimit(10 ** 7)
#
# input = sys.stdin.readline
# rstrip()
# int(input())
# map(int, input().split())

Submission status: Accepted

Solution code:
# 式を普通に実装すると浮動小数点で死ぬ

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

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

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def II(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def SI(): return sys.stdin.readline()[:-1]

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

main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

x = Decimal("0.5")
A = Decimal(a)
B = Decimal(b)
C = Decimal(c)

if (A**x)+(B**x) < (C**x):
    print ("Yes")
else:
    print ("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
a, b, c = [int(x) for x in input().split()]
def pred(a, b, c):
    d = c - a - b
    if d <= 0:
        return False
    return 4 * a * b < d ** 2

if pred(a, b, c):
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

L = 4 * a * b
R = c - b - a

if L < R * R and R >= 0:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
def main():
    import sys
    input = sys.stdin.readline

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

a, b, c = map(int, readline().split())
print('Yes' if 4*a*b < (c-a-b)**2 and (c-a-b) > 0 else 'No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    a,b,c = [int(i) for i in input().split()]
    if c <= a+b:
        print("No")
        return
    if (c - a - b)**2 - 4*a*b > 0:
        print("Yes")
    else:
        print("No")
main()

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
print(["No", "Yes"][(4 * a * b < (c - a - b)**2) and (c - a - b >= 0)])

Submission status: Accepted

Solution code:
import sys
input=lambda: sys.stdin.readline().rstrip()
a,b,c=map(int,input().split())
l=4*a*b
r=(c-a-b)**2
if l<r and c-a-b>0:
  print("Yes")
else:
  print("No")

Submission status: Accepted

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

uhen=c-a-b

ans=True

if(uhen<=0):
    ans=False
else:
    uhen=uhen*uhen
    sahen=4*a*b
    if(sahen<uhen):
        ans=True
    else:
        ans=False

if(ans):
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import decimal

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

left = c-(a+b)

if left > 0:

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

if x <= 0 :
  print("No")
  exit()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#gcdは3.4.3だとfractionsにある
from fractions import gcd
import math

from math import factorial as f

from math import ceil,floor,sqrt


import bisect
import re
import heapq


from copy import deepcopy
import itertools

from sys import exit

ii = lambda : int(input())
mi = lambda : map(int,input().split())
li = lambda : list(map(int,input().split()))

yes = "Yes"
no = "No"




def main():
    a,b,c = mi()
    if c-a-b<=0:
        print(no)
        exit()
    else:
        if (c-a-b)**2 > 4*a*b:
            print(yes)
        else:
            print(no)
        
    


main()

Submission status: Accepted

Solution code:
import sys
a, b, c = list(map(int, input().split()))
if c < a+b:
    print("No")
    sys.exit()

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

Submission status: Accepted

Solution code:
#C
A,B,C=map(int,input().split())
if 4*A*B<(C-A-B)**2:
    if C-A-B>=0:
        print('Yes')
    else:
        print('No')
else:
    print('No')

#D

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

#2sqrt(ab)<c-a-b

Submission status: Accepted

Solution code:
#!usr/bin/env python3
from collections import defaultdict,deque
from heapq import heappush, heappop
from itertools import permutations
import sys
import math
import bisect
def LI(): return [int(x) for x in sys.stdin.readline().split()]
def I(): return int(sys.stdin.readline())
def LS():return [list(x) for x in sys.stdin.readline().split()]
def S():
    res = list(sys.stdin.readline())
    if res[-1] == "\n":
        return res[:-1]
    return res
def IR(n):
    return [I() for i in range(n)]
def LIR(n):
    return [LI() for i in range(n)]
def SR(n):
    return [S() for i in range(n)]
def LSR(n):
    return [LS() for i in range(n)]

sys.setrecursionlimit(1000000)
mod = 1000000007

def solve():
    a,b,c = LI()
    s = 4*a*b
    k = c-a-b
    if k < 0:
        print("No")
        return
    k **= 2
    if s < k:
        print("Yes")
    else:
        print("No")
    return

#Solve
if __name__ == "__main__":
    solve()

Submission status: Accepted

Solution code:
def examA():
    L = [1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51]
    K = I()

    ans = L[K-1]
    print(ans)
    return

def examB():
    H, W = LI()

    ans = H*W//2 + (H*W)%2
    print(ans)
    return

def examC():
    a,b,c = LI()
    if c-(a+b)<=0:
        print("No")
        return
    judge = (c-a-b)**2-4*a*b
    if judge>0:
        print("Yes")
    else:
        print("No")
    return

def examD():
    ans = 0
    print(ans)
    return

def examE():
    ans = 0
    print(ans)
    return

def examF():
    ans = 0
    print(ans)
    return

import sys,bisect,itertools,heapq,math,random
from copy import deepcopy
from heapq import heappop,heappush,heapify
from collections import Counter,defaultdict,deque
def I(): return int(sys.stdin.readline())
def LI(): return list(map(int,sys.stdin.readline().split()))
def LSI(): return list(map(str,sys.stdin.readline().split()))
def LS(): return sys.stdin.readline().split()
def SI(): return sys.stdin.readline().strip()
global mod,mod2,inf,alphabet,_ep
mod = 10**9 + 7
mod2 = 998244353
inf = 10**18
_ep = 10**(-12)
alphabet = [chr(ord('a') + i) for i in range(26)]

sys.setrecursionlimit(10**6)

if __name__ == '__main__':
    examC()

"""

"""

Submission status: Accepted

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

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

Submission status: Accepted

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

print(ans)

Submission status: Accepted

Solution code:
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

def solve(a,b,c):
    if c - a - b < 0:
        return False
    return (c - a - b) ** 2 - (4 * a * b) > 0

a,b,c = map(int,read().split())
print('Yes' if solve(a,b,c) else 'No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

x = c - a - b

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

import sys
sys.setrecursionlimit(10**6)
readline = sys.stdin.readline
read = sys.stdin.read


#n,*a = [int(i) for i in read().split()]
a,b,c = [int(i) for i in readline().split()]

ok = 0
if c-(a+b) > 0 and 4*a*b < (c-(a+b))**2: ok = 1

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

Submission status: Runtime Error

Solution code:
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: Runtime Error

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: Runtime Error

Solution code:
# C - Sqrt Inequality
import decimal
a,b,c = input().split()
a,b,c = map(decimal.Decimal,[a,b,c])
rta,rtb,rtc = map(math.sqrt,[a,b,c])
sqrt = decimal.Decimal(0.5)
if a**sqrt + b**sqrt < c**sqrt:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
# C - Sqrt Inequality
import math
import decimal
a,b,c = input().split()
a,b,c = map(decimal.Decimal,[a,b,c])
rta,rtb,rtc = map(math.sqrt,[a,b,c])
rta,rtb,rtc = map(srt,[rta,rtb,rtc])
rta,rtb,rtc = map(decimal.Decimal,[rta,rtb,rtc])

if rta + rtb < rtc:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
# C - Sqrt Inequality
a,b,c = map(int,input().split())
rta,rtb,rtc = map(math.sqrt,[a,b,c])

if rta + rtb < rtc:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
import math
import sympy

def main():
    a,b,c = map(int,input().split())
    left = 4*a*b
    right = (c-a-b)**2
    if (c-a-b)<0:
        return 'No'

    if left < right:
        return 'Yes'
    else:
        return 'No'

print(main())

Submission status: Runtime Error

Solution code:
#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
#define all(x) (x).begin(),(x).end()
#define pb push_back
#define str to_string
#define endl "\n"
#define PI 3.141592653589
using namespace std;
using lint = long long;
template <class T>ostream &operator<<(ostream &o,const vector<T>&v)
{o<<"{";for(int i=0;i<(int)v.size();i++)o<<(i>0?", ":"")<<v[i];o<<"}";return o;}

//AC(*'ω'*)AC(*'ω'*)AC(*'ω'*)AC(*'ω'*)AC(*'ω'*)AC(*'ω'*)AC
int main(){
    int a,b,c;cin>>a>>b>>c;
    bool ans;
    lint tmp=a+b-c;
    if(tmp>=0)ans=false;
    else{
        if(tmp*tmp>4*a*b)ans=true;
        else ans=false;
    }
    if(ans)cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
}

Submission status: Runtime Error

Solution code:
import math

from typing import List


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

    if si([a, b, c]):
        print('YES')
    else:
        print('NO')


def si(nums: List[str]) -> bool:
    a, b, c = nums
    a *= 10 ** 8
    b *= 10 ** 8
    c *= 10 ** 8

    if int(math.sqrt(a)) + int(math.sqrt(b)) < int(math.sqrt(c)):
        return True
    else:
        return False


if __name__ == '__main__':
    main()