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

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

Submission status: Accepted

Solution code:
from decimal import *

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

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

if A.sqrt() + B.sqrt() < C.sqrt():
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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
    if y >= 0 and x < y ** 2:
        print("Yes")
    else:
        print("No")


if __name__ == "__main__":
    main()

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 = list(map(int,input().split()))

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
d = [int(i) for i in input().split()]

from math import sqrt

t = d[2] - d[1] - d[0]

if t > 0 and 4*d[1]*d[0] < t*t:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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):
    d = c - a - b
    return 'Yes' if d ** 2 > 4 * a * b and d > 0 else 'No'


def write(result):
    print(result)


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

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:
# -*- 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 4*a*b < pow(c-a-b, 2):
    Yes()
else:
    No()

Submission status: Accepted

Solution code:
from decimal import Decimal
a, b, c =  map(lambda x : x**Decimal(0.5),map(Decimal, map(int, input().split())))
#print('Yes' if (c-a-b)>0 and 4*a*b < (c - a- b)**2 else 'No')
print('Yes' if a+b < c else 'No')

Submission status: Accepted

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

Submission status: Accepted

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

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

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

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

Submission status: Accepted

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

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((a>0)and(pow(a,2)>b)):
    print(msg[0])
else:
    print(msg[1])

Submission status: Accepted

Solution code:
from decimal import*;a,b,c=map(Decimal,input().split());print("YNeos"[a.sqrt()+b.sqrt()>=c.sqrt()::2])

Submission status: Accepted

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

# a + b < c
# a + 2ab + b < c
# 2ab < c - a - b
# if c - a - b < 0 
# 

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:
import sys
#input = sys.stdin.readline
input = sys.stdin.buffer.readline

# mod=10**9+7
# rstrip().decode('utf-8')
# map(int,input().split())
# import numpy as np


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












if __name__ == "__main__":
	main()

Submission status: Accepted

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

x = a*b*4
y = c-a-b

if y < 0:
    ans = "No"
elif x < (y)**2:
    ans = "Yes"

print(ans)

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=[int(_) for _ in input().split()]
if c-a-b<=0:
    print("No")
else:
    k=2*(a*b + b*c + c*a) - a**2 - b**2 - c**2
    print("Yes" if k<0 else "No")

Submission status: Accepted

Solution code:
import sys
import math
# import decimal
# import queue
# import bisect
# import heapq # priolity-queue
# import time
# import itertools
# import collections # queue
# from operator import itemgetter
# from fractions import Fraction

mod = int(1e9+7)
INF = 1<<29
lINF = 1<<35

def main():
    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")
    return

if __name__=='__main__':
    main()

Submission status: Accepted

Solution code:
import numpy as np
import decimal

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

# a+b-c < -2\sqrt{ab}
# -a-b+c >2\sqrt{ab}
# (c-a-b)**2 >4*a*b and c-a-b>0

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

Submission status: Accepted

Solution code:
import math
from decimal import Decimal

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

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

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

Submission status: Accepted

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

d=A[2]-A[0]-A[1]

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

else:
  print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input().split()

d = [int(s) for s in s]
a = d[0]
b = d[1]
c = d[2]

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

Submission status: Accepted

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

if (z-y-x)**2>4*x*y and z>y and z>x:
	print("Yes")
else:
 
	print("No")

Submission status: Accepted

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

Submission status: Accepted

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

if c-a-b<=1:
  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 0 < c - a - b and 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())
t = c-a-b
if( (4*a*b) < t**2 and t > 0):
  print('Yes')
else:
  print('No')

Submission status: Accepted

Solution code:
import sys
from itertools import combinations, permutations, product, combinations_with_replacement, accumulate
from heapq import heapify, heappop, heappush, heappushpop
from bisect import bisect_left, bisect_right
from collections import Counter, defaultdict, deque
from math import sqrt, log, floor, ceil, factorial, cos, sin, pi #, gcd
from fractions import gcd
from operator import mul
from functools import reduce
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
INF = float('inf')
LINF = 2**63-1
NIL = -LINF
MOD = 10**9+7
MGN = 4
def II(): return int(input())
def IF(): return float(input())
def IS(): return input().replace('\n', '')
def ILCI(n: int): return [II() for _ in range(n)]
def ILCF(n: int): return [IF() for _ in range(n)]
def ILI(): return list(map(int, input().split()))
def ILLI(n: int): return [[int(j) for j in input().split()] for i in range(n)]
def ILF(): return list(map(float, input().split()))
def ILLF(n: int): return [[float(j) for j in input().split()] for i in range(n)]
def LTOS(lst: list, sep: str = ' '): return sep.join(map(str, lst))
def DEC(lst: list): return list(map(lambda x: x-1, lst))
def INC(lst: list): return list(map(lambda x: x+1, lst))


def main():
    A,B,C = ILI()

    ans = "No"
    if C - A - B < 0:
      for i in range(10**7):
        pass
    
    # A + 2sqrt(AB) + B < C
    if C - A - B  > 0 and  4 * A * B < (C- A - B) ** 2:
        ans = "Yes"

    print(ans)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import sys
