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:
from __future__ import print_function

import sys

import re
import array
import copy
import functools
import operator

import math
import string
import fractions
from fractions import Fraction
from fractions import gcd
# fractions.gcd() を用いること
# math.log2()はatcoderでは対応していない．留意せよ．

import collections
import itertools
import bisect

import random
import time

import heapq
from heapq import heappush
from heapq import heappop
from heapq import heappushpop
from heapq import heapify
from heapq import heapreplace
from queue import PriorityQueue as pq
from queue import Queue

from itertools import accumulate

from collections import deque
from collections import Counter

from operator import mul
from functools import reduce

input = sys.stdin.readline


def eprint(*args, **kwargs):
    print(*args, file=sys.stderr, **kwargs)
    return


def lcm(n, m):
    return int(n * m / gcd(n, m))


def coprimize(p, q):
    common = fractions.gcd(p, q)
    return (p // common, q // common)


def combinations_count(n, r):
    r = min(r, n - r)
    numer = reduce(mul, range(n, n - r, -1), 1)
    denom = reduce(mul, range(1, r + 1), 1)
    return numer // denom


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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
from __future__ import print_function

import sys

import re
import array
import copy
import functools
import operator

import math
import string
import fractions
from fractions import Fraction
from fractions import gcd
# fractions.gcd() を用いること
# math.log2()はatcoderでは対応していない．留意せよ．

import collections
import itertools
import bisect

import random
import time

import heapq
from heapq import heappush
from heapq import heappop
from heapq import heappushpop
from heapq import heapify
from heapq import heapreplace
from queue import PriorityQueue as pq
from queue import Queue

from itertools import accumulate

from collections import deque
from collections import Counter

from operator import mul
from functools import reduce

input = sys.stdin.readline


def eprint(*args, **kwargs):
    print(*args, file=sys.stderr, **kwargs)
    return


def lcm(n, m):
    return int(n * m / gcd(n, m))


def coprimize(p, q):
    common = fractions.gcd(p, q)
    return (p // common, q // common)


def combinations_count(n, r):
    r = min(r, n - r)
    numer = reduce(mul, range(n, n - r, -1), 1)
    denom = reduce(mul, range(1, r + 1), 1)
    return numer // denom


def main():
    a,b,c = map(int,input().strip().split())
    if math.sqrt(a) + math.sqrt(b) < math.sqrt(c):
        print("Yes")
    else:
        print("N0")


if __name__ == '__main__':
    main()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

A=a**0.5
B=b**0.5
C=c**0.5

if A+B<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:
a, b, c = map(int, input().split())
# a + b + 2(ab)**0.5 < c
# c - a - b > 2(ab)**-.5
tmp = c - a - b
if tmp ** 2 > 4 * a * b:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split())
# a + b + 2 * (a * b) ** 0.5 < c ? 
if c ** 0.5 - a ** 0.5 - b ** 0.5 > 0:
    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 = map(int,input().split())
d = math.sqrt(a) + math.sqrt(b)
e = math.sqrt(c)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal

a,b,c = list(map(int, input().split()))
a,b,c = map(Decimal, [a,b,c])
print('Yes' if 4*a*b < (c - a - b) ** 2 else 'No')

Submission status: Wrong Answer

Solution code:
from math import sqrt

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

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

Submission status: Wrong Answer

Solution code:
from math import sqrt

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

Submission status: Wrong Answer

Solution code:
from decimal import *
# import math
getcontext().prec = 30

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

Submission status: Wrong Answer

Solution code:
a,b,c=[int(i) for i in input().split(" ")]
if a**2+b**2+c**2>=2*(a*b+b*c+c*a):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
from decimal import *
# import math
getcontext().prec = 100

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

Solution code:
import sys
from itertools import combinations, permutations, product, combinations_with_replacement, accumulate
from heapq import heapify, heappop, heappush, heappushpop
from bisect import bisect_left, bisect_right
from collections import Counter, defaultdict, deque
from math import sqrt, log, floor, ceil, factorial, cos, sin, pi #, gcd
from fractions import gcd
from operator import mul
from functools import reduce
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
INF = float('inf')
LINF = 2**63-1
NIL = -LINF
MOD = 10**9+7
MGN = 4
def AST(exp: bool, msg: str = ""): assert exp, msg
def TAST(exp: bool, msg = ""):
    if exp is False: print("TAssertionError:", msg)
    while exp is False:
        pass
def II(): return int(input())
def IF(): return float(input())
def IS(): return input().replace('\n', '')
def ILCI(n: int): return [II() for _ in range(n)]
def ILCF(n: int): return [IF() for _ in range(n)]
def ILI(): return list(map(int, input().split()))
def ILLI(n: int): return [[int(j) for j in input().split()] for i in range(n)]
def ILF(): return list(map(float, input().split()))
def ILLF(n: int): return [[float(j) for j in input().split()] for i in range(n)]
def LTOS(lst: list, sep: str = ' '): return sep.join(map(str, lst))
def DEC(lst: list): return list(map(lambda x: x-1, lst))
def INC(lst: list): return list(map(lambda x: x+1, lst))


def main():
    A, B, C = ILI()

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

    print(ans)


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal
A,B,C=map(int,input().split())
#print(Decimal(A**0.5),Decimal(B**0.5), Decimal(C**0.5))
if Decimal(A**0.5)+Decimal(B**0.5)<Decimal(C**0.5):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from math import sqrt

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

ab = a * b
if abs(sqrt(ab)**2 - ab) < 1e-5:
    if 2 * round(sqrt(ab)) < c-a-b:
        print("Yes")
    else:
        print("No")
else:
    if 2 * sqrt(ab) < c-a-b:
        print("Yes")
    else:
        print("No")

Submission status: Wrong Answer

Solution code:
from math import sqrt

a, b, c = (int(x) for x in input().split())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
from math import sqrt

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

ab = a * b
if abs(sqrt(ab)**2 - ab) < 1e-5:
    if 2 * int(sqrt(ab)) < c-a-b:
        print("Yes")
    else:
        print("No")
else:
    if 2 * sqrt(a*b) < c-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 = [int(i) for i in input().split()]
d = a + b - c

ans = 4 * a * b - d**2

if d > 0 and ans < 0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

d = a + b - c

ans = 4 * a * b - d**2 and d > 0

print('Yes' if ans > 0 else 'No')

Submission status: Wrong Answer

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

d = a + b - c

ans = 4 * a * b - d**2

print('Yes' if ans > 0 else 'No')

Submission status: Wrong Answer

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

d = a + b - c

ans = 4 * a * b - d

print('Yes' if ans > 0 else 'No')

Submission status: Wrong Answer

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

ans = a + b - c  + 2 * np.sqrt(a * b)

print('Yes' if ans < 0 else 'No')

Submission status: Wrong Answer

Solution code:
import numpy as np

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


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

Submission status: Wrong Answer

Solution code:
from decimal import *
getcontext().prec = 60

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

Decimal(a).sqrt()

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

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

Decimal(a).sqrt()

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

Submission status: Wrong Answer

Solution code:
import numpy as np

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

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

Submission status: Wrong Answer

Solution code:
import numpy as np

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

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

Submission status: Wrong Answer

Solution code:
import numpy as np

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

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

Submission status: Wrong Answer

Solution code:
#C - Sqrt Inequality
import math
import decimal

a,b,c = map(int,input().split(' '))
"""
print(math.sqrt(a))
print(math.sqrt(b))
print(math.sqrt(c))
"""
#decimal.getcontext().prec = 64
ans = 0
for i in range(10):
    A = decimal.Decimal(math.sqrt(a*2**i))
    B = decimal.Decimal(math.sqrt(b*2**i))
    C = decimal.Decimal(math.sqrt(c*2**i))
    if(A+B < C):
        ans += 1
    else:
        ans -= 1

if(ans > 0):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
#C - Sqrt Inequality
import math
import decimal

a,b,c = map(int,input().split(' '))
"""
print(math.sqrt(a))
print(math.sqrt(b))
print(math.sqrt(c))
"""
#decimal.getcontext().prec = 64
A = decimal.Decimal(math.sqrt(a*10**9))
B = decimal.Decimal(math.sqrt(b*10**9))
C = decimal.Decimal(math.sqrt(c*10**9))

if(A+B < C):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
#C - Sqrt Inequality
import math
import decimal

a,b,c = map(int,input().split(' '))
"""
print(math.sqrt(a))
print(math.sqrt(b))
print(math.sqrt(c))
"""
decimal.getcontext().prec = 64
A = decimal.Decimal(math.sqrt(a))
B = decimal.Decimal(math.sqrt(b))
C = decimal.Decimal(math.sqrt(c))

if(A+B < C):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
#C - Sqrt Inequality
import math
import decimal

a,b,c = map(int,input().split(' '))
"""
print(math.sqrt(a))
print(math.sqrt(b))
print(math.sqrt(c))
"""
A = decimal.Decimal(math.sqrt(a))
B = decimal.Decimal(math.sqrt(b))
C = decimal.Decimal(math.sqrt(c))

if(A+B < C):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
#C - Sqrt Inequality
import math

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

Submission status: Wrong Answer

Solution code:
#C - Sqrt Inequality
import math

a,b,c = map(int,input().split(' '))
"""
print(math.sqrt(a))
print(math.sqrt(b))
print(math.sqrt(c))
"""
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
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:
import math
a,b,c=map(int,input().split())
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:
import numpy as np

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

left = 10000 * np.sqrt(a) // 1 + 10000 * np.sqrt(b) // 1
right = 10000 * np.sqrt(c) // 1

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

Submission status: Wrong Answer

Solution code:
import numpy as np

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

left = 10000 * (np.sqrt(a) + np.sqrt(b)) // 1
right = 10000 * np.sqrt(c) // 1

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

Submission status: Wrong Answer

Solution code:
import numpy as np

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

if abs(np.sqrt(c) - (np.sqrt(a) + np.sqrt(b))) > 0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import numpy as np

a, b, c = list(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:
import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from fractions import gcd
def input(): return sys.stdin.readline().strip()
def STR(): return input()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def S_MAP(): return map(str, input().split())
def LIST(): return list(map(int, input().split()))
def S_LIST(): return list(map(str, input().split()))
sys.setrecursionlimit(10 ** 9)
inf = sys.maxsize
mod = 10 ** 9 + 7

from decimal import Decimal, getcontext

getcontext().prec = 1000

a, b, c = MAP()
eps = Decimal(10) ** (-100)

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

Submission status: Wrong Answer

Solution code:
import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from fractions import gcd
def input(): return sys.stdin.readline().strip()
def STR(): return input()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def S_MAP(): return map(str, input().split())
def LIST(): return list(map(int, input().split()))
def S_LIST(): return list(map(str, input().split()))
sys.setrecursionlimit(10 ** 9)
inf = sys.maxsize
mod = 10 ** 9 + 7

from decimal import Decimal, getcontext

getcontext().prec = 1000

a, b, c = MAP()
eps = Decimal(10) ** (-100)

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

Submission status: Wrong Answer

Solution code:
import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from fractions import gcd
def input(): return sys.stdin.readline().strip()
def STR(): return input()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def S_MAP(): return map(str, input().split())
def LIST(): return list(map(int, input().split()))
def S_LIST(): return list(map(str, input().split()))
sys.setrecursionlimit(10 ** 9)
inf = sys.maxsize
mod = 10 ** 9 + 7

from decimal import Decimal, getcontext

getcontext().prec = 1000

a, b, c = MAP()
eps = Decimal(10) ** (-100)

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

Submission status: Wrong Answer

Solution code:
import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from fractions import gcd
def input(): return sys.stdin.readline().strip()
def STR(): return input()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def S_MAP(): return map(str, input().split())
def LIST(): return list(map(int, input().split()))
def S_LIST(): return list(map(str, input().split()))
sys.setrecursionlimit(10 ** 9)
inf = sys.maxsize
mod = 10 ** 9 + 7

from decimal import Decimal, getcontext

getcontext().prec = 1000

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

Submission status: Wrong Answer

Solution code:
import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from fractions import gcd
def input(): return sys.stdin.readline().strip()
def STR(): return input()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def S_MAP(): return map(str, input().split())
def LIST(): return list(map(int, input().split()))
def S_LIST(): return list(map(str, input().split()))
sys.setrecursionlimit(10 ** 9)
inf = sys.maxsize
mod = 10 ** 9 + 7

from decimal import *

a, b, c = MAP()
a = Decimal(a)
b = Decimal(b)
c = Decimal(c)
if Decimal(sqrt(a) + sqrt(b)) < Decimal(sqrt(c)):
    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) > 0:
    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
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())

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
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)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if (a + b + 2*math.sqrt(2*3))<c:
  print("Yes")
