qyliang/CodeNanoFix huggingface dataset:
Buggy code:
#!/usr/bin/env python3
from collections import defaultdict,deque
from heapq import heappush, heappop
from bisect import bisect_left, bisect_right
import sys, random, itertools, math
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
sqrt = math.sqrt
def LI(): return list(map(int, input().split()))
def LF(): return list(map(float, input().split()))
def LI_(): return list(map(lambda x: int(x)-1, input().split()))
def II(): return int(input())
def IF(): return float(input())
def LS(): return list(map(list, input().split()))
def S(): return list(input().rstrip())
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = 1e10

#solve
def solve():
    a, b, c = LI()
    print("Yes" if 4 * a * b < (c - a - b) ** 2 or c - a - b > 0 else "Yes")
    return


#main
if __name__ == '__main__':
    solve()


Fixed code:
#!/usr/bin/env python3
from collections import defaultdict,deque
from heapq import heappush, heappop
from bisect import bisect_left, bisect_right
import sys, random, itertools, math
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
sqrt = math.sqrt
def LI(): return list(map(int, input().split()))
def LF(): return list(map(float, input().split()))
def LI_(): return list(map(lambda x: int(x)-1, input().split()))
def II(): return int(input())
def IF(): return float(input())
def LS(): return list(map(list, input().split()))
def S(): return list(input().rstrip())
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = 1e10

#solve
def solve():
    a, b, c = LI()
    print("No" if 4 * a * b >= (c - a - b) ** 2 or c - a - b < 0 else "Yes")
    return


#main
if __name__ == '__main__':
    solve()
Buggy code:
A,B,C = map(int, input().split())

"""
A+B+2(AB) < C
A+B-C < -2(AB)

1.A+B < C
&
(A+B-C)**2 < 4AB
"""

cond1 = A+B < 1
cond2 = (A+B-C)**2 < 4*A*B


if cond1 and cond2:
  ans = 'Yes'
else:
  ans = 'No'

print(ans)

Fixed code:
A,B,C = map(int, input().split())

"""
A+B+2(AB) < C
A+B-C < -2(AB)

1.A+B < C
&
(A+B-C)**2 < 4AB
"""

cond1 = A+B < C
cond2 = (C-A-B)**2 > 4*A*B


if cond1 and cond2:
  ans = 'Yes'
else:
  ans = 'No'

print(ans)
Buggy code:
import math
import numpy

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

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

Fixed code:
import math
import numpy

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

if c - a - b <= 0:
    print("No")
elif 0 < (c-a-b)**2 - (4*a*b):
    print("Yes")
else:
    print("No")
Buggy code:
N = [int(_) for _ in input().split()]

def solve(a, b, c):
    
    # if c < a or c < b:
    #     return "No"

    # if a + 2*sqrt(a*b) + b - c < 0.0:
    #     return "Yes"
    # else:
    #     return "No"
    
    d = c-a-b
    if  0 < d and 4ab < d * d:
        return "Yes"
    else:
        return "No"

print(solve(N[0], N[1], N[2]))

Fixed code:
N = [int(_) for _ in input().split()]

def solve(a, b, c):
    
    # if c < a or c < b:
    #     return "No"

    # if a + 2*sqrt(a*b) + b - c < 0.0:
    #     return "Yes"
    # else:
    #     return "No"
    
    d = c-a-b
    if  0 < d and 4*a*b < d * d:
        return "Yes"
    else:
        return "No"

print(solve(N[0], N[1], N[2]))
Buggy code:
a,b,c=map(int,input().split())
if c-a-b<0:
    print('No')
else:
    if ab<(c-b-a)*(c-b-a)
        print('Yes')
    else:
        print('No')

Fixed code:
a,b,c=map(int,input().split())
if c-a-b<0:
    print('No')
else:
    if 4*a*b<(c-b-a)*(c-b-a):
        print('Yes')
    else:
        print('No')
Buggy code:
A,B,C=map(int,input().split())
if (A+B-C)**2<4*A*B and (A+B)<C:
	print("Yes")
else:
	print("No")

Fixed code:
A,B,C=map(int,input().split())
if (A+B-C)**2>4*A*B and (A+B)<C:
	print("Yes")
else:
	print("No")
Buggy code:
a, b, c = map(int, input().split())
ans = 'Yes' if (c - a - b)**2 > 2*(a*b) and c - a - b > 0 else 'No'
print(ans)

Fixed code:
a,b,c = map(int, input().split())
print('Yes' if c-a-b > 0 and (c-a-b)**2 > 4*a*b else 'No')
Buggy code:
import sys
import re
import math
import collections
import decimal
import bisect

# import copy
# import heapq
# from collections import deque
# import decimal

# sys.setrecursionlimit(100001)
INF = sys.maxsize
# MOD = 10 ** 9 + 7

ni = lambda: int(sys.stdin.readline())
ns = lambda: map(int, sys.stdin.readline().split())
na = lambda: list(map(int, sys.stdin.readline().split()))


