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

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

Submission status: Accepted

Solution code:
def main():
    from decimal import Decimal
    a, b, c = (Decimal(i) for i in input().split())
    if a.sqrt() + b.sqrt() < 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-b-a<0:
    print('No')
    exit()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from collections import deque,defaultdict,Counter
from heapq import heapify,heappop,heappush,heappushpop
from copy import copy,deepcopy
from itertools import product,permutations,combinations,combinations_with_replacement
from bisect import bisect_left,bisect_right
from math import sqrt,gcd,ceil,floor,factorial
# from fractions import gcd
from functools import reduce
from pprint import pprint
from statistics import mean,median,mode
import sys
sys.setrecursionlimit(10 ** 6)

INF = float("inf")

def mycol(data,col):
    return [ row[col] for row in data ]

def mysort(data,col,reverse=False):
    data.sort(key=lambda x:x[col],reverse=revese)
    return data

def mymax(data):
    M = -1*float("inf")
    for i in range(len(data)):
        m = max(data[i])
        M = max(M,m)
    return M

def mymin(data):
    m = float("inf")
    for i in range(len(data)):
        M = min(data[i])
        m = min(m,M)
    return m

def mycount(ls,x):
    # lsはソート済みであること
    l = bisect_left(ls,x)
    r = bisect_right(ls,x)
    return (r-l)

def mydictvaluesort(dictionary):
    return sorted( dictionary.items(), key=lambda x:x[1] )

def mydictkeysort(dictionary):
    return sorted( dictionary.items(), key=lambda x:x[0] )

def myoutput(ls,space=True):
    if space:
        if len(ls)==0:
            print(" ")
        elif type(ls[0])==str:
            print(" ".join(ls))
        elif type(ls[0])==int:
            print(" ".join(map(str,ls)))
        else:
            print("Output Error")
    else:
        if len(ls)==0:
            print("")
        elif type(ls[0])==str:
            print("".join(ls))
        elif type(ls[0])==int:
            print("".join(map(str,ls)))
        else:
            print("Output Error")

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

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

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

def CI(n):
    return [ int(input()) for _ in range(n) ]

def LI(n):
    return [ list(map(int,input().split())) for _ in range(n) ]

def S():
    return input()

def MS():
    return input().split()

def RS():
    return list(input())

def CS(n):
    return [ input() for _ in range(n) ]

def LS(n):
    return [ list(input()) for _ in range(n) ]

# ddict = defaultdict(lambda: 0)
# ddict = defaultdict(lambda: 1)
# ddict = defaultdict(lambda: int())
# ddict = defaultdict(lambda: list())
# ddict = defaultdict(lambda: float())

a,b,c = MI()

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

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

if s<u:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
def LI():
    return list(map(int, input().split()))


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

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 < d**2 else "No")

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split())
r = c-a-b
if r < 0:
    print('No')
else:
    l = 4*a*b
    if l < r**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:
# C - Sqrt Inequality
import decimal
a,b,c = input().split()
a,b,c = map(decimal.Decimal,[a,b,c])
sqrt = decimal.Decimal(0.5)
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 and 4 * a * b < (c - a - b) ** 2:
        print("Yes")
    else:
        print("No")


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
from sys import exit
from collections import deque
from bisect import bisect_left, bisect_right, insort_left, insort_right #func(リスト,値)
from heapq import heapify, heappop, heappush
from itertools import product, permutations, combinations, combinations_with_replacement
from functools import reduce
from math import *

sys.setrecursionlimit(10**6)
INF = 10**20
eps = 1.0e-20
MOD = 10**9+7

def lcm(x,y):
    return x*y//gcd(x,y)
def lgcd(l):
    return reduce(gcd,l)
def llcm(l):
    return reduce(lcm,l)
def mint():
    return map(int,input().split())
def lint():
    return list(map(int,input().split()))
def ilint():
    return int(input()), list(map(int,input().split()))
def judge(x, l=['Yes', 'No']):
    print(l[0] if x else l[1])
def lprint(l, sep='\n'):
    for x in l:
        print(x, end=sep)
