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

Submission status: Accepted

Solution code:

#ライブラリインポート
from collections import defaultdict

con = 10 ** 9 + 7
#入力受け取り
def getlist():
	return list(map(int, input().split()))

#処理内容
def main():
	a, b, c = getlist()
	if c - a - b > 0 and (c - a - b) ** 2 - 4 * a * b > 0:
		print("Yes")
	else:
		print("No")


if __name__ == '__main__':
	main()

Submission status: Accepted

Solution code:
a,b,c=map(int,raw_input().split())
if a+b >= c:
    print "No"
else:
    ans1 = 4 * a * b;
    ans2 = (c - a - b) * (c - a - b)
    if ans1 < ans2:
        print "Yes"
    else:
        print "No"

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
from decimal import Decimal
import numpy as np
a, b, c = map(int, input().split())

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

Submission status: Accepted

Solution code:
import numpy as np
import decimal

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

if np.sqrt(decimal.Decimal(a)) +  np.sqrt(decimal.Decimal(b)) <  np.sqrt(decimal.Decimal(c)):
  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:
# your code goes here
import math
a,b,c=map(int,input().split(' '))
k=c-a-b
if(k>0 and k*k>4*a*b):
	print("Yes")
	
else:
	print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import *
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:
from decimal import *
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:
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:
import sys
def input(): return sys.stdin.readline().rstrip()
def main():
    a,b,c=map(int,input().split())
    if c-a-b>0 and (c-a-b)**2>4*a*b:
        print("Yes")
    else:print("No")

if __name__=='__main__':
    main()

Submission status: Accepted

Solution code:
from math import sqrt
from decimal import Decimal
a=list(map(int,input().split()))
if Decimal(a[0]).sqrt()+Decimal(a[1]).sqrt()<Decimal(a[2]).sqrt():
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
import numpy as np

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

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

judge = c - (a + b)

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

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

x = c-a-b

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c = 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())

left = 4 * a * b

r = c - (a + b)
right = r * r

if r < 0 and sqrt(left) < abs(r):
    left = -left
    right = -right

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import *
getcontext().prec=1000
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")
D= Decimal(10) ** (-100)
if A+B+D<C:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

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

Submission status: Accepted

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

if c - a - b > 0:
    if 4*a*b < c*c + (a + b)*(a + b - 2*c):
        print("Yes")
        exit()

print("No")

Submission status: Accepted

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


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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

import math

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

Submission status: Accepted

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

import sys
input = sys.stdin.readline

def main():
    a, b, c = map(int, input().split())
    x = ((c-a-b)**2-4*a*b > 0 ) and (c > a+b)
    print('NYoe s'[x::2])

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
input = sys.stdin.readline
import math

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import sys
import math
import os
import itertools
import string
import heapq
import _collections
from collections import Counter
from collections import defaultdict
from functools import lru_cache
import bisect
import re
import queue
from decimal import *


class Scanner():
    @staticmethod
    def int():
        return int(sys.stdin.readline().rstrip())

    @staticmethod
    def string():
        return sys.stdin.readline().rstrip()

    @staticmethod
    def map_int():
        return [int(x) for x in Scanner.string().split()]

    @staticmethod
    def string_list(n):
        return [input() for i in range(n)]

    @staticmethod
    def int_list_list(n):
        return [Scanner.map_int() for i in range(n)]

    @staticmethod
    def int_cols_list(n):
        return [int(input()) for i in range(n)]


