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: Wrong Answer

Solution code:
import math
a, b, c = map(int, input().split())
d = math.sqrt(c) - math.sqrt(b) - math.sqrt(a)
if d > 0:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
import math
a,b,c=[int(x) for x in input().split()]
if math.sqrt(a*b)*2<c-a-b:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import sys
import math

sr = lambda: sys.stdin.readline().rstrip()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))

A, B, C = lr()
flag = (A + B - C + 2 * math.sqrt(A*B) < 0)
print('Yes' if flag else 'No')

Submission status: Wrong Answer

Solution code:
import numpy as np
a, b, c = map(int, input().split())
d = np.sqrt(c) - np.sqrt(b) - np.sqrt(a)
if d > 0:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a,b,c=[int(x) for x in input().split()]
if math.sqrt(a)+math.sqrt(b)<math.sqrt(c):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
a,b,c=(int(x) for x in input().split())
x=math.sqrt(a)+math.sqrt(b)
if x<math.sqrt(c):
	print("Yes")
else:
	print("No")

Submission status: Wrong Answer

Solution code:
import math
a,b,c=(int(x) for x in input().split())
x=a+b+2*math.sqrt(a*b)
if x<c:
	print("Yes")
else:
	print("No")

Submission status: Wrong Answer

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

import sys
sys.setrecursionlimit(300000)

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

def solve(a: int, b: int, c: int):
    tmp = c - a - b
    if 4 * a * b < tmp * tmp:
        ret = YES
    else:
        ret = NO
    print(ret)
    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: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
l, r = a + b + 2 * (a**0.5) * (b**0.5), c
print("Yes") if l < r else print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
l, r = a + b + 2 * (a**0.5) * (b**0.5), c**2
print("Yes") if l < r else print("No")

Submission status: Wrong Answer

Solution code:
from math import sqrt

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

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
# /a+/b</c
# a+2/a/b+b<c
# 4ab<(c-a-b)**2

print(("No","Yes")[4*a*b<(c-a-b)**2])

Submission status: Wrong Answer

Solution code:
from decimal import *
getcontext().prec = 1000
a, b, c = map(int, input().split())
sqa = Decimal(a).sqrt()
sqb = Decimal(b).sqrt()
sqc = Decimal(c).sqrt()

print ("Yes" if sqa + sqb < sqc else "No")

Submission status: Wrong Answer

Solution code:
from decimal import *
getcontext().prec = 64
a, b, c = map(int, input().split())
sqa = Decimal(a).sqrt()
sqb = Decimal(b).sqrt()
sqc = Decimal(c).sqrt()

