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: Runtime Error

Solution code:
import math

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
using namespace std;


int main() {
  double a, b, c;
  cin >> a >> b >> c;
  
  if(sqrt(a)+sqrt(b)<sqrt(c)){
      cout << "Yes" << endl;
  } else {
      cout << "No" << endl;
  }
  
  return 0;

}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
a,b,c=map(int, input().split())
return math.sqrt(a)+math.sqrt(b)<math.sqrt(c)?"yes":"No"

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

Solution code:
h jkbbj

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#include <stdio.h>
#include <math.h>

int main(void){
  int A,B,C;
  double ab,c;
  scanf("%d %d %d",&A,&B,&C);
  ab = sqrt(A)+sqrt(B); c = sqrt(C);
  if(ab<c)
    printf("Yes");
  else
    printf("No");
  return 0;
}

Submission status: Runtime Error

Solution code:
import math

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

d = c - a - b

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
def scanf(scanstr,data_format):
    scanstr=scanstr.split(" ")
    if(type(data_format) is not list):
        print("data_format error")
    if(len(scanstr)!=len(data_format)):
        print("Error")
        return -1
    j=0
    for kata in data_format:
        if(kata=="str"):
            scanstr[j]=str(scanstr[j])
        if(kata=="int"):
            scanstr[j]=int(scanstr[j])
        j=j+1
    return scanstr
data=scanf(input(),["int","int","int"])
if (data[0]+data[1]+2*math.sqrt(data[0]*data[1]))<data[2]):
    print("Yes")
else :
    print("No")

Submission status: Runtime Error

Solution code:
from math import sqrt

i = input().split()
a = int(i[0] * (10 ** 10))
b = int(i[1]* (10 ** 10))
c = int(i[2]* (10 ** 10))

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

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math

x,y,z = map(int,input())

x = math.sqrt(x)
y = math.sqrt(y)
z = math.sqrt(z)

if x + y < z:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math

a,b,c = map(int,input().split())
d = math.sqrt(a) + math.sqrt(b)
e = math.sqat(c)

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
import numpy as np

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

Submission status: Runtime Error

Solution code:
import math
import numpy as np

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#!/usr/bin/env python3
from decimal import *
 
a, b, c = map(Decimal, input().split())
if sqrt(a) + sqrt(b) < sqrt(c):
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
#!/usr/bin/env python3
from * import decimal
from math import sqrt
 
a, b, c = map(decimal, input().split())
if sqrt(a) + sqrt(b) < sqrt(c):
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
#!/usr/bin/env python3
import decimal
from math import sqrt
 
a, b, c = map(decimal, input().split())
if sqrt(a) + sqrt(b) < sqrt(c):
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
#!/usr/bin/env python3
from math import sqrt
 
a, b, c = map(Decimal, input().split())
if sqrt(a) + sqrt(b) < sqrt(c):
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
#!/usr/bin/env python3
from math import sqrt
 
a, b, c = map(decimal, input().split())
if sqrt(a) + sqrt(b) < sqrt(c):
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
#!/usr/bin/env python3
from math import sqrt
 
a, b, c = map(desimal, input().split())
if sqrt(a) + sqrt(b) < sqrt(c):
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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 MAST(exp: bool, msg = ""):
    if exp is False: 
        print("MAssertionError:", msg)
        ls = [0] * 10**10
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"
    MAST(C > A + B, "C > A + B")
    # A + 2sqrt(AB) + B < C
    if C - A - B  > 0 and  4 * A * B < (C- A - B) ** 2:
        ans = "Yes"
        
    print(ans)


if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
# C
# 解説みた
a, b, c = map(int, input().split())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
#include<iostream>
main(){long a,b,c;std::cin>>a>>b>>c;std::cout<<(4*a*b+2*c*(a+b)<c*c+(a+b)*(a+b)&&c>=a+b?"Yes":"No");}

Submission status: Runtime Error

Solution code:
 numpy as np
a, b, c = map(np.sqrt, map(lambda x:100*x, map(int, input().split())))
print('Yes' if a + b - c < 0  else 'No')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
eps = 1.0e-14
if math.sqrt(a) + math.sqrt(b) + eps < math.sqrt(c):
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
import math
x,y,z=map(int,input().split(" "))
if (x-y-z)**2-4xy>0:
	print("Yes")
else:
 
	print("No")

Submission status: Runtime Error

Solution code:
import math

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
if a**0.5 + b**0.5 < c**0.5
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
x,y,z=map(int,input().split(" "))
if z**2-y**2-x**2>2x*y:
	print("Yes")
else:
 
	print("No")

Submission status: Runtime Error

