ZhenlongDai/ACPR huggingface dataset:
Problem: p02271
Buggy submission (Python3, verdict: Wrong Answer):
n=int(input())
A=[0 for i in range(n)]
A=input().split()
for i in range(n):
    A[i]=int(A[i])
q=int(input())
B=[0 for i in range(q)]
B=input().split()
C=[]
for i in range(q):
    B[i]=int(B[i])
    c=0
    for j in range(n-1):
        for k in range(j+1,n):
            sum=A[j]+A[k]
            if sum==B[i] and c==0:
                c+=1
                C.append("yes")
    if c==0:
        C.append("no")
for i in range(q):
    print(C[i])


Failing test case input:
5
1 5 7 10 21
8
2 4 17 10 22 21 100 35

Expected output:
no
no
yes
yes
yes
yes
no
no


Actual output:
no
no
yes
no
yes
no
no
no


Fixed submission (verdict: Accepted):
import itertools
n=int(input())
A=[0 for i in range(n)]
A=input().split()
for i in range(n):
    A[i]=int(A[i])
q=int(input())
B=[0 for i in range(q)]
B=input().split()
C=[]
for i in range(q):
    B[i]=int(B[i])
l=[0,1]
p=[]
k=0
D=[]
for v in itertools.product(l,repeat=n):
    sum=0
    for i in range(n):
        if v[i]==1:
            sum=sum+A[i]
    D.append(sum)
    k+=1
for i in range(q):
    if B[i] in D:
        C.append("yes")
    else:
        C.append("no")
for i in range(q):
    print(C[i])

Problem: p02271
Buggy submission (Python3, verdict: Wrong Answer):
n = int(input())
A = list(map(int, input().split()))
q = int(input())
m = list(map(int, input().split()))

sum_list = []
for i in range(n**2):
    b = '{0:0{1}b}'.format(i, n)

    temp = []
    for j in range(n):
        if b[j] == '1':
            temp.append(A[j])
    sum_list.append(sum(temp))

for k in m:
    print('yes' if k in sum_list else 'no')

Failing test case input:
5
1 5 7 3 21
8
0 4 15 9 38 21 010 57

Expected output:
yes
yes
yes
yes
no
yes
yes
no


Actual output:
yes
yes
yes
no
no
yes
yes
no


Fixed submission (verdict: Accepted):
n = int(input())
A = list(map(int, input().split()))
q = int(input())
m = list(map(int, input().split()))

sum_list = []
for i in range(2**n):
    b = '{0:0{1}b}'.format(i, n)

    temp = []
    for j in range(n):
        if b[j] == '1':
            temp.append(A[j])
    sum_list.append(sum(temp))

for k in m:
    print('yes' if k in sum_list else 'no')
Problem: p02271
Buggy submission (Python3, verdict: Wrong Answer):
n = int(input())
A = list(map(int, input().split()))
q = int(input())
M = list(map(int, input().split()))


def solve(j, i):
    
    if i == 0:
        return True
    if j > n - 1:
        return False

    if i >= A[j]:
        tmp1 = solve(j + 1, i - A[j])
        tmp2 = solve(j + 1, i)
    else:
        
        return False

    if tmp1 or tmp2:
        return True
    else:
        return False


for i in M:
    if solve(0, i):
        print('yes')
    else:print('no')

Failing test case input:
5
0 5 10 -1 21
8
0 2 17 11 9 14 011 41

Expected output:
yes
no
no
no
yes
yes
no
no


Actual output:
yes
no
no
no
no
no
no
no


Fixed submission (verdict: Accepted):
n = int(input())
A = list(sorted(map(int, input().split())))
q = int(input())
M = list(map(int, input().split()))

R = [[None] * 2000 for i in range(n + 1)]

def solve(A, i, m, n):
    if R[i][m] != None:
        return R[i][m]
    if m == 0:
        R[i][m] = True
        return True
    elif i >= n:
        R[i][m] = False
        return False
    else:
        ans = solve(A, i + 1, m, n) or solve(A, i + 1, m - A[i], n)
        R[i][m] = ans
        return ans

for i in M:
    if sum(A) < i:
        print('no')
    elif solve(A, 0, i, n):
        print('yes')
    else:
        print('no')