print ("Yes" if sqa + sqb < sqc else "No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

d = c - a - b

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

Submission status: Wrong Answer

Solution code:
from math import sqrt
def solve():
    arr = [int(s) for s in input().split()]
    if sqrt(arr[0]) + sqrt(arr[1]) < sqrt(arr[2]):
        print("Yes")
        return
    print("No")
    return
solve()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def A():
    seq = [1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51]
    K = int(input())
    print(seq[K-1])

import math
def B():
    H, W = map(int, input().split())
    if H==1 or W==1:
        print(1)
        return
    print(int(math.ceil(H*W/2.0)))

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
print(a**0.5 + b**0.5 < c**0.5)

Submission status: Wrong Answer

Solution code:
import numpy as np
a,b,c = map(int,input().split())
if np.sqrt(a) + np.sqrt(b) < np.sqrt(c):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
from sys import stdin
import sys
import math
import random

a, b, c = [int(x) for x in stdin.readline().rstrip().split()]
# a = random.randrange(1000000000)
# b = random.randrange(1000000000)
# c = random.randrange(1000000000)
# print(a, b, c)
ra = int(math.sqrt(a))
rb = int(math.sqrt(b))
rc = int(math.sqrt(c))
if ra+rb < rc:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from sys import stdin
import sys
import math
import random

a, b, c = [int(x) for x in stdin.readline().rstrip().split()]
# a = random.randrange(1000000000)
# b = random.randrange(1000000000)
# c = random.randrange(1000000000)
# print(a, b, c)
ra=math.sqrt(a)
rb=math.sqrt(b)
rc=math.sqrt(c)
if ra+rb<rc:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
num1, num2, num3 = map(int, input().split(" "))
if num1**0.5 + num2**0.5 < num3**0.5:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
from sys import stdin
import sys
import math
# import random

a, b, c = [int(x) for x in stdin.readline().rstrip().split()]
# a = random.randrange(1000000000)
# b = random.randrange(1000000000)
# c = random.randrange(1000000000)
# print(a, b, c)
d = math.sqrt(b*a)
if c-a-b < 0:
    print("No")
    sys.exit(0)

if d < (c-a-b)/2:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from sys import stdin
import sys
import math
# import random

a, b, c = [int(x) for x in stdin.readline().rstrip().split()]
# a = random.randrange(1000000000)
# b = random.randrange(1000000000)
# c = random.randrange(1000000000)
# print(a, b, c)
d = math.sqrt(b*a)
if c-a-b < 0:
    print("No")

if d < (c-a-b)/2:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
#decimal.Decimalってしなくて済むよ
a,b,c = map(int,input().split())
a = a ** (0.5)
b = b ** (0.5)
c = c ** (0.5)
a_b = a + b
if c > a_b:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from sys import stdin
import sys
import math
# import random

a, b, c = [int(x) for x in stdin.readline().rstrip().split()]
# a = random.randrange(1000000000)
# b = random.randrange(1000000000)
# c = random.randrange(1000000000)
# print(a, b, c)
d = math.sqrt(b*a)
if d < (c-a-b)/2:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from sys import stdin
import sys
import math
# import random

a, b, c = [int(x) for x in stdin.readline().rstrip().split()]
# a = random.randrange(1000000000)
# b = random.randrange(1000000000)
# c = random.randrange(1000000000)
print(a, b, c)
d = math.sqrt(b*a)
if d < (c-a-b)/2:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
#decimal.Decimalってしなくて済むよ
a,b,c = map(int,input().split())
a = a ** 0.5
b = b ** 0.5
c = c ** 0.5
a_b = a + b
if c > a_b:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from math import *

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

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

Submission status: Wrong Answer

Solution code:
# from sys import stdin
from decimal import *

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

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

Submission status: Wrong Answer

Solution code:
# from sys import stdin
from decimal import *

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

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

Submission status: Wrong Answer

Solution code:
# from sys import stdin
from decimal import *

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

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

Submission status: Wrong Answer

Solution code:
# from sys import stdin
from decimal import *

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

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

Submission status: Wrong Answer

Solution code:
# from sys import stdin
from decimal import *

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

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

Submission status: Wrong Answer

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: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
from math import sqrt
from decimal import *

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math

def main():
    a, b, c = [int(e) for e in input().split()]

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

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import math
a,b,c = map(int,input().split())
if float(math.sqrt(a)) + float(math.sqrt(b)) < float(math.sqrt(c)):
    print ("Yes")
else:
    print ("No")

Submission status: Wrong Answer

Solution code:
import sys
from decimal import *

sys.setrecursionlimit(10 ** 8)

input = sys.stdin.readline


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

    getcontext().prec = 30000
    if Decimal(A).sqrt() + Decimal(B).sqrt() < Decimal(C).sqrt():
        print("Yes")
    else:
        print("No")


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
abc = [int(i) for i in input().split(' ')]
a = abc[0]
b = abc[1]
c = abc[2]
import math
squrt_a = math.sqrt(a)
squrt_b = math.sqrt(b)
squrt_c = math.sqrt(c)
if squrt_a + squrt_b < squrt_c:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

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

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import sys
sys.setrecursionlimit(10**7)
INTMAX = 9223372036854775807
INTMIN = -9223372036854775808
DVSR = 1000000007
def POW(x, y): return pow(x, y, DVSR)
def INV(x, d=DVSR): return pow(x, d - 2, d)
def DIV(x, y, d=DVSR): return (x * INV(y, d)) % d
def LI(): return [int(x) for x in input().split()]
def LF(): return [float(x) for x in input().split()]
def LS(): return input().split()
def II(): return int(input())

a,b,c = LI()

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

Submission status: Wrong Answer

Solution code:
abc = [int(i) for i in input().split(' ')]
a = abc[0]
b = abc[1]
c = abc[2]
import math
squrt_a = math.sqrt(a)
squrt_b = math.sqrt(b)
squrt_c = math.sqrt(c)
if squrt_a + squrt_b < squrt_c:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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


print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from sys import stdin
from decimal import Decimal,getcontext
getcontext().prec = 100
a,b,c = [Decimal(x) for x in stdin.readline().rstrip().split()]
if a.sqrt() + b.sqrt() < c.sqrt():
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from sys import stdin
from decimal import Decimal,getcontext
import math
getcontext().prec = 100
a,b,c = [Decimal(x) for x in stdin.readline().rstrip().split()]
if math.sqrt(a) + math.sqrt(b) < math.sqrt(c):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a,b,c =map(int,input().split())
sa =a**(1/2)
sb = b**(1/2)
sc = c**(1/2)
if (sa+sb)<sc:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

# import
import math


# 答えの出力
 
if math.sqrt(a) + math.sqrt(b) < math.sqrt(c):
    ans = 'Yes'
else:
    ans = 'No'

# 出力
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

# import
import math


# 答えの出力

if math.sqrt(a) + math.sqrt(b) < math.sqrt(c):
    ans = 'Yes'
else:
    ans = 'No'

# 出力
print(ans)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split());print('YNeos'[4*a*b>=(c-a-b)**2::2])

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
from math import *
print('YNeos'[sqrt(a)+sqrt(b)>=sqrt(c)::2])