def ston(c, c0='a'):
    return ord(c)-ord(c0)
def ntos(x, c0='a'):
    return chr(x+ord(c0))
class counter(dict):
    def __init__(self, *args):
        super().__init__(args)
    def add(self,x):
        self.setdefault(x,0)
        self[x] += 1

a,b,c = mint()
judge(c-(a+b)>0 and (c-(a+b))**2>4*a*b)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from fractions import Decimal

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

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

Submission status: Accepted

Solution code:
import bisect,collections,copy,itertools,math,string
import sys
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())
def main():
    a,b,c = LI()
    ans = 4*a*b<(c-a-b)**2 and c-a-b>0
    print("Yes" if ans else "No")
main()

Submission status: Accepted

Solution code:
import sys
import heapq
from decimal import Decimal

input = sys.stdin.readline
a, b, c = map(str, input().split())

root_a = Decimal(a)**Decimal('0.5')
root_b = Decimal(b)**Decimal('0.5')
root_c = Decimal(c)**Decimal('0.5')


if root_a + root_b < root_c:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a,b,c=map(int,input().split())
if 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 *
from math import *
l=list(map(int,input().split()))
x=Decimal(l[0])**(Decimal(0.5))
y=Decimal(l[1])**(Decimal(0.5))
z=Decimal(l[2])**(Decimal(0.5))
if(x+y<z):
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
import math
from math import gcd,pi,sqrt
INF = float("inf")

import sys
sys.setrecursionlimit(10**6)
import itertools
from collections import Counter,deque
def i_input(): return int(input())
def i_map(): return map(int, input().split())
def i_list(): return list(i_map())
def i_row(N): return [i_input() for _ in range(N)]
def i_row_list(N): return [i_list() for _ in range(N)]
def s_input(): return input()
def s_map(): return input().split()
def s_list(): return list(s_map())
def s_row(N): return [s_input for _ in range(N)]
def s_row_str(N): return [s_list() for _ in range(N)]
def s_row_list(N): return [list(s_input()) for _ in range(N)]


def main():
    a,b,c = i_map()
    if a > c or b > c:
        print("No")
        exit()
    if 4*a*b < (c-a-b)**2:
    # if sqrt(a) + sqrt(b) < sqrt(c):
        print("Yes")
    else:
        print("No")


if __name__=="__main__":
    main()

Submission status: Accepted

Solution code:
# https://atcoder.jp/contests/panasonic2020/tasks/panasonic2020_c

from decimal import Decimal

import sys
# sys.setrecursionlimit(100000)


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


def input_int():
    return int(input())


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


def main():
    a, b, c = input_int_list()
    sqrt_a = Decimal(a)**Decimal("0.5")
    sqrt_b = Decimal(b)**Decimal("0.5")
    sqrt_c = Decimal(c)**Decimal("0.5")
    if sqrt_a + sqrt_b < sqrt_c:
        print("Yes")
    else:
        print("No")
    return


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
import sys


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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal

a,b,c = map(str,input().split()) # Decimalを使う場合，文字列で渡す
a_sq = Decimal(a).sqrt()
b_sq = Decimal(b).sqrt()
c_sq = Decimal(c).sqrt()

if a_sq + b_sq < c_sq:
  print("Yes")