Problem: p02271
Buggy submission (Python3, verdict: Wrong Answer):
n1 = int(input())
A = list(map(int, input().split()))
n2 = int(input())
q = list(map(int, input().split()))

B = []

n = n1
ans = list("no" for i in range(n2))

for i in range(2 ** n):
    B = list(map(int, format(i, "b").zfill(n)))[::-1]
    C = sum([ x*y for x, y in zip(A, B)])
    for i, r in enumerate(q):
        if  C == r:
            ans[i] = "yes"
            break
print(*ans, sep="\n")

Failing test case input:
5
1 5 10 -1 21
8
0 2 17 11 9 14 011 41

Expected output:
yes
no
no
yes
yes
yes
yes
no


Actual output:
yes
no
no
yes
yes
yes
no
no


Fixed submission (verdict: Accepted):
n1 = int(input())
A = list(map(int, input().split()))
n2 = int(input())
q = list(map(int, input().split()))

B = []
C = []
n = n1
ans = list("no" for i in range(n2))

for i in range(2 ** n):
    C0 = []
    B = list(map(int, format(i, "b").zfill(n)))[::-1]
    C0 = [ x*y for x, y in zip(A, B)]
    C.append(sum(C0))

for j, r in enumerate(q):    
    if  r in C:
        ans[j] = "yes"

print(*ans, sep="\n")
Problem: p02271
Buggy submission (Python3, verdict: Wrong Answer):
n = int(input())
A = list(input().split())
for i in range(n):
    A[i] = int(A[i])
m = int(input())
B = list(input().split())
for i in range(m):
    B[i] = int(B[i])

def solve(x,y):
    if y<0:
        return False
    elif y==1:
        return True
    elif x==n:
        return False
    else:
        return solve(x+1,y) or solve(x+1,y-A[x])
    
for i in range(m):
    if solve(0,B[i]):
        print("yes")
    else:
        print("no")



Failing test case input:
5
0 8 9 0 21
8
0 2 18 3 39 21 011 30

Expected output:
yes
no
no
no
no
yes
no
yes


Actual output:
no
no
yes
no
yes
no
no
yes


Fixed submission (verdict: Accepted):
n = int(input())
A = list(input().split())
for i in range(n):
    A[i] = int(A[i])
m = int(input())
B = list(input().split())
for i in range(m):
    B[i] = int(B[i])

def solve(x,y):
    if x==n:
        S[y] = 1
    else:
        solve(x+1,y)
        if y+A[x] < 2001:
            solve(x+1,y+A[x])
            
S = [0 for i in range(2001)]

solve(0,0)
    
for i in range(m):
    if S[B[i]] == 1:
        print("yes")
    else:
        print("no")

Problem: p02271
Buggy submission (Python3, verdict: Wrong Answer):




N = int(input())
aN = list(map(int, input().split()))
Q = int(input())
mQ = list(map(int, input().split()))

def dfs(cur, depth, ans):
    
    if cur == ans:
        return True
    
    for i in range(depth, N):
        if dfs(cur+aN[i], depth+i+1, ans):
            return True
    
    return False

for i in range(Q):
    if dfs(0, 0, mQ[i]):
        print('yes')
    else:
        print('no')



Failing test case input:
5
-1 5 10 -1 21
8
1 7 17 11 8 14 010 41

Expected output:
no
no
no
no
yes
yes
yes
no


Actual output:
no
no
no
no
no
no
yes
no


Fixed submission (verdict: Accepted):




N = int(input())
aN = list(map(int, input().split()))
Q = int(input())
mQ = list(map(int, input().split()))

def dfs(cur, depth, ans):
    
    if cur == ans:
        return True
    
    if cur in memo[depth]:
        return False
    memo[depth].add(cur)
    
    for i in range(depth, N):
        if dfs(cur+aN[i], i+1, ans):
            return True
    
    return False

for i in range(Q):
    memo = [set() for j in range(N+1)]
    if dfs(0, 0, mQ[i]):
        print('yes')
    else:
        print('no')
Problem: p02271
Buggy submission (Python3, verdict: Wrong Answer):
cpList = []

def canProd(i,m,a,n):
    if m in cpList:
        return True

    if m == 0:
        return True
    if i >= n:
        return False

    res = canProd(i+1,m,a,n) or canProd(i+1,m-a[i],a,n)
    return res


n = int(input())
a = [int(x) for x in input().split()]
q = int(input())
m = [int(x) for x in input().split()]