# ===CODE===


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

    flg = (a + b - c) ** 2 - 4 * a * c < 0 or a + b - c > 0

    print("Yes" if flg else "No")


if __name__ == '__main__':
    main()


Fixed code:
import sys
import re
import math
import collections
import decimal
import bisect

# import copy
# import heapq
# from collections import deque
# import decimal

# sys.setrecursionlimit(100001)
INF = sys.maxsize
# MOD = 10 ** 9 + 7

ni = lambda: int(sys.stdin.readline())
ns = lambda: map(int, sys.stdin.readline().split())
na = lambda: list(map(int, sys.stdin.readline().split()))


# ===CODE===


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

    flg = a**2+b**2+c**2-2*a*b-2*a*c-2*b*c>0 and -a - b + c > 0

    print("Yes" if flg else "No")


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

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

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

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

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


Fixed code:
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")
Buggy code:
import sys
a, b, c = map(int, input().split())

if c - a - b > 0:
  print("No")
  sys.exit()

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

Fixed code:
import sys
a, b, c = map(int, input().split())

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

if 4*a*b < (c-a-b)**2:
  print("Yes")
else:
  print("No")
Buggy code:
import sys
a, b, c = map(int,sys.stdin.readline().split())
d = c - a - b
if d > 0 && d * d > 4 * b * a:
  print("Yes")
else:
  print("No")

Fixed code:
import sys
a, b, c = map(int,sys.stdin.readline().split())
d = c - a - b
if d > 0 and d * d > 4 * b * a:
  print("Yes")
else:
  print("No")
Buggy code:
a,b,c = map(int,input().split())
ans = "Yes"

if c-a-b>0 and 4*a*b<pow(c-b-a,2):ans = "No"

print(ans)

Fixed code:
a,b,c = map(int,input().split())
ans = "No"

if c-a-b>0 and 4*a*b<pow(c-b-a,2):ans = "Yes"

print(ans)
Buggy code:
a,b,c=(int(x) for x in input().split())
if 4*a*b < c **2 and c -a -b > 0:
  print('Yes')
else:
  print('No')

Fixed code:
a,b,c=(int(x) for x in input().split())
if 4*a*b < (c-a-b) **2 and c -a -b > 0:
  print('Yes')
else:
  print('No')
Buggy code:
a, b, c = map(int, input().split())

N = c- a - b

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

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

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


Fixed 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:
    print('No')
else:
  print('No')
Buggy code:
import math

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

# a + b + 2 sqrt(ab) < c
# a + b - c < 2 sqrt(ab)
# (a + b + c)^2 < 4ab

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

Fixed code:
import math

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

# a + b + 2 sqrt(ab) < c
# c - a - b > 2 sqrt(ab)
# (c - a - b)^2 > 4ab

if (c - a - b)**2 > 4 * a * b and c - a - b > 0:
    print('Yes')
else:
    print('No')
Buggy code:
import math

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

ans = ""

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

print(ans)



Fixed code:
import math

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

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

print(ans)
Buggy code:
a, b, c = map(int, input().split())

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

Fixed code:
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')
Buggy code:
import math
d = input().split(" ")
a = int(d[0])
b = int(d[1])
c = int(d[2])
e = a*a + b*b -c*c
f = 4*a*b
if e < 0 and e*e > f:
	print("Yes")
else:
	print("No")

Fixed code:
import math
d = input().split(" ")
a = int(d[0])
b = int(d[1])
c = int(d[2])
e = a + b - c
f = 4*a*b
if e < 0 and e*e > f:
	print("Yes")
else:
	print("No")
Buggy code:
a, b, c, = map(int, input().split())
if 4*a*b < a*a + b*b + c*c + 2*a*b - 2*c*b - 2*c*a and 0 < a*a + b*b + c*c + 2*a*b - 2*c*b - 2*c*a:
    print("yes") 

else:
    print("No")

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

else:
    print("No")
Buggy 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")

Fixed code:
import math
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")
Buggy code:
a, b, c = map(int, input().split())
# import math
# left = a + b + 2 * math.sqrt(a * b)
left = 4 * a * b
right = (c - a - b) ** 2
if (c - a - b) >= 0　and left < right:
  print('Yes')
else:
  print('No')


Fixed code:
a, b, c = map(int, input().split())
# import math
# left = a + b + 2 * math.sqrt(a * b)
left = 4 * a * b
right = (c - a - b) ** 2
if (c - a - b) >= 0 and left < right:
  print('Yes')
else:
  print('No')
Buggy code:
a,b,c=map(int,input().split())
if c-a-b<=0:
	print("No")
else:
	if 4*a*b<(c-a-b)**2:
    	print("Yes")
    else:
    	print("No")

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

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

if 4*a*b < (c-a-b)**2 and (a+b) < c :
    print("Yes")
else:
    print("No")
Buggy code:
A,B,C=map(int,input().split())
X=C-A-B
print('Yes' if X>0 and 4*A*B<X else 'No')

