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

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

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
l = 4 * a * b
r = (c - a - b) * (c - a - b)

if c - a - b <= 0:
    print("No")
elif c < a or c < b:
    print("No")
elif l < r:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

l = 4 * a * b

r = (c - a - b) ** 2

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

Submission status: Accepted

Solution code:
from decimal import *

if __name__ == "__main__":
    a, b, c = map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
from collections import defaultdict,deque
from heapq import heappush, heappop
from bisect import bisect_left, bisect_right
import sys, random, itertools, math
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
sqrt = math.sqrt
def LI(): return list(map(int, input().split()))
def LF(): return list(map(float, input().split()))
def LI_(): return list(map(lambda x: int(x)-1, input().split()))
def II(): return int(input())
def IF(): return float(input())
def LS(): return list(map(list, input().split()))
def S(): return list(input().rstrip())
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = 1e10

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


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

Submission status: Accepted

Solution code:
# coding: utf-8

from math import pow

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

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

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

Submission status: Accepted

Solution code:
a,b,c=map(int,list(input().split(" ")))
import math
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:
from decimal import *
getcontext().prec = 81
a,b,c=map(int,input().split())
sa=Decimal(a).sqrt()
sb=Decimal(b).sqrt()
sc=Decimal(c).sqrt()

if sa+sb<sc:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
inpl = lambda: list(map(int,input().split()))
a, b, c = inpl()
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 Decimal
a, b, c = map(int, input().split())
print('Yes' if Decimal(a).sqrt()+Decimal(b).sqrt()<Decimal(c).sqrt() else 'No')

Submission status: Accepted

Solution code:
import sys

a, b, c = map(int, sys.stdin.readline().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:
#=============================================================================
# パナソニックコンテスト C
#=============================================================================

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
import math
a, b, c = [int(x) for x in input().split()]

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

c = c ** 2 - 4 * a * b

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
a,b,c = map(int,input().split())
if c < a+b:
    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())
d = c-a-b
if d < 0:
    print("No")
elif 4*a*b < d ** 2:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
a, b, c = map(int,input().split()) # 複数の数字を変数に格納

import math

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

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

Submission status: Accepted

Solution code:
from decimal import *
import math
a,b,c=input().strip().split(" ")

a,b,c=[int(a),int(b),int(c)]
getcontext().prec=500
p=Decimal(a).sqrt()
q=Decimal(b).sqrt()

r=Decimal(c).sqrt()

if p+q<r:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

assert solve(2, 3, 9) == False
assert solve(2, 3, 10) == True
assert solve(1, 1, 2) == False
assert solve(1, 1, 4) == False
assert solve(1, 1, 5) == True
assert solve(10 ** 9, 10 ** 9, 10 ** 9) == False
assert solve(4, 5, 16) == False

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

Submission status: Accepted

Solution code:
from __future__ import print_function
import sys
import os.path
import math
import collections
if os.path.isfile("test.inp"):
    sys.stdin = open("test.inp", "r")
    sys.stdout = open("test.out", "w")
elif os.path.isfile("panasonic2020.inp"):
    sys.stdin = open("panasonic2020.inp", "r")
    sys.stdin = open("panasonic2020.out", "w")
def eprint(*args, **kwargs):
    print(*args, file=sys.stderr, **kwargs)
def erange (a, b, x = 1):
    return range (a, b + 1, x)
ntest = 1
#ntest = int(input())
for itest in erange(1, ntest):
    a, b, c = map(int, input().split())
    if (c - a - b < 0):
        print ("No")
        sys.exit()
    if (4 * a * b < c * c + a * a + b * b - 2 * a * c - 2 * b * c + 2 * a * b):
        print ("Yes")
    else :
        print ("No")

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

a, b, c = map(int, input().split())
ans = "No"
A = Decimal(a).sqrt()
B = Decimal(b).sqrt()
C = Decimal(c).sqrt()

if A + B < C:
    ans = "Yes"
print(ans)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

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


d = 4*a*b
e = (c-a-b)**2

if (c-a-b <= 0):
    print("No")