for i in m:
    if canProd(0,i,a,n):
        print("yes")
        cpList.append(i)
    else:
        print("no")

Failing test case input:
5
1 5 4 10 23
8
2 4 17 10 42 18 110 42

Expected output:
no
yes
no
yes
yes
no
no
yes


Actual output:
no
yes
no
yes
yes
yes
no
yes


Fixed submission (verdict: Accepted):
from functools import lru_cache

@lru_cache(maxsize = 10000)
def canProd(i,m):
     
    if m == 0:
        return True
    if i >= n:
        return False
 
    res = canProd(i+1,m) or canProd(i+1,m-a[i])
    return res
 
 
n = int(input())
a = [int(x) for x in input().split()]
q = int(input())
m = [int(x) for x in input().split()]
 
for i in m:
    if canProd(0,i):
        print("yes")
    else:
        print("no")

Problem: p02271
Buggy submission (Python3, verdict: Wrong Answer):
n=int(input())
A=[0 for i in range(n)]
A=input().split()
for i in range(n):
    A[i]=int(A[i])
q=int(input())
B=[0 for i in range(q)]
B=input().split()
C=[]
for i in range(q):
    B[i]=int(B[i])
    c=0
    for j in range(n-1):
        for k in range(j+1,n):
            sum=A[j]+A[k]
            if sum==B[i] and c==0:
                c+=1
                C.append("yes")
    if c==0:
        C.append("no")
for i in range(q):
    print(C[i])



Failing test case input:
5
1 7 7 2 36
8
2 5 16 10 22 21 100 60

Expected output:
yes
no
yes
yes
no
no
no
no


Actual output:
no
no
no
no
no
no
no
no


Fixed submission (verdict: Accepted):
import itertools
n=int(input())
A=[0 for i in range(n)]
A=input().split()
for i in range(n):
    A[i]=int(A[i])
q=int(input())
B=[0 for i in range(q)]
B=input().split()
C=[]
for i in range(q):
    B[i]=int(B[i])
l=[0,1]
p=[]
k=0
D=[]
for v in itertools.product(l,repeat=n):
    sum=0
    for i in range(n):
        if v[i]==1:
            sum=sum+A[i]
    D.append(sum)
    k+=1
for i in range(q):
    if B[i] in D:
        C.append("yes")
    else:
        C.append("no")
for i in range(q):
    print(C[i])
Problem: p02271
Buggy submission (Python3, verdict: Wrong Answer):
n = int(input())
a = list(map(int, input().strip().split()))
q = int(input())
M = list(map(int, input().strip().split()))

d = []
for x in range(1 << n):
    b = '{:0{}b}'.format(x, n)
    print(b)
    d.append(sum(a[i] for i in range(n) if b[i] == '1'))

for m in M:
    print('yes' if m in d else 'no')

Failing test case input:
5
1 5 13 3 21
8
0 4 17 11 22 21 010 42

Expected output:
yes
yes
yes
no
yes
yes
no
yes


Actual output:
00000
00001
00010
00011
00100
00101
00110
00111
01000
01001
01010
01011
01100
01101
01110
01111
10000
10001
10010
10011
10100
10101
10110
10111
11000
11001
11010
11011
11100
11101
11110
11111
yes
yes
yes
no
yes
yes
no
yes


Fixed submission (verdict: Accepted):
n = int(input())
a = list(map(int, input().strip().split()))
q = int(input())
M = list(map(int, input().strip().split()))

d = []
for x in range(1 << n):
    b = '{:0{}b}'.format(x, n)
    d.append(sum(a[i] for i in range(n) if b[i] == '1'))

for m in M:
    print('yes' if m in d else 'no')

Problem: p02271
Buggy submission (Python3, verdict: Wrong Answer):
n1 = int(input())
A = list(map(int, input().split()))
n2 = int(input())
q = list(map(int, input().split()))

B = []

n = n1
ans = list("no" for i in range(n2))

for i in range(2 ** n):
    C0 = []
    B = list(map(int, format(i, "b").zfill(n)))[::-1]
    C0 = [ x*y for x, y in zip(A, B)]
    C = sum(C0)

    for j, r in enumerate(q):
        if  C == r:
            ans[j] = "yes"
            break
print(*ans, sep="\n")