class Math():
    @staticmethod
    def gcd(a, b):
        if b == 0:
            return a
        return Math.gcd(b, a % b)

    @staticmethod
    def lcm(a, b):
        return (a * b) // Math.gcd(a, b)

    @staticmethod
    def divisor(n):
        res = []
        i = 1
        for i in range(1, int(n ** 0.5) + 1):
            if n % i == 0:
                res.append(i)
                if i != n // i:
                    res.append(n // i)
        return res

    @staticmethod
    def round_up(a, b):
        return -(-a // b)

    @staticmethod
    def is_prime(n):
        if n < 2:
            return False
        if n == 2:
            return True
        if n % 2 == 0:
            return False
        d = int(n ** 0.5) + 1
        for i in range(3, d + 1, 2):
            if n % i == 0:
                return False
        return True


def pop_count(x):
    x = x - ((x >> 1) & 0x5555555555555555)
    x = (x & 0x3333333333333333) + ((x >> 2) & 0x3333333333333333)
    x = (x + (x >> 4)) & 0x0f0f0f0f0f0f0f0f
    x = x + (x >> 8)
    x = x + (x >> 16)
    x = x + (x >> 32)
    return x & 0x0000007f


MOD = int(1e09) + 7
INF = int(1e15)


def solve():
    a, b, c = Scanner.map_int()
    d = c - a - b
    if d > 0 and 4 * a * b < d * d:
        print('Yes')
    else:
        print('No')


def main():
    # sys.stdin = open("sample.txt")
    solve()


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal

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

result = a.sqrt() + b.sqrt() < c.sqrt()
print('Yes' if result else 'No')

Submission status: Accepted

Solution code:
import math
from sys import stdin

a, b, c = map(int, stdin.readline().rstrip().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:
import math
from sys import stdin

a, b, c = map(int, stdin.readline().rstrip().split())
if (c - a - b) > 0:
    if (c - a - b) ** 2 > 4 * a * b:
        print('Yes')
    else:
        print('No')
else:
    if math.sqrt(a) + math.sqrt(b) < math.sqrt(c):
        print('Yes')
    else:
        print('No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
input = lambda: sys.stdin.readline().rstrip()

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

import math

root_a = math.sqrt(a)
root_b = math.sqrt(b)
root_c = math.sqrt(c)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def resolve():
    '''
    code here
    '''
    from decimal import Decimal
    a, b, c = [int(item) for item in input().split()]
    
    x = c - a - b
    y = 2 * Decimal(a*b).sqrt()

    if y < x:
        print('Yes')
    else:
        print('No')




if __name__ == "__main__":
    resolve()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#パナソニックプロ2020
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 = (int(i) for i in 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:
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 - a - b) ** 2 > 4 * a * b and c - a - b > 0:
    print("Yes")
else:
    print("No")

Submission status: Accepted

Solution code:
from decimal import *
getcontext().prec = 1000
a, b, c = map(lambda x: Decimal(x), input().split())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c = map(int, input().split( ))
#整数にしてから
#式変形中の同値性の維持に注意

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal, getcontext
getcontext().prec = 10000


def f(x):
    return Decimal(x).sqrt()


a, b, c = map(int, input().split())
eps = Decimal(10) ** (-1000)
if f(a) + f(b) + eps < f(c):
    ans = "Yes"
else:
    ans = "No"

print(ans)

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:
import numpy as np

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

Submission status: Accepted

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

Submission status: Accepted

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

if 0 >  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 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:
# Author: cr4zjh0bp
# Created: Mon Mar 23 15:10:04 UTC 2020
import sys
 
stdin = sys.stdin
inf = 1 << 60
mod = 1000000007
 
ni      = lambda: int(ns())
nin     = lambda y: [ni() for _ in range(y)]
na      = lambda: list(map(int, stdin.readline().split()))
nan     = lambda y: [na() for _ in range(y)]
nf      = lambda: float(ns())
nfn     = lambda y: [nf() for _ in range(y)]
nfa     = lambda: list(map(float, stdin.readline().split()))
nfan    = lambda y: [nfa() for _ in range(y)]
ns      = lambda: stdin.readline().rstrip()
nsn     = lambda y: [ns() for _ in range(y)]
ncl     = lambda y: [list(ns()) for _ in range(y)]
nas     = lambda: stdin.readline().split()

from decimal import *

a, b, c = na()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

def ab_lt_c(a,b,c):
  d=c-a-b
  if d>0 and d*d > 4*a*b:
     return 'Yes'
  else:
     return 'No'

print(ab_lt_c(a,b,c))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math,itertools,fractions,heapq,collections,bisect,sys,queue,copy

sys.setrecursionlimit(10**7)
inf=10**20
mod=10**9+7
dd=[(-1,0),(0,1),(1,0),(0,-1)]
ddn=[(-1,0),(-1,1),(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1)]

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def I(): return int(sys.stdin.readline())
def LS(): return sys.stdin.readline().split()
def S(): return input()

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

  if c-a-b<=0:
    return 'No'

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

# main()
print(main())

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
from sys import stdin
from operator import itemgetter

# stdin = open("sample.txt")

a, b, c = [int(x) for x in stdin.readline().rstrip().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())
left=(a+b-c)**2
right=4*a*b
print("Yes") if a+b<c and left> right 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 math import sqrt

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

d = c - a - b

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

Submission status: Accepted

Solution code:
a,b,c=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())

d = c - a - b

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

Submission status: Accepted

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

from sys import stdin, stderr

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

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

   return 0

if __name__ == '__main__': main()

Submission status: Accepted

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

d = c - a - b

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

Submission status: Accepted

Solution code:
def solve():
    v=list(map(int,input().split()))
    a=v[0]
    b=v[1]
    c=v[2]
    if c <= a + b:
        return False
    return 4 * a * b < (c - a - b)**2

if solve():
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
A, B, C = map(int, input().split(' '))
import math

if C - A - B > 0:
    if 4 * A * B < (C - A- B) ** 2:
        print('Yes')
        exit(0)

print(('No'))

Submission status: Accepted

Solution code:
import math

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A = [list(map(int, input().split())) for _ in range(3)]
# k = int(input())
# B = [int(input()) for _ in range(n)]
# X = list(map(int, input().split()))
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 and (c-a-b) > 0:
    print('Yes')
else:
    print('No')