elif d <e:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import numpy as np

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

lh = 4*a*b

rh = c**2 + (a+b)**2 -2*c*(a+b)
if (c < (a+b)):
	print("No")
elif lh<rh:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
from collections import defaultdict
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:
def inpl():
    return list(map(int, input().split()))


a, b, c = inpl()
if c > a + b and (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 4 * a * b < (c - a - b) ** 2:
    if c - a - b < 0:
        if 2 * math.sqrt(a * b) < c - a - b:
            print('Yes')
        else:
            print('No')
    else:
        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:
    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 > 0:
    print('Yes')
else:
    print('No')

Submission status: Accepted

Solution code:
import sys

input_methods=['clipboard','file','key']
using_method=0
input_method=input_methods[using_method]

IN=lambda : map(int, input().split())
mod=1000000007

#+++++

def check(a,b,c):
	#return a+b+2*((ab)**0.5) < c
	if a+b > c:
		return False
	return 4*a*b < (c-a-b)**2

def main():
	a, b , c = IN()
	ret = 'Yes' if check(a,b,c) else 'No'
	print(ret)
	
	
	
#+++++
isTest=False

def pa(v):
	if isTest:
		print(v)
		
def input_clipboard():
	import clipboard
	input_text=clipboard.get()
	input_l=input_text.splitlines()
	for l in input_l:
		yield l

if __name__ == "__main__":
	if sys.platform =='ios':
		if input_method==input_methods[0]:
			ic=input_clipboard()
			input = lambda : ic.__next__()
		elif input_method==input_methods[1]:
			sys.stdin=open('inputFile.txt')
		else:
			pass
		isTest=True
	else:
		pass
		#input = sys.stdin.readline
			
	ret = main()
	if ret is not None:
		print(ret)

Submission status: Accepted

Solution code:
import sys

a,b,c = map(int, input().split())
x = c - a - b
if x < 0:
	print('No')
	sys.exit()
if 4 * a * b < x**2:
	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])
# a+b+2*sqrt(ab) < c
# 2*sqrt(ab) < c-a-b
# 4ab < (c-a-b)^2 c-a-bの符号注意

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

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
if a + b >= c:
    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(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(' '))

left = 4 * a * b
right = c ** 2 + a ** 2 + b ** 2 - 2 * c * a + 2 * a * b - 2 * b * c

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

Submission status: Accepted

Solution code:
import math
a,b,c=map(int,input().split())
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
# import math
from decimal import *
input = sys.stdin.readline

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:
#!/usr/bin/env python
from __future__ import division, print_function

import os
import sys
from io import BytesIO, IOBase

if sys.version_info[0] < 3:
    from __builtin__ import xrange as range
    from future_builtins import ascii, filter, hex, map, oct, zip


def main():
    a, b, c = [int(s) for s in input().strip().split()]
    if a + b <= c and 4 * a * b < (c - a - b) ** 2:
        print("Yes")
    else:
        print("No")


# region fastio

BUFSIZE = 8192


class FastIO(IOBase):
    newlines = 0

    def __init__(self, file):
        self._fd = file.fileno()
        self.buffer = BytesIO()
        self.writable = "x" in file.mode or "r" not in file.mode
        self.write = self.buffer.write if self.writable else None

    def read(self):
        while True:
            b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
            if not b:
                break
            ptr = self.buffer.tell()
            self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
        self.newlines = 0
        return self.buffer.read()

    def readline(self):
        while self.newlines == 0:
            b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
            self.newlines = b.count(b"\n") + (not b)
            ptr = self.buffer.tell()
            self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
        self.newlines -= 1
        return self.buffer.readline()

    def flush(self):
        if self.writable:
            os.write(self._fd, self.buffer.getvalue())
            self.buffer.truncate(0), self.buffer.seek(0)


class IOWrapper(IOBase):
    def __init__(self, file):
        self.buffer = FastIO(file)
        self.flush = self.buffer.flush
        self.writable = self.buffer.writable
        self.write = lambda s: self.buffer.write(s.encode("ascii"))
        self.read = lambda: self.buffer.read().decode("ascii")
        self.readline = lambda: self.buffer.readline().decode("ascii")