Failing test case input:
5
0 5 7 3 21
8
0 6 33 11 8 21 000 47

Expected output:
yes
no
yes
no
yes
yes
yes
no


Actual output:
yes
no
yes
no
yes
yes
no
no


Fixed submission (verdict: Accepted):
n1 = int(input())
A = list(map(int, input().split()))
n2 = int(input())
q = list(map(int, input().split()))

B = []
C = []
n = n1
ans = list("no" for i in range(n2))

for i in range(2 ** n):
    C0 = []
    B = list(map(int, format(i, "b").zfill(n)))[::-1]
    C0 = [ x*y for x, y in zip(A, B)]
    C.append(sum(C0))

for j, r in enumerate(q):    
    if  r in C:
        ans[j] = "yes"

print(*ans, sep="\n")
Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())


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

Failing test case input:
100 0 -6

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())


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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
d = c - a - b
if d < 0 or a*b > d**2:
    print('No')
else:
    print('Yes')


Failing test case input:
3 3 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
d = c - a - b
if d < 0:
    print('No')
elif 4*a*b < d**2:
    print('Yes')
else:
    print('No')

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int, input().split())

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

Failing test case input:
000 0 -3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c = map(int, input().split())

if c - a - b <= 0:
    print("No")
    exit()

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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import math

square_list = [i**2 for i in range(1, 10**5)]

def integer_squareroot(x):
    imin = 0
    imax = x
    while imin <= imax:
        imid = (imin + imax) 
        imid_squared = imid ** 2
        if imid_squared <= x:
            imin = imid + 1
        else:
            imax = imid - 1

    return imin - 1


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














Failing test case input:
111 -1 -3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
import math

square_list = [i**2 for i in range(1, 10**5)]

def integer_squareroot(x):
    imin = 0
    imax = x
    while imin <= imax:
        imid = (imin + imax) 
        imid_squared = imid ** 2
        if imid_squared <= x:
            imin = imid + 1
        else:
            imax = imid - 1

    return imin - 1


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

Problem: p02743
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b, c = map(int, input().split())

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


Failing test case input:
000 0 -6

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())

if a + b > c:
    print('No')
else:
    if 4 * a * b < (c - a - b) ** 2:
        print('Yes')
    else:
        print('No')
Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def main():
    a, b, c = list(map(int, input().split()))
    
    if (- a - b + c) ** 2 > 4 * a * b:
        print('Yes')
    else:
        print('No')

if __name__ == "__main__":
    main()


Failing test case input:
101 0 -2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
def main():
    a, b, c = list(map(int, input().split()))
    
    if (c - a - b) ** 2 > 4 * a * b and c - a - b > 0:
        print('Yes')
    else:
        print('No')

if __name__ == "__main__":
    main()

Problem: p02743
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
[a, b, c] = input().split()
a = int(a)
b = int(b)
c = int(c)

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


Failing test case input:
-16 -1 0

Expected output:
Yes


Actual output:
-16 -1 0
Yes


Fixed submission (verdict: Accepted):
[a, b, c] = input().split()
a = int(a)
b = int(b)
c = int(c)

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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if a**2+b**2+c**2-2*a*b-2*b*c-2*c*a>0:
  print('Yes')
else:
  print ('No')


Failing test case input:
4 2 -1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
if a**2+b**2+c**2-2*a*b-2*b*c-2*c*a>0:
  if c-a-b>0:
    print('Yes')
  else:
    print('No')
else:
  print ('No')

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int,input().split())

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

Failing test case input:
2 5 -2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int,input().split())

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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())

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


Failing test case input:
011 0 -4

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())

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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if a+b+2**0.5*a*b<c:
    print('Yes')
else:
    print('No')

Failing test case input:
-1 -5 1

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
if 4*a*b<(c-a-b)**2 and c-a-b>0:
    print('Yes')
else:
    print('No')
Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from math import sqrt

n, m, l = map(int, input().split())
left = n+m-1
if left > 0 and left**2  > 4*(n*m):
    print('Yes')

else:
    print('No') 


Failing test case input:
16 0 -1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
from math import sqrt

n, m, l = map(int, input().split())
left = n+m-l
if left < 0 and left**2  > 4*(n*m):
    print('Yes')

else:
    print('No')