Solution code:
x,y,z=map(int,input().split(" "))
if z-y-x>2(pow(x, 0.5)+pow(y, 0.5)):
	print("Yes")
else:
 
	print("No")

Submission status: Runtime Error

Solution code:
x,y,z=map(int,input().split(" "))
if z-y-y>2(pow(x, 0.5)+pow(y, 0.5)):
	print("Yes")
else:
 
	print("No")

Submission status: Runtime Error

Solution code:
x,y,z=map(int,input(" "))
if pow(z, 0.5)>pow(x, 0.5)+pow(y, 0.5):
	print("Yes")
else:

	print("No")

Submission status: Runtime Error

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 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"
    # A + 2sqrt(AB) + B < C
    assert C - A -B > 0, "C - A - B > 0"
    if C - A - B  > 0 and  4 * A * B < (C- A - B) ** 2:
        ans = "Yes"

    print(ans)


if __name__ == '__main__':
    main()

Submission status: Runtime Error

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 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"
    # A + 2sqrt(AB) + B < C
    assert C - A -B > 0 "C - A - B > 0"
    if C - A - B  > 0 and  4 * A * B < (C- A - B) ** 2:
        ans = "Yes"

    print(ans)


if __name__ == '__main__':
    main()

Submission status: Runtime Error

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 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"
    # A + 2sqrt(AB) + B < C
    assert C - A -B > 0
    if C - A - B  > 0 and  4 * A * B < (C- A - B) ** 2:
        ans = "Yes"

    print(ans)


if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
from math import pow
a, b, c = map(int, input().split())
mod = 10**9+7
if 4*a*b < pow(c-a-b, 2, mod):
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
import math
h,w = map(int,(input().split()))
h = math.floor(h)
w = math.floor(w)
sum = h * w

if h == 1 and w ==1:
    print("1")
elif h % 2 == 0:
    result = math.floor(sum /2)
    print(result)
else:
    result = math.floor(sum /2 + 1)
    print(result)

Submission status: Runtime Error

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



left = 4 * a * b
d = c -a -b
right =d * d

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
program main
    integer(16) :: a,b,c,d
    read*,a,b,c
    d = c-a-b
    if (d > 0 .and. d**2 > 4*a*b ) then
        print *, 'Yes'
    else
        print *, 'No'
    end if
end program main

Submission status: Runtime Error

Solution code:
#import numpy as np
import math
#abc_sq = np.sqrt(abc)
d = c - a - b
if 4*a*b < d**2 and d > 0:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
import math
A=[float(a) for a in input().split()]
if round(math.sqrt(A[0],100))+round(math.sqrt(A[1],100))<rounf(math.sqrt(A[2],100)):
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
#include<bits/stdc++.h>
#pragma GCC optimize("Ofast")
using namespace std;
#define all(x) (x).begin(),(x).end()
#define rall(x) (x).rbegin(),(x).rend()
typedef long long ll;
const ll MOD = 1e9+7;
#define rep(i,n) for(int i=0, i##_len=(n); i<i##_len; ++i)
#define REP(i,num,n) for(int i=num, i##_len=(n); i<i##_len; ++i)
template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; }
template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; }
template<class T> inline void add(T &a, T b){a = ((a+b) % MOD + MOD) % MOD;};
#define print(x) (cout << (x) << endl)
#define pb push_back
#define mp make_pair
#define sz(x) int(x.size())
#define fs first
#define sc second


const int INF = 1e9;
const ll LLINF = 1e16;

template<typename T>
vector<T> make_v(size_t a){return vector<T>(a);}
 
template<typename T,typename... Ts>
auto make_v(size_t a,Ts... ts){
  return vector<decltype(make_v<T>(ts...))>(a,make_v<T>(ts...));
}
 
template<typename T,typename U,typename... V>
typename enable_if<is_same<T, U>::value!=0>::type
fill_v(U &u,const V... v){u=U(v...);}
 
template<typename T,typename U,typename... V>
typename enable_if<is_same<T, U>::value==0>::type
fill_v(U &u,const V... v){
  for(auto &e:u) fill_v<T>(e,v...);
}
 
template<typename T>
T gcd(T a,T b){return b?gcd(b,a%b):a;}

template<typename T>
T ngcd(vector<T> a){
    T res;
    res = a[0];
    for(int i = 1; i < a.size() && res != 1; i++) {
        res = gcd(a[i], res);
    }
    return res;
}
 
template<typename T>
T lcm(T a, T b) {
    return a / gcd(a, b) * b;
}

