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:
import random as rng
import itertools as it
import collections as col
import heapq as hq
import sys
import copy as cp
sys.setrecursionlimit(10**9)


def dump_impl(*objects):
    print(*objects, file=sys.stderr)


def dump_dummy(*objects):
    pass


dump = dump_impl if "DEBUG" in sys.argv else dump_dummy

a, b, c = map(int, input().split())
# dump(S)
cab = c-a-b
ab4 = 4*a*b
print("Yes" if (cab >= 0 and ab4 < cab*cab) else "No")

Submission status: Accepted

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


import math

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal

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

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

Submission status: Accepted

Solution code:
from decimal import *
a, b, c = [Decimal(i).sqrt() for i in input().strip().split(" ")]

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from decimal import Decimal


def main():
    A, B, C = map(int, input().split())

    if Decimal(A)**Decimal(0.5) + Decimal(B)**Decimal(0.5) < Decimal(C)**Decimal(0.5):
        print('Yes')
    else:
        print('No')


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
import sys,collections as cl,bisect as bs,math
from decimal import *
getcontext().prec = 50
sys.setrecursionlimit(100000)
input = sys.stdin.readline
mod = 10**9+7
Max = sys.maxsize
def l(): #intのlist
    return list(map(int,input().split()))
def m(): #複数文字
    return map(int,input().split())
def onem(): #Nとかの取得
    return int(input())
def s(x): #圧縮
    a = []
    aa = x[0]
    su = 1
    for i in range(len(x)-1):
        if aa != x[i+1]:
            a.append([aa,su])
            aa = x[i+1]
            su = 1
        else:
            su += 1
    a.append([aa,su])
    return a
def jo(x): #listをスペースごとに分ける
    return " ".join(map(str,x))
def max2(x): #他のときもどうように作成可能
    return max(map(max,x))
def In(x,a): #aがリスト(sorted)
    k = bs.bisect_left(a,x)
    if k != len(a) and a[k] ==  x:
        return True
    else:
        return False
"""
def nibu(x,n,r):
    ll = 0
    rr = r
    while True:
        mid = (ll+rr)//2

    if rr == mid:
        return ll
    if (ここに評価入れる):
        rr = mid
    else:
        ll = mid+1
"""

a,b,c = m()

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

def f(a, b, c):
    s = c - a - b
    if s < 0:
        return False
    return 4*a*b < s**2

print("Yes" if f(a, b, c) else "No")

Submission status: Accepted

Solution code:
import numpy as np
import collections
import math
from decimal import *

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


def fl(x):
    digits = 13
    form = '%.'+str(digits-1)+'e'
    return float((form % x))

answer=0
if(len(str(c))>5):
    if(Decimal(a).sqrt()+Decimal(b).sqrt()<Decimal(c).sqrt()):
        print("Yes")
        exit()
    else:
        print("No")
        exit()
else:
    if(fl(fl(np.sqrt(a))+fl(np.sqrt(b)))<fl(np.sqrt(c))):
        print("Yes")
        exit()
    else:
        print("No")
        exit()

Submission status: Accepted

Solution code:
# Code for C - Sqrt Inequality
# Use input() to fetch data from STDIN
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())
N = 4 * a * b
M = (c - a - b) * (c - a - b)
if (c - a - b) < 0:
    print("No")
elif N < M:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
YES = "Yes"  # type: str
NO = "No"  # type: str


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


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

Submission status: Accepted

Solution code:
import math
d = input().split(" ")
a = int(d[0])
b = int(d[1])
c = int(d[2])
e = a + b - c
f = 4*a*b
if e < 0 and e*e > f:
	print("Yes")
else:
	print("No")

Submission status: Accepted

Solution code:
from decimal import *
getcontext().prec = 20      # デフォルト28桁のところを20桁にする
def sq(n):
    m = Decimal(n).sqrt()
    return m

import math
a, b, c = list(map(int, input().split()))
# def sq(a):
#     aa = math.sqrt(a)
#     return aa
if (sq(a) + sq(b)) < sq(c):
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

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

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

Submission status: Accepted

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

# from math import sqrt
import decimal

a2 = decimal.Decimal(a)
b2 = decimal.Decimal(b)
c2 = decimal.Decimal(c)

a2 = a2.sqrt()
b2 = b2.sqrt()
c2 = c2.sqrt()


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

if a2 + b2 < c2:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
from decimal import *

getcontext().prec = 99