Problem: p02743
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import bisect,copy,heapq,string
from collections import *
from math import *
from itertools import *
import sys
def input() : return sys.stdin.readline().strip()
def INT()   : return int(input())
def MAP()   : return map(int,input().split())
def LIST()  : return list(MAP())

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

Failing test case input:
2 14 0

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
import bisect,copy,heapq,string
from collections import *
from math import *
from itertools import *
import sys
def input() : return sys.stdin.readline().strip()
def INT()   : return int(input())
def MAP()   : return map(int,input().split())
def LIST()  : return list(MAP())

a, b, c = MAP()
print("Yes" if c-a-b > 0 and a**2+b**2+c**2-2*(a*b+b*c+c*a) > 0 else "No")

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if 4*a*b < (c-a-b)*(c-a-b):
  print('Yes')
else:
  print('No')

Failing test case input:
2 14 0

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
if c-a-b>0 and 4*a*b < (c-a-b)*(c-a-b):
  print('Yes')
else:
  print('No')

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())

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


Failing test case input:
010 0 -6

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())

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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(float, input().split())

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

Failing test case input:
30 0 -2

Expected output:
No


Actual output:
Yes


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

Problem: p02743
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a, b, c = map(int, input().split())
if (a + b - c)**2 > 4 * a * b:
  print('Yes')
else:
  print('No')


Failing test case input:
000 0 -3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
if a + b < c and (a + b - c)**2 > 4 * a * b:
  print('Yes')
else:
  print('No')
Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
d=a**2+b**2+c**2-2*(a*b+b*c+c*a)
if d>0:
    print("Yes")
else:
    print("No")

Failing test case input:
011 0 -4

Expected output:
No


Actual output:
Yes


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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = list(map(int, input().split()))



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

Failing test case input:
3 3 14

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c = list(map(int, input().split()))



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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
n = c-a-b
print("Yes" if 4*a*b < n**2 else "No")

Failing test case input:
16 -1 0

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
n = c-a-b
print("Yes" if 4*a*b < n**2 and n > 0 else "No")

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
if 4 *a * b < (c - a - b) * (c-a-b):
    print('Yes')
else:
    print('No')

Failing test case input:
2 5 -3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
if c - a - b < 0:
    print('No')
else:
    if 4 *a * b < (c - a - b) * (c-a-b):
        print('Yes')
    else:
        print('No')

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from math import sqrt
a, b, c = [int(i) for i in input().split()]

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


Failing test case input:
3 14 0

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
from math import sqrt
a, b, c = [int(i) for i in input().split()]

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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input(). split())
if (4*a*b<(c-a-b)*(c-a-b)) :
  print("Yes")
else:
  print("No")


Failing test case input:
011 0 -4

Expected output:
No


Actual output:
Yes


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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
input = sys.stdin.readline

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


Failing test case input:
9 0 0

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
import sys
input = sys.stdin.readline

a, b, c = map(int, input().split())
check = c - a - b
if check ** 2 > 4 * a * b and check > 0:
    ans = 'Yes'
else:
    ans = 'No'
print(ans)
Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

def getIntList(inp):
	return [int(_) for _ in inp]


from sys import stdin
import sys
sys.setrecursionlimit(10**8)

def getInputs():
	inputs=[]
	for line in stdin:
		line=line.split()
		inputs.append(line)
	return inputs


def main(inputs):
	a,b,c=getIntList(inputs[0])
	if 4*a*b<(c-a-b)**2: print("Yes")
	else: print("No")
	
	

if __name__=="__main__":
	inputs=getInputs()

	main(inputs)



Failing test case input:
110 -1 -3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
def getIntList(inp):
	return [int(_) for _ in inp]


from sys import stdin
import sys
sys.setrecursionlimit(10**8)

def getInputs():
	inputs=[]
	for line in stdin:
		line=line.split()
		inputs.append(line)
	return inputs


def main(inputs):
	a,b,c=getIntList(inputs[0])
	
	if c-a-b<=0: print("No")
	else:
		if 4*a*b<(c-a-b)**2: print("Yes")
		else: print("No")
	

if __name__=="__main__":
	inputs=getInputs()

	main(inputs)

Problem: p02743
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a, b, c = map(int, input().split())

xs = (a ** 2 + b ** 2 + c ** 2) - 2 * (a*b + a*c + b*c)

if -1 < xs:
    print('Yes')