def print(*args, **kwargs):
    """Prints the values to a stream, or to sys.stdout by default."""
    sep, file = kwargs.pop("sep", " "), kwargs.pop("file", sys.stdout)
    at_start = True
    for x in args:
        if not at_start:
            file.write(sep)
        file.write(str(x))
        at_start = False
    file.write(kwargs.pop("end", "\n"))
    if kwargs.pop("flush", False):
        file.flush()


if sys.version_info[0] < 3:
    sys.stdin, sys.stdout = FastIO(sys.stdin), FastIO(sys.stdout)
else:
    sys.stdin, sys.stdout = IOWrapper(sys.stdin), IOWrapper(sys.stdout)

input = lambda: sys.stdin.readline().rstrip("\r\n")

# endregion

if __name__ == "__main__":
    main()

Submission status: Accepted

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

input = sys.stdin.readline

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

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


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

Submission status: Accepted

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

if (a*b) * 4 < (c-a-b) ** 2 and c > a + b:
    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
        
    if 4*a*b < (c-a-b)**2:
        print(YES)
    else:
        print(NO)
    return


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 sys 
input = sys.stdin.readline
MOD = 10**9 +7
INF = 10**9

def main():
    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')
        exit()
    print('No')
if __name__=='__main__':
    main()

Submission status: Accepted

Solution code:
from math import sqrt
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:
import sys

stdin = sys.stdin

ns = lambda: stdin.readline().rstrip()
ni = lambda: int(stdin.readline().rstrip())
nm = lambda: map(int, stdin.readline().split())
nl = lambda: list(map(int, stdin.readline().split()))

a,b,c = nm()
eps = 10**-7

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

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(4100000)

import math

import logging

logging.basicConfig(level=logging.DEBUG)

logger = logging.getLogger(__name__)

from decimal import *


def resolve():
    # S = [x for x in sys.stdin.readline().split()][0]  # 文字列 一つ
    # N = [int(x) for x in sys.stdin.readline().split()][0]  # int 一つ
    a, b, c = [int(x) for x in sys.stdin.readline().split()]  # 複数int
    # h_list = [int(x) for x in sys.stdin.readline().split()]  # 複数int

    # grid = [list(sys.stdin.readline().split()[0]) for _ in range(N)]  # 文字列grid
    # v_list = [int(sys.stdin.readline().split()[0]) for _ in range(N)]
    # grid = [[int(x) for x in sys.stdin.readline().split()]
    #         for _ in range(N)]  # int grid

    logger.debug('{}'.format([]))

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


if __name__ == "__main__":
    resolve()

# AtCoder Unit Test で自動生成できる, 最後のunittest.main は消す
# python -m unittest template/template.py で実行できる
# pypy3 -m unittest template/template.py で実行できる

import sys
from io import StringIO
import unittest


class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)

    def test_入力例_1(self):
        input = """2 3 9"""
        output = """No"""
        self.assertIO(input, output)

    def test_入力例_2(self):
        input = """2 3 10"""
        output = """Yes"""
        self.assertIO(input, output)

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
p = 4*a*b
q = (c-a-b)**2

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

elif p<q:
    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 a>=c or b>=c:
 print('No')
elif 2*(a*b+b*c+a*c)<a**2+b**2+c**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())
import math
if (c-a-b) < 0:
  print("No")
elif 4*a*b < (c-a-b)*(c-a-b):
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
import math

a,b,c = list(map(int, input().split(' ')))
s = 4 * a * b
t = (c - a - b) ** 2

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

Submission status: Accepted

Solution code:
import math

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b, c = map(int, input().split())
l = 4 * a * b
r = (c - a - b) ** 2

if c - a - b < 0 or l >= r:
    print("No")
else:
    print("Yes")

Submission status: Accepted

Solution code:
a,b,c=map(int, raw_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())
flag=True
ans="No"
if c-a-b<0:
  flag=False
if flag==True and 4*a*b<(c-a-b)**2:
  ans="Yes"