else:
  print("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 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())
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:
from decimal import Decimal
a, b, c = input().split()
a = Decimal(a)
b = Decimal(b)
c = Decimal(c)
if a.sqrt() + b.sqrt() < c.sqrt():
  print('Yes')
else:
  print('No')

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

t = c-a-b

if t <= 0:
    print('No')
    exit()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

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

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

print(main())

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def cin():  return list(map(int,input().split()))

a, b, c = cin()
res1 = 4 * a * b
res2 = (c - a - b) ** 2
if c - a - b <= 0:  print("No")
else:
    if res1 < res2:  print("Yes")
    else:  print("No")

Submission status: Accepted

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

Submission status: Accepted

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

    print(ans)


if __name__ == "__main__":
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

# from numba import njit

# input = stdin.readline

# @njit
def solve(a,b,c):
  return c-a-b >= 0 and pow(c-a-b,2) > 4*a*b



def main():
  a,b,c = map(int,input().split())
  print("Yes" if solve(a,b,c) else "No")
  return

if __name__ == '__main__':
  main()

Submission status: Accepted

Solution code:
#import sys
#import numpy as np
import math
#from fractions import Fraction
import itertools
from collections import deque
from collections import Counter
#import heapq
#from fractions  import gcd
#input=sys.stdin.readline
import bisect
a,b,c=map(int,input().split())
if 4*a*b<(c-a-b)**2 and (c-a-b)>0:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:

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

x = A * B * 4
y = (C - A - B) ** 2
if x < y and C - A - B > 0:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
from typing import List


def main():
    nums = [int(n) for n in input().split()]

    print('Yes') if si(nums) else print('No')


def si(nums: List[int]) -> bool:
    a, b, c = nums

    if 4 * a * b < (c - a - b) ** 2 and (c - a - b) > 0:
        return True

    return False


if __name__ == '__main__':
    main()

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 typing import List


def main():
    nums = [int(n) for n in input().split(' ')]

    if si(nums):
        print('Yes')
    else:
        print('No')


def si(nums: List[int]) -> bool:
    result = False
    a, b, c = nums

    if 4 * a * b < (c - a - b) ** 2 and (c - a - b) > 0:
        result = True

    return result


if __name__ == '__main__':
    main()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

elif 4 * a * b < (c - a - b) ** 2:
    print('Yes')

else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys,math,collections,itertools
input = sys.stdin.readline

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal

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

if a + b < c - (2*(Decimal(a*b).sqrt())):
    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())
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 = 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:
from decimal import Decimal

a,b,c = map(int, input().split())
def convert(x):
    return Decimal(str(x)).sqrt()

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

Submission status: Accepted

Solution code:
from collections import defaultdict
from collections import deque
from collections import Counter
import itertools
import math

def readInt():
	return int(input())
def readInts():
	return list(map(int, input().split()))
def readChar():
	return input()
def readChars():
	return input().split()

a,b,c = readInts()

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

Submission status: Accepted

Solution code:
from decimal import Decimal
A,B,C=map(str,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:
a, b, c = map(int, input().split())
if c-a-b <= 0:
    print("No")
else: print("Yes") if (c-a-b)*(c-a-b) > 4*a*b else print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
def input(): return sys.stdin.readline().strip()
def mapint(): return map(int, input().split())
sys.setrecursionlimit(10**9)

a, b, c = mapint()

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 sys import stdin
nii=lambda:map(int,stdin.readline().split())
lnii=lambda:list(map(int,stdin.readline().split()))

a,b,c=nii()

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
def MI(): return map(int,sys.stdin.readline().rstrip().split())

a,b,c = MI()

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

in_n = lambda: int(readline())
in_nn = lambda: map(int, readline().split())
in_s = lambda: readline().rstrip().decode('utf-8')
in_nl = lambda: list(map(int, readline().split()))
in_nl2 = lambda H: [in_nl() for _ in range(H)]
in_map = lambda: [s == ord('.') for s in readline() if s != ord('\n')]
in_map2 = lambda H: [in_map() for _ in range(H)]
in_all = lambda: map(int, read().split())


def main():
    a, b, c = in_nn()

    t1 = c - (a + b)
    t2 = 4 * a * b

    if t1 <= 0:
        print('No')
        exit()
    else:
        t1 = t1**2
        if t2 < t1:
            print('Yes')
        else:
            print('No')


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# coding: utf-8

# In[5]:


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


# In[7]:


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


# In[ ]:

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

if (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,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 = (x for x in input().split())

roota = Decimal(a)**Decimal("0.5")
rootb = Decimal(b)**Decimal("0.5")
rootc = Decimal(c)**Decimal("0.5")

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

Submission status: Accepted

Solution code:
ni = lambda: int(input())
nm = lambda: map(int, input().split())
nl = lambda: list(map(int, input().split()))

from math import sqrt

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
from decimal import *

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import *

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

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

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