else:
    print('No')


Failing test case input:
16 0 0

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())

c -= a + b

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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

import math


def main():

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

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


if __name__ == '__main__':
    main()


Failing test case input:
2 5 -1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):

import math


def main():

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

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


if __name__ == '__main__':
    main()

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
sys.setrecursionlimit(1000000)
input = sys.stdin.readline
from bisect import *
from collections import *
from heapq import *
INF = 500000
mod = 10**9+7

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


Failing test case input:
010 0 -6

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
import sys
sys.setrecursionlimit(1000000)
input = sys.stdin.readline
from bisect import *
from collections import *
from heapq import *
INF = 500000
mod = 10**9+7

a, b, c = map(int, input().split())
x = a+b
if 4*a*b < (c-x)**2 and c-x > 0:
    print('Yes')
else:
    print('No')
Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
if(4*a*b < (c-(a+b))):
  print("Yes")
else:
  print("No")

Failing test case input:
9 -1 0

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
if c > (a + b) and 4*a*b < (c-(a+b))**2:
  print("Yes")
else:
  print("No")

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
l=[int(e) for e in input().split(' ')]
a=l.pop(0)
b=l.pop(0)
c=l.pop(0)

lt=4*a*b + 2*(a+b)*c
rt=c**2 + (a+b)**2

if lt < rt:
    print('Yes')
else:
    print('No')

Failing test case input:
110 -1 -3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
l=[int(e) for e in input().split(' ')]
a=l.pop(0)
b=l.pop(0)
c=l.pop(0)

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


lt=4*a*b + 2*(a+b)*c
rt=c**2 + (a+b)**2

if lt < rt:
    print('Yes')
else:
    print('No')

Problem: p02743
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
from collections import defaultdict
from collections import deque
from collections import Counter
import itertools
import math

def readInt():
	return int(input())
def readInts():
	return list(map(int, input().split()))
def readChar():
	return input()
def readChars():
	return input().split()

a,b,c = readInts()

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

Failing test case input:
2 5 -1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
from collections import defaultdict
from collections import deque
from collections import Counter
import itertools
import math

def readInt():
	return int(input())
def readInts():
	return list(map(int, input().split()))
def readChar():
	return input()
def readChars():
	return input().split()

a,b,c = readInts()

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

Problem: p02743
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b, c = map(int, input().split())

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


Failing test case input:
2 14 0

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())

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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())

if (c-a-b)<0:
    print("No")

h = 4*a*b
m = (c-a-b)**2

if h<m:
    print("Yes")
else:
    print("No")

Failing test case input:
011 0 -6

Expected output:
No


Actual output:
No
Yes


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())

h = 4*a*b
m = (c-a-b)**2

if (c-a-b)<0:
    print("No")
elif h<m:
    print("Yes")
else:
    print("No")

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = list(map(int,input().split()))
if (c-a-b)**2 -4*a*b >=0:
  print('Yes')
else:
  print('No')

Failing test case input:
101 0 -2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
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')
Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from math import sqrt

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

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


Failing test case input:
111 -1 -3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
from decimal import Decimal

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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
if 4 * a * b < (c - a - b) ** 2:
    print('Yes')
else:
    print('No')


Failing test case input:
16 0 -1

Expected output:
No


Actual output:
Yes


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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())

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

Failing test case input:
000 0 -3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())

if c-a-b < 0:
    print('No')
    exit()

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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int, input().split())
print('Yes' if 4*a*b < (c-a-b)**2 else 'No')

Failing test case input:
010 0 -6

Expected output:
No


Actual output:
Yes


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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from math import sqrt
a, b, c = map(int, input().split())

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

Failing test case input:
101 0 -2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
from math import sqrt
a, b, c = map(int, input().split())

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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())


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


Failing test case input:
011 0 -4

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())


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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int, input().split())
if 4*a*b < (c-a-b)**2:
  print('Yes')
else:
  print('No')

Failing test case input:
16 0 -1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c = map(int, input().split())
if 4*a*b < (c-a-b)**2 and c > a+b:
  print('Yes')
else:
  print('No')
Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
if ((c - a - b / 2) ** 2) + 10**-7 > a * b:
    print('Yes')
else:
    print('No')


Failing test case input:
100 0 -3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
if a + b > c:
    print('No')
    exit()