print(ans)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
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:
#!/usr/bin/env python
# coding: utf-8

import math
def ri():
    return int(input())

def rl():
    return list(input().split())

def rli():
    return list(map(int, input().split()))

def main():
    a, b, c = rli()
    if c - a - b < 0:
        print('No')
        return
    if 4*a*b < (c-a-b)*(c-a-b):
        print('Yes')
    else:
        print('No')



if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#import sys
MOD = 10 ** 9 + 7
INFI = 10**10
#input = sys.stdin.readline
import math

import itertools

#import bisect

import copy
from functools import lru_cache

def sosuhante(n):
    for k in range(2, int(math.sqrt(n))+1):
        if n% k ==0:
            return False
    return True
def cmb(n, r):
    if n - r < r: r = n - r
    if r == 0: return 1
    if r == 1: return n

    numerator = [n - r + k + 1 for k in range(r)]
    denominator = [k + 1 for k in range(r)]

    for p in range(2,r+1):
        pivot = denominator[p - 1]
        if pivot > 1:
            offset = (n - r) % p
            for k in range(p-1,r,p):
                numerator[k - offset] /= pivot
                denominator[k] /= pivot

    result = 1
    for k in range(r):
        if numerator[k] > 1:
            result *= int(numerator[k])

    return result

def kingaku(a,b,n):
    keta=len(str(n))
    return a*n+b*keta

def my_index(l, x, default=False):
    if x in l:
        return l.index(x)
    else:
        return default

#    h,w,a,b = map(int, input().split())
#    c = [[0 for j in range(n)] for i in range(n)]



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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import decimal
ctx = decimal.Context(prec=1000000)


a,b,c = [decimal.Decimal(x, ctx) for x in input().split()]

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

Submission status: Accepted

Solution code:
from sys import stdin
def main():
    #入力
    readline=stdin.readline
    a,b,c=map(int,readline().split())
    if c-a-b<=0:
        print("No")
    elif 4*a*b<c**2+a**2+b**2-2*a*c+2*a*b-2*b*c:
        print("Yes")
    else:
        print("No")
if __name__=="__main__":
    main()

Submission status: Accepted

Solution code:
from decimal import *
getcontext().prec = 50
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:
#!/usr/bin/env python3
import sys
import decimal
import math
YES = "Yes"  # type: str
NO = "No"  # type: str


def solve(a: int, b: int, c: int):
    decimal.getcontext().prec = 22
    if((c-a-b)**2>4*(a*b) and c>a+b):print(YES)
    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:


def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))
import math


def main():
    mod=10**9+7
    a,b,c=MI()
    
    
    
    if 4*a*b<(c-(a+b))**2:
        f=1
    else:
        f=0
        
    if c<(a+b):
        f=0
        
    if f==1:
        print("Yes")
    else:
        print("No")

main()

Submission status: Accepted

Solution code:
from decimal import *

getcontext().prec = 20      # デフォルト28桁のところを20桁にする

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

A = Decimal(a).sqrt()
B = Decimal(b).sqrt()
C = Decimal(c).sqrt()
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 and (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()))
d = 4 * a * b
e = (c - a - b)**2
if c - a - b < 0:
    print("No")
elif d >= e :
    print("No")
else:
    print("Yes")

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys, math, itertools, collections, bisect
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
inf = float('inf') ;mod = 10**9+7
mans = inf ;ans = 0 ;count = 0 ;pro = 1

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    import sys
    import math
    a,b,c=list(map(int,sys.stdin.readline().split()))
    if c-a-b<0:
        return 'No'
    if 4*a*b < (c-a-b)**2:
        return 'Yes'
    else:
        return 'No'

print(main())

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

import math

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

Submission status: Accepted

Solution code:
import bisect
import collections
import sys

sys.setrecursionlimit(100000)
input = sys.stdin.readline
ACMOD = 1000000007
INF = 1 << 32


def lmi():
    return list(map(int, input().split()))


def llmi(n):
    return [lmi() for _ in range(n)]


a, b, c = lmi()

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