def solve():
    N, M, L = map(int, input().split())
    l = Decimal(N).sqrt() + Decimal(M).sqrt()
    r = Decimal(L).sqrt()
    return 'Yes' if l < r else 'No'

print(solve())

Submission status: Accepted

Solution code:
from decimal import Decimal
a, b, c = map(Decimal, input().split())
half = Decimal('0.5')
if a ** half + b ** half < c ** half:
  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 decimal
D = decimal.Decimal

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

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

Submission status: Accepted

Solution code:
import decimal 



def resolve():
    a,b,c = [decimal.Decimal(i) for i in input().split()]

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

if __name__ == "__main__":
    resolve()

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:
a,b,c = map(int, input().split())			# "5 7" -> ["5", "7"] -> 5, 7 => N=5,K=7

if (c - a - b)<=0:
	print("No")
	exit(0)

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

Submission status: Accepted

Solution code:
import sys
import math
from decimal import *
input = sys.stdin.readline
sys.setrecursionlimit(10**6)


def main():
    a, b, c = map(int, input().split())
    if Decimal(a).sqrt() + Decimal(b).sqrt() < Decimal(c).sqrt():
        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:
import math
a, b, c = map(int, input().split())

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


print(ans)

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

Submission status: Accepted

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

Submission status: Accepted

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

x=4*a*b-(c-a-b)**2
if a+b-c>0:
  print("No")
elif x<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:
from math import sqrt
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:
# C - Sqrt Inequality
from decimal import Decimal


def main():
    A, B, C = map(Decimal, input().split())
    print("Yes" if A + B + Decimal("2") * (A * B).sqrt() < C else "No")


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sat Mar 14 21:26:12 2020

@author: Kanaru Sato
"""

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

if c < a+b:
    print("No")
else:
    A = a**2
    B = b**2
    C = c**2
    l = a*c
    m = b*c
    n = a*b
    if 0 < A+B+C-2*l-2*m-2*n:
        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 or a+b>c:
    print('No')
else:
    print('Yes')

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:
import math
from decimal import Decimal
from collections import deque
def main():
    a,b,c = tuple([int(t)for t in input().split()])

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

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
from decimal import *
from heapq import heappush, heappop, heapify
from collections import deque, defaultdict, Counter
import itertools
from itertools import permutations, combinations, accumulate
import sys
import bisect
import string
import math
import time


def I(): return int(input())


def S(): return input()


def MI(): return map(int, input().split())


def MS(): return map(str, input().split())


def LI(): return [int(i) for i in input().split()]


def LI_(): return [int(i)-1 for i in input().split()]


def StoI(): return [ord(i)-97 for i in input()]


def ItoS(nn): return chr(nn+97)


def input(): return sys.stdin.readline().rstrip()


def show(*inp, end='\n'):
    if show_flg:
        print(*inp, end=end)


YNL = {False: 'No', True: 'Yes'}
YNU = {False: 'NO', True: 'YES'}
MOD = 10**9+7
inf = float('inf')
IINF = 10**10
l_alp = string.ascii_lowercase
u_alp = string.ascii_uppercase
ts = time.time()
sys.setrecursionlimit(10**6)
nums = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10']

show_flg = False
# show_flg = True


def int_sqrt2(n):
    def f(prev):
        while True:
            m = (prev + n / prev) / 2
            if m >= prev:
                return prev
            prev = m

    return f(int(math.sqrt(n) * (1 + 1e-10)))



def main():
    a, b, c = MI()
    getcontext().prec = 20

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
from decimal import Decimal



a,b,c = map(int, input().split())
a,b,c = Decimal(a), Decimal(b), 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 c <= a + b:
    print('No')
    exit()

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

Submission status: Accepted

Solution code:
from math import sqrt

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
from math import sqrt
from decimal import getcontext, Decimal
getcontext().prec = 20
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 = list(map(int, input().split()))
y = (a + b - c) ** 2 - 4 * a * b
condition = y < 0
if c - a - b < 0:
    print("No")
elif 4 * a * b - (a + b - c) ** 2 < 0:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

s = c**2 + (a + b)**2 - 2 * c * (a + b) - 4 * a * b

if c < a + b:
    print('No')
elif s > 0:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal
a,b, c = map(int, 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())
d = 4 * a * b
e = (c - a - b) * (c - a - b)
if d < e and 0 < (c - 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 < -1:
    print("No")
else:
    if 4*a*b < (c-a-b)**2:
        print("Yes")
    else:
        print("No")

Submission status: Accepted

Solution code:
from sys import stdin
import numpy as np
#from operator import itemgetter

#N = int(stdin.readline().rstrip().split()[0])
a,b,c = [int(x) for x in stdin.readline().rstrip().split()]
#A = [int(x) for x in stdin.readline().rstrip().split()]

MOD = 10**9 + 7
"""
sqrtab = np.sqrt(a*b)
if 2*sqrtab < c-a-b:
  print("Yes")