from itertools import combinations, permutations, product, combinations_with_replacement, accumulate
from heapq import heapify, heappop, heappush, heappushpop
from bisect import bisect_left, bisect_right
from collections import Counter, defaultdict, deque
from math import sqrt, log, floor, ceil, factorial, cos, sin, pi #, gcd
from fractions import gcd
from operator import mul
from functools import reduce
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
INF = float('inf')
LINF = 2**63-1
NIL = -LINF
MOD = 10**9+7
MGN = 4
def II(): return int(input())
def IF(): return float(input())
def IS(): return input().replace('\n', '')
def ILCI(n: int): return [II() for _ in range(n)]
def ILCF(n: int): return [IF() for _ in range(n)]
def ILI(): return list(map(int, input().split()))
def ILLI(n: int): return [[int(j) for j in input().split()] for i in range(n)]
def ILF(): return list(map(float, input().split()))
def ILLF(n: int): return [[float(j) for j in input().split()] for i in range(n)]
def LTOS(lst: list, sep: str = ' '): return sep.join(map(str, lst))
def DEC(lst: list): return list(map(lambda x: x-1, lst))
def INC(lst: list): return list(map(lambda x: x+1, lst))


def main():
    A,B,C = ILI()

    ans = "No"
    # A + 2sqrt(AB) + B < C
    if C - A - B  > 0 and  4 * A * B < (C- A - B) ** 2:
        ans = "Yes"

    print(ans)


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
if 4 * a * b < (a + b -c) ** 2 and a + b - c < 0:
    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())
right = c - a - b
if right < 0:
    print('No')
else:
    right_2 = right ** 2
    left = 4 * a * b
    if left < right_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())
if (c-a-b) ** 2 - 4*a*b > 0 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:
    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) 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:
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 math
a,b,c = map(int,(input().split()))

left = 4 * a * b
d = c -a -b
right =d * d

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

s = c - a - b

if s < 0:
    ans = 'No'
else:
    if 4*a*b < s**2:
        ans = 'Yes'
    else:
        ans = 'No'

print(ans)

Submission status: Accepted

Solution code:
import numpy as np

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import math
a,b,c = map(int,input().split())
# a + b + 2r(ab) < c
# a + b - c < -2r(ab)
# c - a - b > 2r(ab)
# (c - a - b)**2 > 4ab
if c - a - b > 0 and (c - a - b)**2 > 4*a*b:
    print("Yes")
    exit()
print("No")

Submission status: Accepted

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

Submission status: Accepted

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

ab = 4*a*b
cab = c - a - b

if cab <= 0:
    print("No")
elif cab**2 - ab > 0:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
l = list(map(int, input().split()))
if 4*l[0]*l[1]<(l[2]-l[1]-l[0])**2 and l[2]-l[1]-l[0]>0:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
#coding utf-8
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())
rhs = c - a - b
if rhs > 0 and 4*a*b < rhs*rhs:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

#output
if 4*a*b < (c-a-b)**2 and a + b < c:
    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
input = sys.stdin.readline

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

#import numpy as np
import math
#abc_sq = np.sqrt(abc)
d = c - a - b
if 4*a*b < d**2 and d > 0:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
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:
import sys
input = sys.stdin.readline

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
from collections import *
import heapq
import math
import bisect
from itertools import permutations,accumulate,combinations,product
from fractions import gcd
def input():
    return sys.stdin.readline()[:-1]
def ruiseki(lst):
    return [0]+list(accumulate(lst))
mod=pow(10,9)+7

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

res = (c-a-b)**2 - 4* a*b 

if res > 0 and c-a-b > 0 :
  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 math
from decimal import Decimal

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

    if l<r:
        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)<0 and (c-a-b>0)):
  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] = list(map(int, input().split()))

left = 4*a*b
right = (c-a-b)
if right >= 0:
  if left < right*right: print("Yes")
  else: print("No")
if right < 0: print("No")

Submission status: Accepted

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

print(check(a, b, c))

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

Submission status: Accepted

Solution code:
from math import sqrt

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = list(map(int, input().split()))
a = i[0]
b = i[1]
c = i[2]

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

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:
from decimal import Decimal

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

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

Submission status: Accepted

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

Submission status: Accepted

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:
        print('No')

if __name__ == '__main__':
    main()

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

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

Submission status: Accepted

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

from math import sqrt

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

if __name__=='__main__':
  main()

Submission status: Accepted

Solution code:
mi = lambda : map(int,input().split())

a,b,c = mi()

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

Submission status: Accepted

Solution code:
#python3
from decimal import Decimal
def main():
    a, b, c = map(Decimal, input().split())
    if a.sqrt() + b.sqrt() < c.sqrt():
        print('Yes')    
    else:
        print('No')
main()

Submission status: Accepted

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

# 答えの出力
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

left3 = 4*a*b
right3 = right2

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

# 出力
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#Panasonic C
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 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: Accepted

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

Submission status: Accepted

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 + eps < sq_c
answer = 'Yes' if cond else 'No'
print(answer)

Submission status: Accepted

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

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
a, b, c = [int(s) for s in 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:
from decimal import Decimal, getcontext

getcontext().prec = 1000
a, b, c = map(int, input().split())
eps = Decimal(10) ** (-100)
if Decimal(a).sqrt() + Decimal(b).sqrt() + eps < Decimal(c).sqrt():
    print("Yes")
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())
if c-(a+b) >0:
	print('Yes' if (c-(a+b))**2 - 4*a*b > 0 else 'No')
else:
	print('No')

Submission status: Accepted

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

Submission status: Accepted

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
2(a*b) ** 0.5 < (c - a -b)
#c-a-b>0のとき
4(a*b) < (c - a -b)**2
a*b < (c-a-b)**2/4
"""

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

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