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:
def ii():
    return int(input())
def mi():
    return map(int, input().split())
def li():
    return list(mi())

from math import sqrt
a, b, c = mi()    

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c=map(float,input().split())
d=a**0.5+b**0.5
e=c**0.5





print("Yes" if d<e  else "No")

Submission status: Wrong Answer

Solution code:
import sys
import itertools
input = sys.stdin.readline
sys.setrecursionlimit(100000)


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


def read_index():
    return map(lambda x: x - 1, map(int, input().split()))


def read_list():
    return list(read_values())


def read_lists(N):
    return [read_list() for n in range(N)]


def functional(N, mod):
    F = [1] * (N + 1)
    for i in range(N):
        F[i + 1] = (i + 1) * F[i] % mod
    return F


def main():
    a, b, c = read_values()
    print("Yes" if (c - a - b) ** 2 > 4 * a * b else "No")

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
from collections import defaultdict
import math
A,B,C = map(int,input().split())
if 2 * math.sqrt(A*B) < C - A - B:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
import numpy as np
a, b, c = map(float, input().split())


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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split(' '))
from math import *
if sqrt(a)+sqrt(b)+1e-15<sqrt(c):
	print("Yes")
else:
	print("No")

Submission status: Wrong Answer

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

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

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


if __name__ == '__main__':
    main()

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:
a, b, c=map(int, input().split())
if a==b:
  if 3*a<c:
    print('Yes')
  else:
    print('No')
  exit()
  
if a+b+(a*b)**(1/2)<c:
  print('Yes')
else:
  print('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:
a, b, c = map(int, input().split())
import math
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= map(int, input().split())

num = math.sqrt(a) + math.sqrt(b)

if(num < math.sqrt(c)):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
import math

sys.setrecursionlimit(10 ** 8)

input = sys.stdin.readline


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

    if A + B + 2 * math.sqrt(A) + math.sqrt(B) < C:
        print("Yes")
    else:
        print("No")



if __name__ == '__main__':
    main()

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().strip().split())
print('Yes' if a+b+2*((a*b)**0.5) < c else 'No')

Submission status: Wrong Answer

Solution code:
import sys
stdin = sys.stdin
from math import sqrt
mod = 10**9 + 7

def ns(): return stdin.readline().rstrip()
def ni(): return int(ns())
def na(): return list(map(int, stdin.readline().split()))


a, b, c = na()
if c - a - b - 2* sqrt(a*b) > 0:
    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
from bisect import bisect, bisect_left, bisect_right

def input(): return sys.stdin.readline().strip()
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 = float('inf')
mod = 10 ** 9 + 7

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
import sys
sys.setrecursionlimit(10000000)
INF = 1<<32

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

def solve(a: int, b: int, c: int):
    from math import sqrt
    if a+b+2*sqrt(a)*sqrt(b) < c:
        print(YES)
    else:
        print(NO)
    return



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    a = int(next(tokens))  # type: int
    b = int(next(tokens))  # type: int
    c = int(next(tokens))  # type: int
    solve(a, b, c)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
import sys
import math
from bisect import bisect_left
from bisect import bisect_right
import collections
import copy
import heapq
from collections import defaultdict
from heapq import heappop, heappush
import itertools
input = sys.stdin.readline

import numpy as np

##### リストの 二分木検索 #####
# bisect_left(lists, 3)
# bisect_right(lists, 3)

##### プライオリティキュー #####
# heapq.heapify(a) #リストaのheap化
# heapq.heappush(a,x) #heap化されたリストaに要素xを追加
# heapq.heappop(a) #heap化されたリストaから最小値を削除＆その最小値を出力

# heapq.heappush(a, -x) #最大値を取り出す時は、pushする時にマイナスにして入れよう
# heapq.heappop(a) * (-1) #取り出す時は、-1を掛けて取り出すこと