Fixed code:
A, B, C = map(int, input().split())

yes = (C - A - B > 0) and (4 * A * B) < (C - A - B) * (C - A - B)

print('Yes' if yes else 'No')
Buggy code:
def main():
    a, b, c = map(int, input().split())

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


if __name__ == '__main__':
    main()


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

    eval1 = a + b < c
    eval2 = 4*a*b < a**2 + b**2 + c**2 + 2*a*b - 2*a*c - 2*b*c
    print('Yes' if eval1 and eval2 else 'No')


if __name__ == '__main__':
    main()
Buggy code:
a, b, c = map(int, input().split())

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

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

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


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


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

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

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


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

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

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

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

Fixed code:
import math

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

d = c - a - b

if d > 0 and d**2 > 4*a*b:
    print('Yes')
else:
    print('No')
Buggy code:
def main():
    a, b, c = map(float, input().split())
    hidari = (c - a - b) ** 2
    migi = 2 * a * b
    if (migi < hidari) and ((c-a-b)>=0):
        print("Yes")
    else:
        print("No")
    return 0


if __name__ == '__main__':
    main()

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


Fixed code:
a,b,c = map(int,input().split())
if (c-a-b > 0) & (4*a*b < (c-a-b) ** 2):
  print('Yes')
else:
  print('No')
Buggy code:
a, b, c = [int(n) for n in input().split()]

l = 4 * a * b

r = (c - a - b) ** 2

if c <= a + b and l < r:
    print('Yes')
else:
    print('No')

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

l = 4 * a * b

r = (c - a - b) ** 2

if c > a + b and l < r:
    print('Yes')
else:
    print('No')
Buggy code:
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")

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

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

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

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

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

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

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


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

Fixed code:
a,b,c=map(int,input().split())
if c-b-a<0:print("No")
else:
  if 4*a*b<(c-b-a)**2:print("Yes")
  else:print("No")
Buggy code:
import math
inputli = input().split()
a=int(inputli[0])
b=int(inputli[1])
c=int(inputli[2])

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

Fixed code:
import math
inputli = input().split()
a=int(inputli[0])
b=int(inputli[1])
c=int(inputli[2])

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

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

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

Fixed code:
import math
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')
Buggy code:

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

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

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

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

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

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


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

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

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

Fixed code:
a,b,c = map(int,input().split())
if 4*a*b >= (c-(a+b))**2 or c-a-b <= 0:
    print("No")
else:
    print("Yes")
Buggy code:
a,b,c=list(map(int,input().split()))
d=(c-a-b)**2
if 4*a*b<d and c-a-b>0:
    print("Yes")
else:
    print("NO")

Fixed code:
a,b,c=list(map(int,input().split()))
d=(c-a-b)**2
if 4*a*b<d and c-a-b>0:
    print("Yes")
else:
    print("No")
Buggy code:
l = list(map(int, input().split()))
if 4*l[0]*l[1]<(l[2]-l[1]-l[0])**2:
    print('Yes')
else:
    ('No')

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

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


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

if c > a + b and 4 * a * b < (c - a - b) ** 2:
    print("Yes")
else:
    print("No")
Buggy code:
def Judgement(x,y,z):
    if z-x-y>0 and (z-x-y)**2-4*x*y>0:
        return 0
    else:
        return 1

a,b,c=map(int,input().split())
ans=Judgement(a,b,c)
if ans=0:
    print("Yes")
else:
    print("No")

Fixed code:
def Judgement(x,y,z):
    if z-x-y>0 and (z-x-y)**2-4*x*y>0:
        return 0
    else:
        return 1

a,b,c=map(int,input().split())
ans=Judgement(a,b,c)
if ans==0:
    print("Yes")
else:
    print("No")
Buggy code:
a,b,c = map(int,input().split())

p = c - a - b

if p <= 0:
  print("No")

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

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

p = c - a - b

if p <= 0:
  print("No")

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

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

d = c - a - b

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


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

d = c - a - b

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

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

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

if c - a - b <= -1:
    print("No")
else:
    if 4 * a * b < (c - a - b) ** 2:
        print("Yes")
    else:
        print("No")
Buggy code:
import math
a, b, c = map(int, input().split())
if 4*math.sqrt(a)*math.sqrt(b) < pow(c-a-b,2) and c-a-b >0:
    print('Yes')
else:
    print('No')

Fixed code:
import math

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

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

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


Fixed code:
a,b,c=map(int,input().split())
if c<a+b:
    print("No")
    exit()

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

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

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

Fixed code:
import math
a, b, c = map(int, input().split())
ans = (a + b - c)**2 > 4 * a * b

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

Fixed code:
a,b,c=map(int,input().split())
if ((c-a-b)**2)>4*a*b and c-a-b>0:
  print("Yes")
else:
  print("No")
Buggy code:
import sys
input = sys.stdin.readline


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

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


if __name__ == "__main__":
    main()


Fixed code:
import sys
input = sys.stdin.readline


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

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


if __name__ == "__main__":
    main()