Submission status: Wrong Answer

Solution code:
import decimal
import math
a, b, c = [decimal.Decimal(x) for x in input().split()]

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

Submission status: Wrong Answer

Solution code:
from math import *
a,b,c = map(int,input().split())
a1 = sqrt(a)
b1 = sqrt(b)
c1 = sqrt(c)
if a1+b1<c1:
    print("Yes")
elif a1+b1==c1:
    print("No")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import numpy as np
import sys
import math
a,b,c = map(int,input().split())
if 4*a*b<(c-a-b)**2:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
from decimal import *

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
from math import *
a,b,c = map(int,input().split())
a1 = sqrt(a)
b1 = sqrt(b)
c1 = sqrt(c)
if a1+b1<c1:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split());print('YNeos'[a**.5+b**.5>=c**.5::2])

Submission status: Wrong Answer

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

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

getcontext().prec = 100

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

# 答えの出力

if (a**2 + b**2) + (2*(a*b)) < c**2:
    ans = 'Yes'
else:
    ans = 'No'

# 出力
print(ans)

Submission status: Wrong Answer

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

# 答えの出力

if (a**2 + b**2) + (a*b) < c**2:
    ans = 'Yes'
else:
    ans = 'No'

# 出力
print(ans)

Submission status: Wrong Answer

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

#2sqrt(ab)<c-a-b

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
import sys
sys.setrecursionlimit(10**8)
INF = float("inf")


def yes():
    print("Yes")  # type: str


def no():
    print("No")  # type: str


def solve(a: int, b: int, c: int):
    if a+b+2*(a*b)**0.5 < c:
        yes()
    else:
        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: Wrong Answer

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

# 答えの出力

if (a**2 + b**2) < c**2:
    ans = 'Yes'
else:
    ans = 'No'

# 出力
print(ans)

Submission status: Wrong Answer

Solution code:
# Problem C - Sqrt Inequality

# 注意：ルートの計算は近似計算によりWAとなってしまう。
#    ：整数に落とし込んで計算しよう

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

# initialization
tochu_1 = c - a - b
tochu_2 = 4 * a * b

# output process
if (tochu_1)**2>tochu_2:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

def solve():
    from decimal import Decimal, getcontext

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

    sq_a = Decimal(a).sqrt()
    sq_b = Decimal(b).sqrt()
    sq_c = Decimal(c).sqrt()

    # eps = Decimal(10) ** (-100)
    # cond = sq_a + sq_b + eps < sq_c
    cond = sq_a + sq_b < sq_c

    answer = 'Yes' if cond else 'No'
    print(answer)

if __name__ == "__main__":
    solve()

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
import sys
sys.setrecursionlimit(10**8)
INF = float("inf")


def yes():
    print("Yes")  # type: str


def no():
    print("No")  # type: str


def solve(a: int, b: int, c: int):
    if a**0.5+b**0.5 < c**0.5:
        yes()
    else:
        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: Wrong Answer

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


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

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

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

l = 4 * a * b
r = c - a - b
r *= r

if l < r: print('Yes')
else: print('No')

Submission status: Wrong Answer

Solution code:
import math

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

print(math.sqrt(a), math.sqrt(b), math.sqrt(c))

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
import decimal

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import math,decimal
decimal.getcontext().prec=56
a,b,c=map(lambda x:decimal.Decimal(int(x)),input().split())
ra,rb,rc=map(decimal.getcontext().sqrt,[a,b,c])
if ra+rb<rc:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
import math
a,b,c=map(int,input().split())
ra,rb,rc=map(math.sqrt,[a,b,c])
if ra+rb<rc:
  print('Yes')
else:
  print('No')