template<typename T>
T nlcm(vector<T> numbers) {
    T res;
    res = numbers[0];
    for (int i = 1; i < numbers.size(); i++) {
        res = lcm(res, numbers[i]);
    }
    return res;
}

// 割り算の切り上げ処理
template<typename T>
T round_up(T a, T b) {
  return (a + b - 1) / b;
}

// 約数列挙
template<typename T>
vector<T> calc_divisor(T n) {
   vector<T> res;
   for (T i = 1LL; i*i <= n; ++i) {
       if (n % i == 0) {
           res.push_back(i);
           T j = n / i;
           if (j != i) res.push_back(j);
       }
   }
   sort(res.begin(), res.end());
   return res;
}

// 素数判定
template<typename T>
bool isPrime(T x){
    T i;
    if(x < 2)return 0;
    else if(x == 2) return 1;
    if(x%2 == 0) return 0;
    for(i = 3; i*i <= x; i += 2) if(x%i == 0) return 0;
    return 1;
}

// 桁和
template<typename T>
T digsum(T n) {
    T res = 0;
    while(n > 0) {
        res += n%10;
        n /= 10;
    }
    return res;
}

// 指定した文字cが文字列に何文字入ってるか
ll stringcount(string s, char c) {
    return count(s.cbegin(), s.cend(), c);
}

using pint = pair<int, int>;
using pll = pair<ll, ll>;


int main(void)
{
    cout.tie(0);
    cin.tie(0);
    ios::sync_with_stdio(false);
    cout << fixed << setprecision(10);
    ll a,b,c;
    cin >> a >> b >> c;
    long double tmp = sqrt(a);
    long double tmp2 = sqrt(b);
    long double ans = a + b + 2 * tmp * tmp2;
    if(ans < (long double)c) print("Yes");
    else print("No");
   
    
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
import numpy as np
num=list(map(input().split()))
num_r=[np.squrt(i) for i in num]
if num[0]+num[1]<num[2]:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a,b,c=map(float,input().split())
from math import sqrt
def fl(x):
    digits = 9
    form = '%.'+str(digits-1)+'e'
    return float((form % x))
def int_sqrt2(n):
    def f(prev):
        while True:
            m = (prev + n / prev) / 2
            if m >= prev:
                return prev
            prev = m
    
    return f(int(sqrt(n) * (1 + 1e-10)))
if float(fl(a)*fl(b))<int_sqrt2(float(fl(fl(c-a)-b))/float(4)):
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
#define _GLIBCXX_DEBUG
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#include <bits/stdc++.h>
using namespace std;


int main(){
  int a,b,c;
  cin >> a >> b >> c;
  if(a*b < min(0,c-a-b)){
    cout << "Yes" << endl;
  }
  else{
    cout << "No" << endl;
  }

Submission status: Runtime Error

Solution code:
import math

def LI():
	return [ int(s) for s in input().split() ]
  
a,b,c = LI()

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

print(a*a + b*b + c*c)
print(2*(a*b + a*c + b*c))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
def solve():
	a, b, c = map(int, raw_input().strip().split())
    d = c - a - b
    if d <= 0: return False
    return 4 * a * b < d * d

print 'Yes' if solve() else 'No'

Submission status: Runtime Error

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

roota = decimal.Decimal.sqrt(a)
rootb = decimal.Decimal.sqrt(b)
rootc = decimal.Decimal.sqrt(c)
if roota + rootb < rootc:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

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

roota = decimal.Decimal.sqrt(a)
rootb = decimal.Decimal.sqrt(b)
rootc = decimal.Decimal.sqrt(c)
if roota + rootb < rootc:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

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

roota = Decimal.sqrt(a)
rootb = Decimal.sqrt(b)
rootc = Decimal.sqrt(c)
if roota + rootb < rootc:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
# coding: utf-8
import numpy as np

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

# print(a,b,c)
# if np.sqrt(a)+np.sqrt(b)<np.sqrt(c):
#     print("Yes")
# else:
#     print("No")
d = c-a-b
if d>0 and 4*a*b<d*d :
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
# coding: utf-8
import numpy as np

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

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

Submission status: Runtime Error

Solution code:
# coding: utf-8
import numpy as np

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

Solution code:
# coding: utf-8
import numpy as np

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

# print(a,b,c)



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

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>
using namespace std;

typedef long long ll;
int main() {
    ll a, b, c;
    cin >> a >> b >> c;
    ll l = 4 * a * b;
    ll r = c - a - b;
    if (r < 0) {
        cout << "No\n";
        return 0;
    }
    r *= r;
    if (l < r) cout << "Yes\n";
    else cout << "No\n";
    return 0;
}

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
from decimal import *
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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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