else: print("No")
 
"""
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
a, b, c = [int(i) for i in input().split()]
if sqrt(a) + sqrt(b) - sqrt(c) < 1e-10:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from math import sqrt
a, b, c = [int(i) for i in input().split()]
d = sqrt(c) - sqrt(a) - sqrt(b)
if abs(d) < 1e-5 or d < 0:
    print("No")
else:
    print("Yes")

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
a, b, c = [int(i) for i in input().split()]
d = sqrt(c) - sqrt(a) - sqrt(b)
if abs(d) < 1e-20 or d < 0:
    print("No")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
from math import sqrt
a, b, c = [int(i) for i in input().split()]
d = sqrt(c) - sqrt(a) - sqrt(b)
if abs(d) < 1e-9 or d < 0:
    print("No")
else:
    print("Yes")

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

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

Submission status: Wrong Answer

Solution code:
import sys,math

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
printV = lambda x: print(*x, sep="\n")
printH = lambda x: print(" ".join(map(str,x)))
def IS(): return sys.stdin.readline()[:-1]
def II(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LI1(): return list(map(int1, sys.stdin.readline().split()))
def LII(rows_number): return [II() for _ in range(rows_number)]
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def LLI1(rows_number): return [LI1() for _ in range(rows_number)]

def main():
	a,b,c = MI()
	if(4*a*b < (c - a - b)*(c-a-b)):
		print("Yes")
	else:
		print("No")
	

if __name__ == '__main__':
	main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys,math

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
printV = lambda x: print(*x, sep="\n")
printH = lambda x: print(" ".join(map(str,x)))
def IS(): return sys.stdin.readline()[:-1]
def II(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LI1(): return list(map(int1, sys.stdin.readline().split()))
def LII(rows_number): return [II() for _ in range(rows_number)]
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def LLI1(rows_number): return [LI1() for _ in range(rows_number)]

def main():
	a,b,c = MI()
	if(a + b + 2*math.sqrt(a*b) < c):
		print("Yes")
	else:
		print("No")
	

if __name__ == '__main__':
	main()

Submission status: Wrong Answer

Solution code:
import math
a, b, c = list(map(int, input().split()))
k = max([float(abs(a)), float(abs(b)), float(abs(c))])
if math.sqrt(a/k)+math.sqrt(b/k)<math.sqrt(c/k):
    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:
import math
a,b,c = map(int,input().split())
if math.sqrt(a) + math.sqrt(b) + 10**(-9) < 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) + 10**(-12) < math.sqrt(c):
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
a, b, c = list(map(int, input().split()))
if ((c-a-b)/2)**2-a*b>0:
    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) + 10**(-24) < math.sqrt(c):
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

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

lef = 4 * a * b
rig = (c - a - b)**2

if lef < rig:
  print('Yes')
else: 
  print('No')

Submission status: Wrong Answer

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