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:
#!/usr/bin/env python3
import sys
import math

YES = "Yes"  # type: str
NO = "No"  # type: str


def solve(a: int, b: int, c: int):
    if c - a - b > 0 and 4 * a * b < pow(c - a - b, 2):
        print(YES)
    else:
        print(NO)


# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
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: Accepted

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

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

if left < right and (c - a - b) > 0:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
#python3
def main():
    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')
main()

Submission status: Accepted

Solution code:
import sys
import math
import string
import fractions
import random
from operator import itemgetter
import itertools
from collections import deque
import copy
import heapq
import bisect

MOD = 10 ** 9 + 7
INF = float('inf')
input = lambda: sys.stdin.readline().strip()

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 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 (C-A-B)<0:
  print("No")
else:  
  if Decimal(4*A*B)<Decimal((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:
import math

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

x = c - a - b
if(x <= 0):
  print('No')
elif(4 * a * b < x ** 2):
  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:
import bisect,collections,decimal,itertools,math,numpy,string
def I(): return int(input())
def F(): return float(input())
def S(): return input()
def LI(): return list(map(int,input().split()))
##################################################
def main(a,b,c):
    if c-a-b < 0:
        return 'No'
    if 4*a*b < (c-a-b)**2:
        return 'Yes'
    return'No'
    
a,b,c = LI()
print(main(a,b,c))

Submission status: Accepted

Solution code:
import math
from decimal import Decimal

a, b, c = map(Decimal, input().split())
if (c - a - b > 0)  and 4 * a * b < c ** 2 - 2 * c * (a + b) + (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:
import math
inputli = input().split()
a=int(inputli[0])
b=int(inputli[1])
c=int(inputli[2])

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

Submission status: Accepted

Solution code:
# coding: utf-8
from decimal import Decimal

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

da = Decimal(a)
db = Decimal(b)
dc = Decimal(c)
ret = da.sqrt() + db.sqrt() < dc.sqrt()

print ['No','Yes'][ret]

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
from decimal import *
A,B,C = map(int,input().split())
DA,DB,DC = Decimal(A),Decimal(B),Decimal(C)
print("YNeos"[DA.sqrt()+DB.sqrt() >= DC.sqrt()::2])

Submission status: Accepted

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

out1 = (c-a-b)**2
out2 = 4*a*b

if out1-out2>0 and c-a-b>0:
  print('Yes')
else:
  print('No')

Submission status: Accepted

Solution code:
from decimal import Decimal, getcontext

getcontext().prec = 50

a, b, c = map(Decimal, input().split())
print('Yes' if a.sqrt() + b.sqrt() < c.sqrt() else 'No')

Submission status: Accepted

Solution code:
import math
#n = int(input())
#s = input()
a,b,c = map(int,input().split())
#da = list(map(int,input().split()))
#a = [int(input()) for i in 
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:
    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

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

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

if a.sqrt() + b.sqrt() < c.sqrt():
    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')
        exit()

    if 4 * a * b < pow(c - a - b, 2):
        is_big = True
    else:
        is_big = False

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

out1 = (c-a-b)*(c-a-b)
out2 = 4*a*b

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

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

a = Decimal(a)
b = Decimal(b)
c = Decimal(c)
ans = a.sqrt()+b.sqrt()-c.sqrt()
if ans <0:
	print("Yes")
else:
	print("No")

Submission status: Accepted

Solution code:
import sys
import numpy as np
from itertools import combinations
 
 
def input():
    return sys.stdin.readline()[:-1]
 
 
def solve():
    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')
 
    
 
 
if __name__ == "__main__":
    solve()

Submission status: Accepted

Solution code:
from decimal import Decimal, getcontext

getcontext().prec = 28

a, b, c = map(Decimal, input().split())
print('Yes' if a.sqrt() + b.sqrt() < c.sqrt() else 'No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
from decimal import *

sys.setrecursionlimit(10 ** 8)

input = sys.stdin.readline


def main():
    A, B, C = [int(x) for x in input().split()]

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


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

Submission status: Accepted

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

import sys


def LI():
    return list(map(int, sys.stdin.buffer.readline().split()))


def I():
    return int(sys.stdin.buffer.readline())


def LS():
    return sys.stdin.buffer.readline().rstrip().decode('utf-8').split()


def S():
    return sys.stdin.buffer.readline().rstrip().decode('utf-8')


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


def SRL(n):
    return [list(S()) for i in range(n)]


def MSRL(n):
    return [[int(j) for j in list(S())] for i in range(n)]

# ----------------------------------------------------------------


def main():

    a, b, c = LI()

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


main()

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
# Author: cr4zjh0bp
# Created: Sat Mar 14 13:58:50 UTC 2020
import sys
 
stdin = sys.stdin
inf = 1 << 60
mod = 1000000007
 
ni = lambda: int(ns())
nin = lambda y: [ni() for _ in range(y)]
na = lambda: list(map(int, stdin.readline().split()))
nan = lambda y: [na() for _ in range(y)]
nf = lambda: float(ns())
nfn = lambda y: [nf() for _ in range(y)]
nfa = lambda: list(map(float, stdin.readline().split()))
nfan = lambda y: [nfa() for _ in range(y)]
ns = lambda: stdin.readline().rstrip()
nsn = lambda y: [ns() for _ in range(y)]
ncl = lambda y: [list(ns()) for _ in range(y)]
nas = lambda: stdin.readline().split()

a, b, c = na()
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())

yes = (C - A - B > 0) and (4 * A * B) < (C - A - B) * (C - A - B)

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a ,b ,c = map(int,input().split())
#4*a*b < (c-a-b)**2　両辺を２乗することを思いつかなかった。
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 *
i = list(map(int, input().split()))

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

getcontext().prec = 50

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

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

Submission status: Accepted

Solution code:
import decimal
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: Accepted

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

Submission status: Accepted

Solution code:
from decimal import *

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    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')
if __name__ == "__main__":
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
import numpy

s = input().split(' ')
a = int(s[0])
b = int(s[1])
c = int(s[2])
d = c - a - b
#print(numpy.float128(math.sqrt(a)), numpy.float128(math.sqrt(b)), numpy.float128(math.sqrt(a)) + numpy.float128(math.sqrt(b)), numpy.float128(math.sqrt(c)))
if d**2 > 4*a*b and d > 0:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
from decimal import *

a, b, c = map(int, input().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")
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())
l = 4*a*b
r = (c-a-b)**2
if (a+b >= c):
    print("No")
else:
    if(l < r):
        print("Yes")
    else:
        print("No")

Submission status: Accepted

Solution code:
import sys

argument = sys.stdin.readline()
args = argument.split()
a = int(args[0])
b = int(args[1])
c = int(args[2])

d = c - a - b

result = (d > 0) and 4 * a * b < d**2
if result:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:


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

#getcontext().prec = 1000

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

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

Submission status: Accepted

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

d = c - a - b

if (4*a*b < d*d) and (0 < d):
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
import math
abc = input()
abc = abc.split(' ')
a = int(abc[0])
b = int(abc[1])
c = int(abc[2])

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#n = int(input())
#l = list(map(int, input().split()))

'''
A=[]
B=[]
for i in range():
    a, b = map(int, input().split())
    A.append(a)
    B.append(b)'''


import sys
input = sys.stdin.readline
a, b, c = list(map(int, input().split()))
def sq(x):
    x**=2
    return x
#print(a**(1/2),b**(1/2),c**(1/2))
if c-a-b>0 and 2*(a*b+b*c+c*a)<sq(a)+sq(b)+sq(c):
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
import numpy as np

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

if b > a:
    temp = a
    a = b
    b = temp

res = c - a
res = res - b
temp = 4*a*b


if res <0:
    print "No"
elif res**2 > temp:
    print "Yes"
else:
    print "No"

Submission status: Accepted

Solution code:


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

getcontext().prec = 500

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

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

Submission status: Accepted

Solution code:

a, b ,c=map(int,input().split())
#4ab<(c-a-b)^2


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

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:
# -*- coding: utf-8 -*-

import sys
from decimal import Decimal

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
EPS = 10 ** -14

a, b, c = MAP()

if Decimal(a).sqrt() + Decimal(b).sqrt() < Decimal(c).sqrt():
    Yes()
else:
    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())

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

Submission status: Accepted

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

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

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

d = c-a-b
#left = a * b
#right = (d**2)/4
left = 4 * a * b
right = d**2
if d>0 and left < right:
  print('Yes')
else:
  print('No')

Submission status: Accepted

Solution code:
def main(a,b,c):
    if c-a-b < 0:
        return "No"
    else:
        if 4*a*b < (c-a-b)**2:
            return "Yes"
        else: return "No"

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

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

h = 4*a*b
m = (c-a-b)**2

if (c-a-b)<0:
    print("No")
elif h<m:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

buf = c - a - b

#if pow(a, 2) + pow(b, 2) + pow(c, 2) - 2*a*b - 2*b*c - 2*c*a > 0 :
if buf > 0 and buf ** 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:
import math

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

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

print(ans)

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 8)

input = sys.stdin.readline


def main():
    A, B, C = [int(x) for x in 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 ((c-a-b))**2 > 4*a*b and c-a-b > 0:
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
import math

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

a = A[0]
b = A[1]
c = A[2]

d = c - a - b
if((d>0)&(4*a*b<d*d)):
  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");exit()

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 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 and 2 * (a * b + b * c + c * a) < a * a + b * b + c * 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:
[a, b, c] = list(map(int, input().split()))

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

print(flg)

Submission status: Accepted

Solution code:
import sys
readline = sys.stdin.readline
from decimal import Decimal, getcontext
getcontext().prec = 1000
A, B, C = map(Decimal, readline().split())
half = Decimal(0.5)
EPS = Decimal(1e-100)
print('Yes' if A**half + B**half + EPS< C**half else 'No')

Submission status: Accepted

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

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

if val>0 and c-a-b>0:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
import math
def solve():
    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')
    
if __name__ == '__main__':
    solve()

Submission status: Accepted

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

if c-a-b>0 and 4*a*b<pow(c-b-a,2):ans = "Yes"

print(ans)

Submission status: Accepted

Solution code:
n = input() 
arr = [int(x) for x in n.split()] 
a=arr[0]
b=arr[1]
c=arr[2]

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

else:
    d = (4*a*b)
    e = (c-a-b)*(c-a-b)

    if e>d:
        print("Yes")
    else:
        print("No")

Submission status: Accepted

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

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

else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = [int(_) for _ in input().split()]

def solve(a, b, c):
    
    # if c < a or c < b:
    #     return "No"

    # if a + 2*sqrt(a*b) + b - c < 0.0:
    #     return "Yes"
    # else:
    #     return "No"
    
    d = c-a-b
    if  0 < d and 4*a*b < d * d:
        return "Yes"
    else:
        return "No"

print(solve(N[0], N[1], N[2]))

Submission status: Accepted

Solution code:
import math

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

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

Submission status: Accepted

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

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import math as m
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=list(map(int,input().split()))
cab=c-a-b
ab4=a*b*4
if cab**2 > ab4 and cab>0:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal

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

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

Submission status: Accepted

Solution code:
# import bisect
# import copy
# import fractions
#import math
#import decimal
# import numpy as np
# from collections import Counter, deque
# from itertools import accumulate,permutations, combinations,combinations_with_replacement,product

def resolve():
    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')

resolve()

Submission status: Accepted

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

if s>=0:
  if Decimal(4*a*b)< Decimal(s**2):
    print("Yes")
  else:
    print("No")
else:
  print("No")

Submission status: Accepted

Solution code:
import sys
import os
import math
from decimal import Decimal

Q = 10 ** -14


def main():
    if os.getenv("LOCAL"):
        sys.stdin = open("input.txt", "r")

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



if __name__ == '__main__':
    main()

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

Submission status: Accepted

Solution code:
#coding:utf-8
import sys,os
from collections import defaultdict, deque
from fractions import gcd
from math import ceil, floor
sys.setrecursionlimit(10**6)
write = sys.stdout.write
dbg = (lambda *something: print(*something)) if 'TERM_PROGRAM' in os.environ else lambda *x: 0
def main(given=sys.stdin.readline):
    input = lambda: given().rstrip()
    LMIIS = lambda: list(map(int,input().split()))
    II = lambda: int(input())
    XLMIIS = lambda x: [LMIIS() for _ in range(x)]
    YN = lambda c : print('Yes') if c else print('No')
    MOD = 10**9+7

    a,b,c = LMIIS()
    #YN( ((a**0.5)+(b**0.5)) < (c**0.5))
    #YN((a**2+b**2+c**2+2*a*b-2*b*c-2*c*a ) > (4*a*b))
    YN(((c-b-a)**2) > (4*a*b) and c-b-a > 0)

if __name__ == '__main__':
    main()

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:
base = input().split()
a = int(base[0])
b = int(base[1])
c = int(base[2])
if c**2+a**2+b**2+2*a*b-2*a*c-2*b*c>4*a*b and c-a-b>0:
    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('Yes')
else:
	print('No')

Submission status: Accepted

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

[a, b, c] = [int(i) for i in 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 = map(int, input().split())
    if c - a - b <= 0:
        print("No")
    elif 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 c - a - b > 0 and (c - a - b) ** 2  > 4 * a * b:
    print("Yes")
else:
    print("No")