else:
  print("No")

sqrta = np.sqrt(a)
sqrtb = np.sqrt(b)
sqrtc = np.sqrt(c)
if sqrta+sqrtb < sqrtc:
  print("Yes")
else:
  print("No")
"""
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())
l = 4*a*b
r = (c-(a+b))*(c-(a+b))
if c < (a+b):
    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)) * (c - (a + b))) and
    ((c - (a + b)) > 0)):
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
x = input().split()
a = int(x[0])
b = int(x[1])
c = int(x[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:
from sys import stdin,setrecursionlimit
import math
setrecursionlimit(10**7)
a,b,c = map(int,stdin.readline().rstrip().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())
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:
def main():
    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')


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import *

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

sa = Decimal(str(a)).sqrt()
sb = Decimal(str(b)).sqrt()
sc = Decimal(str(c)).sqrt()

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

Submission status: Accepted

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

if R < 0:
    print('No')
else:
    L = 4 * a * b
    R = (c - (a + b)) ** 2
    print('Yes' if L < R else 'No')

Submission status: Accepted

Solution code:
from decimal import Decimal
from math import sqrt
a, b, c = [Decimal(i) for i in input().split()]
print('Yes') if a.sqrt() + b.sqrt() < c.sqrt() else print('No')

Submission status: Accepted

Solution code:
from decimal import *
a,b,c=map(int,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:
from decimal import *
getcontext().prec = 20
from math import sqrt
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 and (a+b-c)**2>4*a*b:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
import sys

stdin = sys.stdin

ns = lambda: stdin.readline().rstrip()
ni = lambda: int(stdin.readline().rstrip())
nm = lambda: map(int, stdin.readline().split())
nf = lambda: map(float, stdin.readline().split())
nl = lambda: list(map(int, stdin.readline().split()))
mod = 10**9 + 7 
sys.setrecursionlimit(1000010)


a,b,c = nm()

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

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

Submission status: Accepted

Solution code:
from decimal import *

getcontext().prec = 20

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


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

left = a + b
right = c


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

Submission status: Accepted

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

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


def solve(a: int, b: int, c: int):
    if c-a-b <=0:
        print(NO)
        return
    ab = a*b*4
    r = (c-a-b)**2
    print(YES if ab < r else NO)
    return


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

Submission status: Accepted

Solution code:
import sys
sr = lambda: sys.stdin.readline().rstrip()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))
def resolve():
    a, b, c = lr()
    if a+b-c > 0:
        print('No')
    elif (a+b-c)**2 > 4*a*b:
        print('Yes')
    else:
        print('No')
resolve()

Submission status: Accepted

Solution code:
import itertools
from collections import deque,defaultdict,Counter
from itertools import accumulate
import bisect
from heapq import heappop,heappush,heapify
from fractions import gcd
from copy import deepcopy
import math
import queue
import numpy as np
#import sympy as syp(素因数分解とか)
Mod = 1000000007
import sys
sys.setrecursionlimit(100000) 
  
def sieve_of_eratosthenes(n):
    if not isinstance(n,int):
        raise TypeError("n is not int")
    if n<2:
        raise ValueError("n is not effective")
    prime = [1]*(n+1)
    for i in range(2,int(math.sqrt(n))+1):
        if prime[i] == 1:
            for j in range(2*i,n+1):
                if j%i == 0:
                    prime[j] = 0
    res = []
    for i in range(2,n+1):
        if prime[i] == 1:
            res.append(i)
    return res

 
class UnionFind:
    def __init__(self,n):
        self.parent = [i for i in range(n+1)]
        self.rank = [0 for i in range(n+1)]
    
    def findroot(self,x):
        if x == self.parent[x]:
            return x
        else:
            y = self.parent[x]
            y = self.findroot(self.parent[x])
            return y
    
    def union(self,x,y):
        px = self.findroot(x)
        py = self.findroot(y)
        if px < py:
            self.parent[py] = px
        else:
            self.parent[px] = py
 
    def same_group_or_no(self,x,y):
        return self.findroot(x) == self.findroot(y)

def main(): #startline--------------------------------------------
    a,b,c = map(int,input().split())
    print("Yes" if 4*a*b < (c-a-b)**2 and c > a+b else "No")
if __name__ == "__main__":
    main() #endline===============================================

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
v1, v2, v3 = [int(x) for x in input().split()]
 
flag = (4 * v1 * v2 < (v3 - v1 - v2) ** 2)
if v3 - v1 - v2 < 0:
	print("No")
else:
	print("Yes" if flag else "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:
    eq = (c-a-b)**2-4*a*b
else:
    eq = 0
if eq > 0:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import math

def inp():
    return input()
def iinp():
    return int(input())
def inps():
    return input().split()
def miinps():
    return map(int,input().split())
def linps():
    return list(input().split())
def lmiinps():
    return list(map(int,input().split()))
def lmiinpsf(n):
    return [list(map(int,input().split()))for _ in range(n)]

a,b,c = miinps()
r = (c-a-b)
if r < 0:
  print("No")
  exit()
r = r**2
l = 4*a*b
if l < r:
  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())
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 = input().split(" ")
a, b, c = int(a), int(b), int(c)

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

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

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

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

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

Submission status: Accepted

Solution code:
def solve():
    a, b, c = [int(_) for _ in raw_input().split()]
    if a + b >= c:
        print 'No'
    elif 4 * a * b < (c - a - b)**2:
        print 'Yes'
    else:
        print 'No'

if __name__ == '__main__':
    solve()

Submission status: Accepted

Solution code:
import sys
import math
#sys.stdin=open("input.in","r")
#sys.stdout=open("output.out","w")
import decimal
decimal.getcontext().prec = 50
#root = decimal.Decimal('123').sqrt()
n,m,o=map(int,input().split())
if((decimal.Decimal(m).sqrt()+decimal.Decimal(n).sqrt())<decimal.Decimal(o).sqrt()):
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
s = input().split()
a = int(s[0])
b = int(s[1])
c = int(s[2])
if c < (a + b):
    print("No")
elif 4 * (a * b) < (c - a - b) * (c - a - b):
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
a, b, c = map(int, input().split())
t = a + b - c

ok = a * b * 2
ng = 0
while ok - ng > 1:
  m = (ok + ng) // 2
  if (a * b * 4) < (m ** 2): ok = m
  else: ng = m
if t + ok <= 0: print("Yes")
else: print("No")

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
from decimal import *
getcontext().prec = 20
a, b, c = map(int, 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())
print("Yes" if c-a-b > 0 and a*b*4 < (c-a-b)**2 else "No")

Submission status: Accepted

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

getcontext().prec = 20      # デフォルト28桁のところを20桁にする
m = Decimal(a*b).sqrt()
if a+b-c+2*m < 0:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
a, b, c = map(int, input().split())
if a + b <= c:
    print(["No", "Yes"][4 * a * b < (c - a - b) ** 2])
else:
    print("No")

Submission status: Accepted

Solution code:
import sys
import decimal

sys.setrecursionlimit(10 ** 6)
input = sys.stdin.readline
a, b, c = [int(x) for x in input().strip().split()]
if decimal.Decimal(a).sqrt() + decimal.Decimal(b).sqrt() < decimal.Decimal(c).sqrt():
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

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

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

import sys
import math


debug = False

def log(text):
    if debug:
        print(text)

def parse_input(lines_as_string = None):

    global debug
    lines = []
    if lines_as_string is None:
        debug = False
        # for line in sys.stdin:
        #     lines.append(line)
        lines.append(input())
    else:
        debug = True
        lines = [e for e in lines_as_string.split("\n")][1:-1]
    
    (a, b, c) = [int(e) for e in lines[0].split(" ")]

    return (a, b, c)


def solve(a, b, c):



    result = 'No'
    d = c - a - b
    if d > 0:
        if 4 * a * b < d * d:
            result = 'Yes'

    return  result


def main():
    # 出力
    result = solve(*parse_input())
    if isinstance(result, list):
        for r in result:
            print("%s" % r, sep='')
    else:
        print("%s" % result, sep='')

if __name__ == '__main__':

    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import math

a, b, c=input().strip().split()
a, b, c=[int(a), int(b), int(c)]

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

Submission status: Accepted

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