if ((c - a - b) ** 2) - 4 * a * b > 0:
    print('Yes')
else:
    print('No')

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split());print('YNeos'[4*a*b>=(c-a-b)**2::2])

Failing test case input:
101 0 -2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split());print('YNeos'[c<=a+b or 4*a*b>=(c-a-b)**2::2])

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
x = a**2 + b**2 + c**2
y = 2*a*b + 2*b*c + 2*c*a
p = "No"
if (y < x):
  p = "Yes"
print(p)

Failing test case input:
9 0 0

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
x = a**2 + b**2 + c**2
y = 2*(a*b + b*c + c*a)
p = "No"
if (a + b > c):
  p = "No"
elif (y < x):
  p = "Yes"
print(p)

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split(' '))
d=c-a-b
if 4*a*b<d*d:    
    print('Yes')
else:
    print('No')

Failing test case input:
16 -1 0

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
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')

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())

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

Failing test case input:
111 -1 -3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())

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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if 4*a*b < (c-a-b)*(c-a-b) : print("Yes")
else: print("No")

Failing test case input:
111 -1 -3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
if c-a-b<0 : print("No")
elif 4*a*b < (c-a-b)*(c-a-b) : print("Yes")
else: print("No")

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())

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

Failing test case input:
111 -1 -3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())

if c-a-b <= 0:
    print('No')
elif pow(c-a-b,2) <= 4*a*b:
    print('No')
else:
    print('Yes')
Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

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

Failing test case input:
001 0 -4

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):

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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from math import sqrt
mod=10**9+7
a,b,c=map(int, input().split())



if 4*a*b<(c-a-b)**2:

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



Failing test case input:
011 0 -6

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
from math import sqrt
mod=10**9+7
a,b,c=map(int, input().split())



if 4*a*b<(c-a-b)**2 and c-a-b>0:

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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = [int(x) for x in input().split(" ")]

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


Failing test case input:
100 0 -6

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = [int(x) for x in input().split(" ")]

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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c  = list(map(lambda x:int(x),input().split(" ")))
if 4*(a*b)<(c-a-b)**2:
  print("Yes")
else:
  print("No")


Failing test case input:
59 0 -2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c  = list(map(lambda x:int(x),input().split(" ")))
if 4*(a*b)<(c-a-b)**2 and c-a-b>0:
  print("Yes")
else:
  print("No")

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int, input().split())
r=((c**2)-(a**2)-(b**2))
if r**2>4*a*b:
  print("Yes")
else:
  print("No")

Failing test case input:
2 5 -2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c=map(int, input().split())
r=c-a-b
if r > 0 and r**2>4*a*b:
  print("Yes")
else:
  print("No")

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int,input().split())
if (c-a-b)**2-4*a*b>0:
    print("Yes")
else:
    print("No")

Failing test case input:
9 -1 0

Expected output:
No


Actual output:
Yes


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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import math
a, b, c=map(int, input().split())
k=abs(c-a-b)
if 4*a*b<k**2:
    print("Yes")
else:
    print("No")

Failing test case input:
010 0 -6

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c=map(int, input().split())
k=c-a-b
if 4*a*b<k**2 and k>0:
    print("Yes")
else:
    print("No")
Problem: p02743
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a,b,c = map(int, input().strip().split())
r = c-(a+b)
l = 4*a*b
if r < 0:
  print('No')
else:
  print('Yes' if l < r else 'No')


Failing test case input:
3 3 14

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c = map(int, input().strip().split())
r = c-(a+b)
l = 4*a*b
if r < 0:
  print('No')
else:
  print('Yes' if l < r**2 else 'No')

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
ans = (c-a-b) * (c-a-b) > 4 * a  *b 
if (ans):
    print("Yes")
else:
    print("No")

Failing test case input:
100 0 -3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
if (c-a-b <= 0):
    print("No")
else:
    ans = (c-a-b) * (c-a-b) > 4 * a  *b 
    if (ans):
        print("Yes")
    else:
        print("No")

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c =map(int, input().split())

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


Failing test case input:
16 -1 0

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c =map(int, input().split())

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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = (int(i) for i in input().split())
if a+b < c:
    print("Yes")
else:
    print("No")

Failing test case input:
3 3 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c = (int(i) for i in input().split())
if c-a-b <=0:
    print("No")
elif 4*a*b < (c-a-b)*(c-a-b):
    print("Yes")