##### タプルリストのソート #####
# sorted(ans) #(a, b) -> 1st : aの昇順, 2nd : bの昇順
# sorted(SP, key=lambda x:(x[0],-x[1])) #(a, b) -> 1st : aの昇順, 2nd : bの降順
# sorted(SP, key=lambda x:(-x[0],x[1])) #(a, b) -> 1st : aの降順, 2nd : bの昇順
# sorted(SP, key=lambda x:(-x[0],-x[1])) #(a, b) -> 1st : aの降順, 2nd : bの降順

# sorted(SP, key=lambda x:(x[1])) #(a, b) -> 1st : bの昇順
# sorted(SP, key=lambda x:(-x[1])) #(a, b) -> 1st : bの降順

##### 累乗 #####
# pow(x, y, z) -> x**y % z

def inputInt(): return int(input())
def inputMap(): return map(int, input().split())
def inputList(): return list(map(int, input().split()))

inf = float('inf')
mod = 1000000007

#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

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

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


#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
# special thanks :
#  https://nagiss.hateblo.jp/entry/2019/07/01/185421
#-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
# nCr mod m
# rがn/2に近いと非常に重くなる
def combination(n, r, mod=10**9+7):
    r = min(r, n-r)
    res = 1
    for i in range(r):
        res = res * (n - i) * modinv(i+1, mod) % mod
    return res

# mを法とするaの乗法的逆元
def modinv(a, mod=10**9+7):
    return pow(a, mod-2, mod)