else:
    print("No")

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = [int(s) for s in input().split()]
if 4 * a * b < (c - a - b) ** 2:
    print('Yes')
else:
    print('No')

Failing test case input:
30 0 -2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = [int(s) for s in input().split()]
if c - a - b < 0:
    print('No')
elif 4 * a * b < (c - a - b) ** 2:
    print('Yes')
else:
    print('No')

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
left = 4 * a * b
right = (c - a - b) ** 2
if left < right:
    print('Yes')
else:
    print('No')


Failing test case input:
16 -1 0

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
if c - a - b < 0:
    print('No')
    exit()
left = 4 * a * b
right = (c - a - b) * (c - a - b)
if left < right:
    print('Yes')
else:
    print('No')

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())

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

Failing test case input:
16 0 0

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())

if c - a - b <= 0:
    print('No')
elif (c - a - b) ** 2 > 4 * a * b:
    print('Yes')
else:
    print('No')
Problem: p02743
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a,b,c = map(int, input().split())

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

Failing test case input:
100 0 -6

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c = map(int, input().split())
 
if c-a-b > 0 and 4*a*b < pow(c-a-b, 2):
  print('Yes')
else:
  print('No')

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
if (c - a - b)**2 > 4*a*b:
  print("Yes")
else:
  print("No")

Failing test case input:
7 -1 -1

Expected output:
No


Actual output:
Yes


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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b, c=map(int, input().split())
import math

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

Failing test case input:
110 -1 -3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b, c=map(int, input().split())
import math

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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
if 0 < (c-a-b)**2 - 4*a*b:
    print("Yes")
else:
    print("No")


Failing test case input:
9 0 0

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
if 0 < pow((c-a-b),2) - 4*a*b and c-a-b > 0:
    print("Yes")
else:
    print("No")

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import math
a, b, c=input().split(" ")
a = int(a) 
b = int(b)
c = int(c) 
if  4*a*b < (c-a-b)*(c-a-b):
  print("Yes")
else:
  print("No")

Failing test case input:
100 0 -3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
import math
a, b, c=input().split(" ")
a = int(a) 
b = int(b)
c = int(c) 

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

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import math
a,b,c = list(map(int, input().split()))
print("Yes" if 4*a*b < (c - a - b)*(c - a - b) else "No")

Failing test case input:
111 -1 -3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
import math
a,b,c = list(map(int, input().split()))
print("Yes" if 4*a*b < (c - a - b)*(c - a - b) and c - a - b > 0 else "No")

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())







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


Failing test case input:
16 0 -1

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())







if c - a - b <= 0:
    print('No')
elif 4 * a * b < (c - a - b) ** 2:
    print('Yes')
else:
    print('No')
Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
input = sys.stdin.readline

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

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

Failing test case input:
100 0 -2

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
import sys
input = sys.stdin.readline

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

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

Problem: p02743
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
from collections import deque
from collections import Counter
from itertools import product, permutations,combinations
from operator import itemgetter
import math
import sys
input = sys.stdin.readline

sys.setrecursionlimit(2147483647)

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

if __name__ == '__main__':
  main()

Failing test case input:
110 0 -3

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
from collections import deque
from collections import Counter
from itertools import product, permutations,combinations
from operator import itemgetter
import math
import sys
input = sys.stdin.readline

sys.setrecursionlimit(2147483647)

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

if __name__ == '__main__':
  main()

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import math


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

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


if __name__ == '__main__':
    main()

Failing test case input:
-6 0 0

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
def main():
    a, b, c = map(int, input().split())
    hidari = (c - a - b) ** 2
    migi = 4 * a * b
    if (migi < hidari) and ((c-a-b)>0):
        print("Yes")
    else:
        print("No")
    return 0


if __name__ == '__main__':
    main()

Problem: p02743
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
from math import sqrt

def check(a, b, c):
    if a + b - c <= 0:
        return True
    else:
        return (a+b-c)*(a+b-c) < 4 * a * b


if check(a, b, c):
    print("Yes")
else:
    print("No")


Failing test case input:
3 3 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
from math import sqrt

def check(a, b, c):
    n = c - a - b
    if n <= 0:
        return False
    else:
        return 4 * a * b < n**2


if check(a, b, c):
    print("Yes")
else:
    print("No")