def egcd(a, b):
    if a == 0:
        return b, 0, 1
    else:
        g, y, x = egcd(b % a, a)
        return g, x - (b // a) * y, y

# nHr mod m
# 問題によって、combination()を切り替えること
def H(n, r, mod=10**9+7):
	# comb = Combination(n+r-1, mod)
	# return comb(n+r-1, r)
    return combination(n+r-1, r, mod)

class Combination:
    """
    O(n)の前計算を1回行うことで，O(1)でnCr mod mを求められる
    n_max = 10**6のとき前処理は約950ms (PyPyなら約340ms, 10**7で約1800ms)
    使用例：
    comb = Combination(1000000)
    print(comb(5, 3))  # 10
    """
    def __init__(self, n_max, mod=10**9+7):
        self.mod = mod
        self.modinv = self.make_modinv_list(n_max)
        self.fac, self.facinv = self.make_factorial_list(n_max)

    def __call__(self, n, r):
        return self.fac[n] * self.facinv[r] % self.mod * self.facinv[n-r] % self.mod

    def make_factorial_list(self, n):
        # 階乗のリストと階乗のmod逆元のリストを返す O(n)
        # self.make_modinv_list()が先に実行されている必要がある
        fac = [1]
        facinv = [1]
        for i in range(1, n+1):
            fac.append(fac[i-1] * i % self.mod)
            facinv.append(facinv[i-1] * self.modinv[i] % self.mod)
        return fac, facinv

    def make_modinv_list(self, n):
        # 0からnまでのmod逆元のリストを返す O(n)
        modinv = [0] * (n+1)
        modinv[1] = 1
        for i in range(2, n+1):
            modinv[i] = self.mod - self.mod//i * modinv[self.mod%i] % self.mod
        return modinv

if __name__ == "__main__":
	main()

Submission status: Wrong Answer

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

if a**2 + b**2 + 2*((a*b)**0.5) < c**2:
    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:
import sys
input = sys.stdin.buffer.readline

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

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
from math import sqrt

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

Submission status: Wrong Answer

Solution code:
import sys
import math
input = sys.stdin.readline

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:
import math
a,b,c=map(int,input().split())
ans="No"
sa=math.sqrt(a)
sb=math.sqrt(b)
sc=math.sqrt(c)
apb=sa+sb
if apb<sc:
    ans="Yes"
    
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys, re
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,copy
from string import ascii_lowercase, ascii_uppercase, digits
from fractions import gcd

def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

def main():
	a, b, c = MAP()
	if c - a - b - 2 * a * b > 0:
		print("Yes")
	else:
		print("No")

if __name__=='__main__':
	main()

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=(int(x) for x in input().split())
if a**(1/2)+b**(1/2)<c**(1/2):
    result="Yes"
else:
    result="No"
print(result)

Submission status: Wrong Answer

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

A = a ** 0.5
B = b ** 0.5
C = c ** 0.5
print("Yes" if A + B < C else "No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
ii=lambda:int(input())
miis=lambda:map(int,input().split())

a,b,c=miis()

print('Yes' if pow(a,0.5)+pow(b,0.5)<pow(c,0.5) else 'No')

Submission status: Wrong Answer

Solution code:
a,b,c=map(int,input().split())
migi=c-a-b
hidari=2*((a*b)**(1/2))
flag=0
if migi <=0:
    flag+=1
if migi <= hidari:
    flag+=1
if flag:
    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:
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:
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:
from math import sqrt

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

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

Submission status: Wrong Answer

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

aa = math.sqrt(a)
bb = math.sqrt(b)
cc = math.sqrt(c)

if aa+bb<cc:
  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:
# from heapq import heappush, heappop, heapify
# from fractions import gcd
# import itertools
# from operator import attrgetter, itemgetter
# import math

import sys

# import numpy as np

ipti = sys.stdin.readline
MOD = 10 ** 9 + 7
INF = float('INF')
sys.setrecursionlimit(10 ** 5)


def main():
    a, b, c = list(map(int,ipti().split()))

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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
from math import sqrt

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

from math import sqrt

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

Submission status: Wrong Answer

Solution code:
import math

s = input().split()

a = int(s[0])
b = int(s[1])
c = int(s[2])

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal, getcontext

getcontext().prec = 1000

a, b, c = map(Decimal, input().split())
print('Yes' if a.sqrt() + b.sqrt() + Decimal('1e-12') < c.sqrt() else 'No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x,y,z=map(int,input().split())
x=pow(x,0.5)
y=pow(y,0.5)
z=pow(z,0.5)
if (x+y)<z:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
# C - Sqrt Inequality
from math import sqrt


def main():
    A, B, C = map(int, input().split())
    print("Yes" if sqrt(A) + sqrt(B) < sqrt(C) else "No")


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import math

inputs = list(map(int, (input().split())))


a = inputs[0]
b = inputs[1]
c = inputs[2]

aa = math.sqrt(a)
bb = math.sqrt(b)
cc = math.sqrt(c)

if (aa + bb < cc):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import math

a,b,c=map(int,input().split())
a=math.sqrt(a)
b=math.sqrt(b)
c=math.sqrt(c)
if a+b<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
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())
print(["No","Yes"][sqrt(a)+sqrt(b)<sqrt(c)])

Submission status: Wrong Answer

Solution code:
a,b,c = [int(i) for i in input().split()]
a = a ** (1/2)
b = b**(1/2)
c = c**(1/2)
if a + b < c:
    print("Yes")
    exit()
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:
import math
a,b,c = map(int, input().split())
print("Yes" if math.sqrt(a) + math.sqrt(b) < math.sqrt(c) else "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:
# encoding:utf-8
import copy
import random
import bisect #bisect_left　これで二部探索の大小検索が行える
import fractions #最小公倍数などはこっち
import math
import sys
import collections

mod = 10**9+7
sys.setrecursionlimit(mod) # 再帰回数上限はでdefault1000

d = collections.deque()
def LI(): return list(map(int, sys.stdin.readline().split()))

a,b,c = LI()

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

Submission status: Wrong Answer

Solution code:
import numpy as np
import math as m

def main(**kwargs):
    res = "No"

    if m.sqrt(a) + m.sqrt(b) < m.sqrt(c):
        res = "Yes"

    return res

if __name__ == "__main__":
    cin = np.array(input().split(" ")).astype("int")
    a, b, c, *_ = cin

    cout = main(a=a, b=b, c=c)
    print(cout)

Submission status: Wrong Answer

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

import math

if a+b+2*math.sqrt(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:
''' بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ '''
#codeforces
gi = lambda : list(map(int,input().split()))
n, m, p = gi()
if n + m + 2 * (n * m) ** .5 < p:
	print("Yes")
else:
	print("No")

Submission status: Wrong Answer

Solution code:
import math

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

if __name__ == '__main__':
    main()

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:
import math
a,b,c = map(int,input().split())
ans = "None"
if math.sqrt(a) + math.sqrt(b) < math.sqrt(c):
    ans = "Yes"
else:
    ans = "No"
print(ans)

Submission status: Wrong Answer

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

import sys
from math import sqrt

def input(): return sys.stdin.readline().strip()
def list2d(a, b, c): return [[c] * b for i in range(a)]
def list3d(a, b, c, d): return [[[d] * c for j in range(b)] for i in range(a)]
def list4d(a, b, c, d, e): return [[[[e] * d for j in range(c)] for j in range(b)] for i in range(a)]
def ceil(x, y=1): return int(-(-x // y))
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(N=None): return list(MAP()) if N is None else [INT() for i in range(N)]
def Yes(): print('Yes')
def No(): print('No')
def YES(): print('YES')
def NO(): print('NO')
sys.setrecursionlimit(10 ** 9)
INF = 10 ** 18
MOD = 10 ** 9 + 7
EPS = 10 ** -9

a, b, c = MAP()

if sqrt(a) + sqrt(b) - sqrt(c) < EPS:
    Yes()
else:
    No()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
l = list(map(int, input().split()))
if math.sqrt(l[0]*l[1]) < (l[2]-l[1]-l[0])/2:
    print("Yes")
else:
    print('No')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
import math
import string
import fractions
import random
from operator import itemgetter
import itertools
from collections import deque
import copy
import heapq
import bisect

MOD = 10 ** 9 + 7
INF = float('inf')
input = lambda: sys.stdin.readline().strip()

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

Submission status: Wrong Answer

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

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


def solve(a: int, b: int, c: int):
    print(YES if a**0.5+b**0.5 < c**0.5 else NO)


# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    a = int(next(tokens))  # type: int
    b = int(next(tokens))  # type: int
    c = int(next(tokens))  # type: int
    solve(a, b, c)


if __name__ == '__main__':
    main()

Submission status: 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 sys
stdin = sys.stdin
sys.setrecursionlimit(10**9)
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
nn = lambda: list(stdin.readline().split())
ns = lambda: stdin.readline().rstrip()

a,b,c = na()

import numpy as np

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

Submission status: Wrong Answer

Solution code:
s=input().split(" ")
a=int(s[0])
b=int(s[1])
c=int(s[2])
# a+b+2*sqrt(ab) < c
if ((a*b)**0.5)*2<c-a-b:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
readline = sys.stdin.readline


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

"""
2sqrt(ab) < c - a - b
4ab < (c - a - b) ** 2
"""
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())

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

if s > 0:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

rt = math.sqrt

a, b, c = map(int, input().split())
if (rt(a) + rt(b)) < rt(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:
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:
#!/usr/bin/env python3
import sys
import decimal
import math
YES = "Yes"  # type: str
NO = "No"  # type: str


def solve(a: int, b: int, c: int):
    decimal.getcontext().prec = 20
    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)
    return


# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    a = int(next(tokens))  # type: int
    b = int(next(tokens))  # type: int
    c = int(next(tokens))  # type: int
    solve(a, b, c)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
a,b,c = map(float,input().split())
print("Yes" if a**0.5+b**0.5 < c**0.5 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:
#a, b, m = list(map(int, input().split()))
#a = list(map(int, input().split()))
#b = list(map(int, input().split()))
import math
a,b,c = list(map(int, input().split()))

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
from math import sqrt

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

def main():
    d = sqrt(c) - sqrt(a) - sqrt(b)
    # l = 4 * a * b
    # r = (c - a - b) ** 2
    return 'Yes' if d > 0 else 'No'

if __name__ == "__main__":
    ans = main()
    print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
from decimal import Decimal


def main():
    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') 


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

d = (c - a - b) / 2

if a*b < (d ** 2):
    print("Yes")
else:
    print("No")