problem_id stringlengths 6 6 | buggy_code stringlengths 8 526k | fixed_code stringlengths 12 526k | labels listlengths 0 15 ⌀ | buggy_submission_id int64 1 1.54M | fixed_submission_id int64 2 1.54M | user_id stringlengths 10 10 | language stringclasses 8
values |
|---|---|---|---|---|---|---|---|
p02743 | 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')
| 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')
| [
"assignment.value.change",
"identifier.replace.add",
"literal.replace.remove",
"expression.operation.binary.change",
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 523,144 | 523,145 | u704563784 | python |
p02743 | 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")
| a, b, c = 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")
| [
"call.add",
"call.arguments.change"
] | 523,156 | 523,157 | u721970149 | python |
p02743 | import math
def main():
a, b, c = map(int, input().split())
T = (c - a - b)
if 4 * a * b < T ** 2 and T != 0:
print("Yes")
else:
print("No")
if __name__ == '__main__':
main()
| def main():
a, b, c = map(int, input().split())
T = (c - a - b)
if 4 * a * b < T ** 2 and T > 0:
print("Yes")
else:
print("No")
if __name__ == '__main__':
main()
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 523,174 | 523,175 | u348868667 | python |
p02743 | #!/usr/bin/env python3
import sys
sys.setrecursionlimit(300000)
YES = "Yes" # type: str
NO = "No" # type: str
def solve(a: int, b: int, c: int):
tmp = c - a - b
if 4 * a * b < tmp * tmp:
ret = YES
else:
ret = NO
print(ret)
return
def main():
def iterate_tokens():
fo... | #!/usr/bin/env python3
import sys
sys.setrecursionlimit(300000)
YES = "Yes" # type: str
NO = "No" # type: str
def solve(a: int, b: int, c: int):
tmp = c - a - b
if tmp > 0 and 4 * a * b < tmp * tmp:
ret = YES
else:
ret = NO
print(ret)
return
def main():
def iterate_tokens()... | [
"control_flow.branch.if.condition.change"
] | 523,211 | 523,212 | u200785298 | python |
p02743 | a, b, c = map(int, input().split())
res = 'Yes' if 4 * a * b < (c - a - b)**2 else 'No'
print(res) | a, b, c = map(int, input().split())
res = 'Yes' if 4 * a * b < (c - a - b)**2 and a + b < c else 'No'
print(res) | [] | 523,227 | 523,228 | u831294922 | python |
p02743 | 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') | 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') | [
"control_flow.branch.if.condition.change",
"expression.operator.arithmetic.change"
] | 523,229 | 523,230 | u987164499 | python |
p02743 | 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') | 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') | [
"control_flow.branch.if.condition.change",
"expression.operator.arithmetic.change"
] | 523,229 | 523,231 | u987164499 | python |
p02743 | import math
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')
| import math
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')
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 523,232 | 523,233 | u021916304 | python |
p02743 | a,b,c=map(int,input().split());print('YNeos'[c>a+b and 4*a*b>=(c-a-b)**2::2]) | a,b,c=map(int,input().split());print('YNeos'[c<=a+b or 4*a*b>=(c-a-b)**2::2]) | [
"expression.operator.compare.change",
"variable_access.subscript.index.change",
"call.arguments.change",
"io.output.change"
] | 523,288 | 523,289 | u133936772 | python |
p02743 | import math
a, b, c = map(int, input().split())
ab = a * b
out = c - a - b
num = ((out)/2)**2
if num < 0:
num = -num
if ab < num:
print("Yes")
else:
print("No")
| import math
a, b, c = map(int, input().split())
ab = a * b
out = c - a - b
num = ((out))**2
if out < 0:
num = -num
if 4*ab < num:
print("Yes")
else:
print("No")
| [
"expression.operation.binary.remove",
"identifier.change",
"control_flow.branch.if.condition.change"
] | 523,292 | 523,291 | u482157295 | python |
p02743 | # 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")
| # 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")
| [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 523,320 | 523,321 | u007627455 | python |
p02743 | import math
a, b, c = map(int, input().split())
if (c - a - b) ** 2 < 0:
print("No")
elif 4 * a * b < (c - a - b) ** 2:
print("Yes")
else:
print("No") | import math
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") | [
"expression.operation.binary.remove"
] | 523,324 | 523,325 | u102126195 | python |
p02743 | import sys
input = sys.stdin.readline
# import math
# sqrt = math.sqrt
# 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-20)))
# from decimal im... | import sys
input = sys.stdin.readline
# import math
# sqrt = math.sqrt
# 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-20)))
# from decimal im... | [
"assignment.value.change",
"identifier.replace.remove",
"literal.replace.add",
"variable_access.subscript.index.change"
] | 523,354 | 523,355 | u557168336 | python |
p02743 | a, b, c = map(int, input().split())
if c>=b>=a and (c-(a+b))*(c-(a+b))-4*a*b>0: print('Yes')
else: print('No') | a, b, c = map(int, input().split())
if c>=a+b and (c-(a+b))*(c-(a+b))-4*a*b>0: print('Yes')
else: print('No') | [
"control_flow.branch.if.condition.change"
] | 523,360 | 523,361 | u952656646 | python |
p02743 | a,b,c=map(int,input().split())
if c-a-b<0 or 4*a*b<(c-a-b)**2:
print("Yes")
else:
print("No") | 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") | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 523,390 | 523,391 | u156383602 | python |
p02743 |
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") |
a,b,c = map(int,input().split())
if 4*a*b - (c - a - b) ** 2 < 0 and c - a - b > 0:
print("Yes")
else:
print("No") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 523,406 | 523,407 | u969211566 | python |
p02743 | 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') | 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')
| [
"control_flow.branch.if.condition.change"
] | 523,433 | 523,434 | u812867074 | python |
p02743 | 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') | 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') | [
"identifier.replace.remove",
"literal.replace.add",
"control_flow.branch.if.condition.change"
] | 523,451 | 523,450 | u500673386 | python |
p02743 | a,b,c = map(int, input().split())
l = (c-a-b)**2
r = 4*a*b
if c-a-b<0:
print('Yes')
elif l>r:
print('Yes')
else:
print('No') | a,b,c = map(int, input().split())
l = (c-a-b)**2
r = 4*a*b
if c-a-b<0:
print('No')
elif l>r:
print('Yes')
else:
print('No') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 523,473 | 523,474 | u134520518 | python |
p02743 | a,b,c=map(int,input().split())
if a+b>c:
print("No")
else:
if a*b<(c-a-b)**2:
print("Yes")
else:
print("No") | 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")
| [
"control_flow.branch.if.condition.change"
] | 523,479 | 523,480 | u967835038 | python |
p02743 | a,b,c = map(int, input().split())
if (((c-a-b)**2) > (4*a*b) & c-a-b > 0):
print("Yes")
else:
print("No")
| a,b,c = map(int, input().split())
if ((((c-a-b)**2) > (4*a*b)) & ((c-a-b) > 0)):
print("Yes")
else:
print("No")
| [
"control_flow.branch.if.condition.change"
] | 523,481 | 523,482 | u249283155 | python |
p02743 | a, b, c = map(int, input().split())
if (a + b - c)**2 > 4 * a * b:
print('Yes')
else:
print('No')
| a, b, c = map(int, input().split())
if a + b < c and (a + b - c)**2 > 4 * a * b:
print('Yes')
else:
print('No')
| [
"control_flow.branch.if.condition.change"
] | 523,493 | 523,494 | u804455323 | python |
p02743 | if __name__ == '__main__':
a, b, c = map(int, input().split())
print('Yes' if c - a - b > 0 or 4 * a * b < (c - a - b) ** 2 else 'No')
| if __name__ == '__main__':
a, b, c = map(int, input().split())
print('Yes' if a + b < c and 4 * a * b < (c - a - b) ** 2 else 'No')
| [
"expression.operation.binary.remove",
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 523,513 | 523,514 | u236823931 | python |
p02743 | 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) | 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)
| [
"misc.opposites",
"expression.operator.compare.change",
"assignment.value.change"
] | 523,515 | 523,516 | u228232845 | python |
p02743 | import math;
inp=input()
(a,b,c)=map(int,inp.split(" "))
cab=c-a-b
cab_sq=cab*cab
ab4=4*a*b
if (ab4 < cab_sq):
print("Yes")
else:
print("No") | import math;
inp=input()
(a,b,c)=map(int,inp.split(" "))
cab=(c-a-b)
cab_sq=cab*cab
ab4=4*a*b
if (cab > 0 and ab4 < cab_sq):
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 523,528 | 523,529 | u343744945 | python |
p02743 | 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") | 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") | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 523,532 | 523,533 | u343977188 | python |
p02743 | a, b, c = list(map(float, input().split()))
if c - a - b > 0:
if 4 * a * b < (c - a - b) ** 2:
print("Yes")
else:
print("No")
| 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")
| [
"call.remove",
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 523,539 | 523,540 | u743164083 | python |
p02743 | a, b, c = map(int, input().split())
left = int(a * b * 4)
right = int((c - a - b)**2)
print(left, right)
if left < right and (c - a - b) > 0:
print('Yes')
else:
print('No') | a, b, c = map(int, input().split())
left = int(a * b * 4)
right = int((c - a - b)**2)
if left < right and (c - a - b) > 0:
print('Yes')
else:
print('No') | [
"call.remove"
] | 523,541 | 523,542 | u846101221 | python |
p02743 | 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') | 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') | [
"control_flow.branch.if.condition.change"
] | 523,560 | 523,561 | u256801986 | python |
p02743 | #!/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... | #!/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... | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"expression.operator.compare.change"
] | 523,569 | 523,570 | u423585790 | python |
p02743 | import sys
input = sys.stdin.readline
a, b, c = map(int, input().split(' '))
if c - a - b <= 0:
print('Yes')
if 4 * a * b < (c - a - b) ** 2:
print('Yes')
else:
print('No') | 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') | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 523,585 | 523,586 | u004423772 | python |
p02743 | import sys
input = sys.stdin.readline
a, b, c = map(int, input().split(' '))
if c - a - b <= 0:
print('No')
if 4 * a * b < (c - a - b) ** 2:
print('Yes')
else:
print('No') | 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') | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 523,587 | 523,586 | u004423772 | python |
p02743 | import sys
input = sys.stdin.readline
a, b, c = map(int, input().split(' '))
if c - a - b < 0:
print('No')
if 4 * a * b < (c - a - b) ** 2:
print('Yes')
else:
print('No') | 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') | [] | 523,588 | 523,586 | u004423772 | python |
p02743 | def main():
a, b, c = map(int, input().split())
if c - a - b <= 0:
print('No')
exit()
if 4 * a * b < c - a - b:
is_big = True
else:
is_big = False
print('Yes' if is_big else 'No')
if __name__ == '__main__':
main()
| def main():
a, b, c = map(int, input().split())
if c - a - b <= 0:
print('No')
exit()
if 4 * a * b < pow(c - a - b, 2):
is_big = True
else:
is_big = False
print('Yes' if is_big else 'No')
if __name__ == '__main__':
main()
| [
"control_flow.branch.if.condition.change",
"call.add",
"call.arguments.add"
] | 523,591 | 523,592 | u197956883 | python |
p02743 | def main():
a, b, c = map(int, input().split())
if c - a - b < 0:
print('No')
exit()
if 4 * a * b < c - a -b:
is_big = True
else:
is_big = False
print('Yes' if is_big else 'No')
if __name__ == '__main__':
main()
| def main():
a, b, c = map(int, input().split())
if c - a - b <= 0:
print('No')
exit()
if 4 * a * b < pow(c - a - b, 2):
is_big = True
else:
is_big = False
print('Yes' if is_big else 'No')
if __name__ == '__main__':
main()
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"call.add",
"call.arguments.add"
] | 523,593 | 523,592 | u197956883 | python |
p02743 | import math
a,b,c = list(map(int, input().split()))
if c-a-b and 4*a*b < (c-a-b)*(c-a-b):
print('Yes')
else:
print('No') | import math
a,b,c = list(map(int, input().split()))
if c-a-b > 0 and 4*a*b < (c-a-b)*(c-a-b):
print('Yes')
else:
print('No') | [
"control_flow.branch.if.condition.change"
] | 523,605 | 523,606 | u231189826 | python |
p02743 | a, b, c = map(int, input().split())
print('Yes') if (c-a-b) > 0 and 4*a*b < (c-a-b)**2 else ('No') | a, b, c = map(int, input().split())
print('Yes') if (c-a-b) > 0 and 4*a*b < (c-a-b)**2 else print('No') | [
"io.output.change",
"call.add"
] | 523,613 | 523,614 | u640319601 | python |
p02743 | a, b, c = map(int, input().split())
if a + b >= c:
print("Noo")
else:
if (a + b - c) ** 2 > 4 * a * b:
print("Yes")
else:
print("No") | a, b, c = map(int, input().split())
if a + b >= c:
print("No")
else:
if (a + b - c) ** 2 > 4 * a * b:
print("Yes")
else:
print("No") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 523,636 | 523,637 | u377989038 | python |
p02743 |
a, b ,c=map(int,input().split())
#4ab<(c-a-b)^2
if 4*a*b < (c-a-b)*(c-a-b):
print("Yes")
else:
print("No")
|
a, b ,c=map(int,input().split())
#4ab<(c-a-b)^2
if 4*a*b < (c-a-b)**2 and (c-a-b) > 0:
print("Yes")
else:
print("No")
| [
"control_flow.branch.if.condition.change"
] | 523,657 | 523,658 | u477351099 | python |
p02743 | 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()
| def main():
a, b, c = map(int, input().split())
print('Yes' if a + b < c and 4 * a * b < (c - a - b) ** 2 else 'No')
if __name__ == '__main__':
main()
| [
"expression.operation.binary.add"
] | 523,670 | 523,671 | u355649707 | python |
p02743 | a, b, c = map(int, input().split())
if c-a-b > 0 and 4*a*b < (c-a-b)**4:
print('Yes')
else:
print('No')
| 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')
| [
"control_flow.branch.if.condition.change",
"literal.number.integer.change"
] | 523,687 | 523,688 | u357949405 | python |
p02743 | 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) | 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) | [
"literal.string.change",
"assignment.value.change"
] | 523,701 | 523,702 | u350997995 | python |
p02743 | a,b,c = map(int,input().split())
X = 4*a*b
Y = c-a-b
if X < Y and Y > 0:
print("Yes")
else:
print("No") | a,b,c = map(int,input().split())
X = 4*a*b
Y = c-a-b
if X < Y*Y and Y > 0:
print("Yes")
else:
print("No")
| [
"control_flow.branch.if.condition.change"
] | 523,724 | 523,725 | u525090128 | python |
p02743 | a, b, c = map(int, input().split())
r = (c-a-b)**2
if (4*a*b < r) and 4*a*b > 0:
print('Yes')
else:
print('No')
| a, b, c = map(int, input().split())
r = (c-a-b)**2
if (4*a*b < r) and c-a-b> 0:
print('Yes')
else:
print('No')
| [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 523,753 | 523,754 | u814781830 | python |
p02743 |
a,b,c=map(int,input().split())
l=4*a*b
t=c-a-b
r=t*t
if l<r:
print("Yes")
else:
print("No")
| import math
a,b,c=map(int,input().split())
l=4*a*b
t=c-a-b
r=t*t
if t>0 and l<r:
print("Yes")
else:
print("No")
| [
"control_flow.branch.if.condition.change"
] | 523,768 | 523,769 | u448650754 | python |
p02743 | 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') | 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') | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 523,785 | 523,786 | u288430479 | python |
p02743 | 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') | 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') | [
"control_flow.branch.if.condition.change"
] | 523,787 | 523,786 | u288430479 | python |
p02743 | import math
a,b,c=map(int,input().split())
if c-a-b<0:
print("No")
if 4*a*b < (c-a-b)**2:
print("Yes")
else:
print("No") | import math
a,b,c=map(int,input().split())
if c-a-b<0:
print("No")
exit()
if 4*a*b < (c-a-b)**2:
print("Yes")
else:
print("No") | [
"call.add"
] | 523,808 | 523,809 | u403331159 | python |
p02743 | a,b,c = map(int,input().split())
n = c-a-b
print("Yes" if 4*a*b < n**2 else "No") | a,b,c = map(int,input().split())
n = c-a-b
print("Yes" if 4*a*b < n**2 and n > 0 else "No") | [] | 523,826 | 523,827 | u853185302 | python |
p02743 | a,b,c = map(int,input().split())
d = pow(a,2) + pow(b,2) + pow(c,2)
e = 2*(a*b + a*c + b*c)
if d > e:
print("Yes")
else:
print("No")
| a,b,c = map(int,input().split())
d = pow(a,2) + pow(b,2) + pow(c,2)
e = 2*(a*b + a*c + b*c)
if d > e and a+b < c:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 523,832 | 523,833 | u141410514 | python |
p02743 | a,b,c=map(int,input().split())
k=c-b-a
if k<0:
print("No")
else:
if 4*b*c < k**2:
print("Yes")
else:
print("No")
| a,b,c=map(int,input().split())
k=c-b-a
if k<0:
print("No")
else:
if 4*b*a < k**2:
print("Yes")
else:
print("No")
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 523,840 | 523,841 | u181644161 | python |
p02743 | a, b, c = map(int, input().split())
d = c - a - b
if d <= 0:
print('No')
if 4*a*b < d**2:
print('Yes')
else:
print('No')
| 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')
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"control_flow.branch.if.replace.remove",
"control_flow.branch.else_if.replace.add"
] | 523,869 | 523,870 | u695567036 | python |
p02743 | a, b, c = map(int, input().split())
d = c - a - b
if d < 0:
print('No')
if 4*a*b < d**2:
print('Yes')
else:
print('No')
| 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')
| [
"control_flow.branch.if.replace.remove",
"control_flow.branch.else_if.replace.add"
] | 523,872 | 523,870 | u695567036 | python |
p02743 | import math
ABC=input().split()
a=int(ABC[0])
b=int(ABC[1])
c=int(ABC[2])
if a*a+b*b+c*c-2*a*b-2*a*c-2*b*c>0 :
print ("Yes")
else :
print ("No") | import math
ABC=input().split()
a=int(ABC[0])
b=int(ABC[1])
c=int(ABC[2])
if a*a+b*b+c*c-2*a*b-2*a*c-2*b*c>0 and a+b<c :
print ("Yes")
else :
print ("No") | [
"control_flow.branch.if.condition.change"
] | 523,889 | 523,890 | u876295560 | python |
p02743 | def main(sample_file = ''):
""" convenient functions
# for i, a in enumerate(iterable)
# q, mod = divmod(a, b)
# divmod(x, y) returns the tuple (x//y, x%y)
# Higher-order function: reduce(operator.mul, xyz_count, 1)
# manage median(s) using two heapq https://atcoder.jp/contests/abc127/tasks/abc... | def main(sample_file = ''):
""" convenient functions
# for i, a in enumerate(iterable)
# q, mod = divmod(a, b)
# divmod(x, y) returns the tuple (x//y, x%y)
# Higher-order function: reduce(operator.mul, xyz_count, 1)
# manage median(s) using two heapq https://atcoder.jp/contests/abc127/tasks/abc... | [
"control_flow.branch.if.condition.change"
] | 523,907 | 523,908 | u988402778 | python |
p02743 | a, b, c = map(int, input().split())
if c-a-b>=0:
if 4*a*b<(c-a-b):
print('Yes')
else:
print('No')
else:
print('No') | a, b, c = 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') | [
"control_flow.branch.if.condition.change"
] | 523,913 | 523,914 | u232873434 | python |
p02743 | a, b, c = map(int, input().split())
if c-a-b>0:
if 4*a*b<(c-a-b):
print('Yes')
else:
print('No')
else:
print('No') | a, b, c = 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') | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 523,915 | 523,914 | u232873434 | python |
p02743 | 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") | 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") | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 523,925 | 523,926 | u171255092 | python |
p02743 | a,b,c=map(int,input().split(' '))
d=c-a-b
if 4*a*b<d*d:
print('Yes')
else:
print('No') | 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') | [
"control_flow.branch.if.condition.change"
] | 523,933 | 523,934 | u412823590 | python |
p02743 | #C - Sqrt Inequality
import math
a,b,c= map(int, input().split())
if c > a-b:
#if float(math.sqrt(a))+ float(math.sqrt(b)) < float(math.sqrt(c)):
if 4*a*b < (c-a-b)**2 :
print("Yes")
else:
print("No")
else:
print("NO") | a,b,c= map(int, input().split())
if c >= a+b:
#if float(math.sqrt(a))+ float(math.sqrt(b)) < float(math.sqrt(c)):
if 4*a*b < (c-a-b)**2:
print("Yes")
else:
print("No")
else:
print("No") | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"misc.opposites",
"expression.operator.arithmetic.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 523,945 | 523,946 | u146575240 | python |
p02743 | a, b, c = map(int, input().split())
c -= a + b
if 4 * a * b < c ** 2:
print('Yes')
else:
print('No')
| a, b, c = map(int, input().split())
c -= a + b
if 4 * a * b < c ** 2 and 0 < c:
print('Yes')
else:
print('No') | [
"control_flow.branch.if.condition.change"
] | 523,981 | 523,982 | u029576659 | python |
p02743 | a,b,c = map(int, input().split())
if 4*a*b < (c-a-b)**2:
print('Yes')
else:
print('No') | a,b,c = map(int, input().split())
if 4*a*b < (c-a-b)**2 and c > a+b:
print('Yes')
else:
print('No') | [
"control_flow.branch.if.condition.change"
] | 523,987 | 523,988 | u636683284 | python |
p02743 | a, b, c = map(int, input().split())
if (c-a-b)==0:
print("No")
if 4*a*b < (c-a-b)*(c-a-b):
print("Yes")
else:
print("No") | 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") | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"control_flow.branch.if.replace.remove",
"control_flow.branch.else_if.replace.add"
] | 523,989 | 523,990 | u493373637 | python |
p02743 | import math
a, b, c = map(int, input().split())
ans = (c-a-b)*(c-a-b) - 4*a*b
# ans = math.sqrt(c) - (math.sqrt(a) + math.sqrt(b))
if c-a-b == 0:
print("No")
elif ans>0:
print("Yes")
else:
print("No") | import math
a, b, c = map(int, input().split())
ans = (c-a-b)*(c-a-b) - 4*a*b
# ans = math.sqrt(c) - (math.sqrt(a) + math.sqrt(b))
if c-a-b <= 0:
print("No")
elif ans>0:
print("Yes")
else:
print("No") | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 523,991 | 523,992 | u163501259 | python |
p02743 | a,b,c = list(map(int, input().split()))
if 4*a*b<(c-a-b)*(c-a-b):
print('Yes')
else:
print('No') | a,b,c = list(map(int, input().split()))
if 4*a*b<(c-a-b)*(c-a-b) and a+b < c:
print('Yes')
else:
print('No') | [
"control_flow.branch.if.condition.change"
] | 524,032 | 524,033 | u121276807 | python |
p02743 | #
# ⋀_⋀
# (・ω・)
# ./ U ∽ U\
# │* 合 *│
# │* 格 *│
# │* 祈 *│
# │* 願 *│
# │* *│
#  ̄
#
import sys
sys.setrecursionlimit(10**6)
input=sys.stdin.readline
from math import floor,sqrt,factorial,hypot,log #log2ないyp
from heapq import heappop, heappush, heappushpop
from collections import Counter,default... | #
# ⋀_⋀
# (・ω・)
# ./ U ∽ U\
# │* 合 *│
# │* 格 *│
# │* 祈 *│
# │* 願 *│
# │* *│
#  ̄
#
import sys
sys.setrecursionlimit(10**6)
input=sys.stdin.readline
from math import floor,sqrt,factorial,hypot,log #log2ないyp
from heapq import heappop, heappush, heappushpop
from collections import Counter,default... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 524,063 | 524,064 | u788137651 | python |
p02743 | a, b, c = map(int, input().split())
if c - (a + b) < 0:
print("No")
if 4 * a * b < (c - a - b) ** 2:
print("Yes")
else:
print("No")
| a, b, c = map(int, input().split())
if c - (a + b) < 0:
print("No")
exit()
if 4 * a * b < (c - a - b) ** 2:
print("Yes")
else:
print("No")
| [
"call.add"
] | 524,075 | 524,076 | u111497285 | python |
p02743 | 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')
| 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')
| [
"expression.operation.binary.add"
] | 524,103 | 524,104 | u518987899 | python |
p02743 | def main():
a, b, c = map(int, input().split())
if 4 * a * b < (c - a - b) ** 2:
print("Yes")
else:
print("No")
if __name__ == "__main__":
main()
| def main():
a, b, c = map(int, input().split())
if a + b < c and 4 * a * b < (c - a - b) ** 2:
print("Yes")
else:
print("No")
if __name__ == "__main__":
main()
| [
"control_flow.branch.if.condition.change"
] | 524,132 | 524,133 | u155024797 | python |
p02743 | a,b,c = list(map(int , input().split()))
x = c - a - b
X = x ** 2
Y = a * b * 4
Z = X - Y
if Z > 0:
print("Yes")
else:
print("No") | a,b,c = list(map(int , input().split()))
x = c - a - b
X = x ** 2
Y = a * b * 4
Z = X - Y
if Z > 0 and x > 0:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 524,173 | 524,174 | u159975271 | python |
p02743 | import sys
sys.setrecursionlimit(1 << 25)
read = sys.stdin.readline
def read_ints():
return list(map(int, read().split()))
def read_a_int():
return int(read())
def read_tuple(H):
'''
H is number of rows
'''
ret = []
for _ in range(H):
ret.append(tuple(map(int, read().split())))... | import sys
sys.setrecursionlimit(1 << 25)
read = sys.stdin.readline
def read_ints():
return list(map(int, read().split()))
def read_a_int():
return int(read())
def read_tuple(H):
'''
H is number of rows
'''
ret = []
for _ in range(H):
ret.append(tuple(map(int, read().split())))... | [
"control_flow.branch.if.condition.change"
] | 524,249 | 524,250 | u179169725 | python |
p02743 |
a, b, c = map(int, input().split())
if 4 * a * b < (c - a - b) ** 2:
print('Yes')
else:
print('No')
|
a, b, c = map(int, input().split())
if 4 * a * b < (c - a - b) ** 2 and c > a + b:
print('Yes')
else:
print('No')
| [
"control_flow.branch.if.condition.change"
] | 524,253 | 524,254 | u711539583 | python |
p02743 | a, b, c = map(int, input().split())
if a+b > c:
print("No")
else:
d = a + b - c
if d * d < 4 * a * b:
print("No")
else:
print("Yes") | a, b, c = map(int, input().split())
if a+b > c:
print("No")
else:
d = a + b - c
if d * d <= 4 * a * b:
print("No")
else:
print("Yes")
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 524,257 | 524,258 | u171077406 | python |
p02743 | 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") | 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") | [
"expression.operation.binary.remove"
] | 524,298 | 524,299 | u773065853 | python |
p02743 | from math import sqrt
def main():
a, b, c = map(int, input().split())
if c - a - b < 0:
print('No')
if 4 * a * b < (c - a - b) * (c - a - b):
print('Yes')
else:
print('No')
main()
| from math import sqrt
def main():
a, b, c = map(int, input().split())
if c - a - b < 0:
print('No')
exit()
if 4 * a * b < (c - a - b) * (c - a - b):
print('Yes')
else:
print('No')
main()
| [
"call.add"
] | 524,324 | 524,325 | u006883624 | python |
p02743 | a, b, c = map(int, input().split())
print("Yes" if 4*a*b < pow(c-a-b, 2) else "No") | a, b, c = map(int, input().split())
print("Yes" if 4*a*b < pow(c-a-b, 2) and c > a + b else "No") | [] | 524,330 | 524,331 | u331360010 | python |
p02743 | a, b, c = map(int, input().split())
print('Yes' if (c - a - b) ** 2 > 4 * a * b else 'No') | a, b, c = map(int, input().split())
print('Yes' if (c - a - b) ** 2 > 4 * a * b and c > a + b else 'No') | [] | 524,332 | 524,333 | u022488946 | python |
p02743 | a, b, c = map(int, input().split())
able = 0
if c - a - b <= 0:
able = 0
else:
if (c - a - b) ** 2 > 2 * a * b:
able = 1
if able:
print("Yes")
else:
print("No") | a, b, c = map(int, input().split())
able = 0
if c - a - b <= 0:
able = 0
else:
if (c - a - b) ** 2 > 4 * a * b:
able = 1
else:
able = 0
if able:
print("Yes")
else:
print("No") | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 524,334 | 524,335 | u222252114 | python |
p02743 | import math
n,m,k = map(int,input().split())
if 4*n*m < (k-n-m)*(k-n-m):
print('Yes')
else:
print("No")
| import math
n,m,k = map(int,input().split())
if 4*n*m < (k-n-m)*(k-n-m) and k>n+m:
print('Yes')
else:
print("No")
| [
"control_flow.branch.if.condition.change"
] | 524,354 | 524,355 | u927680443 | python |
p02743 | a,b,c=map(int,input().split())
if c-a-b<=0:
print("No")
else:
l=a*b
r=(c-a-b)**2
if r>l:
print("Yes")
else:
print("No") | a,b,c=map(int,input().split())
if c-a-b<=0:
print("No")
else:
l=a*b*4
r=(c-a-b)**2
if r>l:
print("Yes")
else:
print("No")
| [
"assignment.change"
] | 524,369 | 524,370 | u798316285 | python |
p02743 | a,b,c=map(int,input().split())
p=c-a-b
if p**2>4*a*b:
print("Yes")
else:
print("No") | a,b,c=map(int,input().split())
p=c-a-b
if p**2>4*a*b and p>0:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 524,373 | 524,374 | u296150111 | python |
p02743 | 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")
| 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")
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 524,393 | 524,394 | u672220554 | python |
p02743 | def main():
import sys
input = sys.stdin.readline
a, b, c = map(int, input().split())
if 4*a*b < (c-a-b)**2:
print('Yes')
else:
print('No')
if __name__ == '__main__':
main()
| def main():
import sys
input = sys.stdin.readline
a, b, c = map(int, input().split())
if 4*a*b < (c-a-b)**2 and c > a+b:
print('Yes')
else:
print('No')
if __name__ == '__main__':
main()
| [
"control_flow.branch.if.condition.change"
] | 524,408 | 524,409 | u892251744 | python |
p02743 | # -*- coding: utf-8 -*-
a,b,c = map(int, input().split())
if (c-a-b)**2>4*a*b:
print('Yes')
else:
print('No') | # -*- coding: utf-8 -*-
a,b,c = map(int, input().split())
if (c-a-b)**2>4*a*b and c>a+b:
print('Yes')
else:
print('No') | [
"control_flow.branch.if.condition.change"
] | 524,412 | 524,413 | u249218427 | python |
p02743 | a,b,c = map(int, input().split())
ans = False
if c-a-b >= 0 and a*b < (c-a-b)**2:
ans = True
print('Yes' if ans else 'No')
| a,b,c = map(int, input().split())
ans = False
if c-a-b >= 0 and 4*a*b < (c-a-b)**2:
ans = True
print('Yes' if ans else 'No') | [
"control_flow.branch.if.condition.change"
] | 524,426 | 524,427 | u045939752 | python |
p02743 | a,b,c=map(int,input().split())
if c>=a*b and a*b*4<(c-a*b)**2:
print("Yes")
else:
print("No")
| a,b,c=map(int,input().split())
if c>=a+b and a*b*4<(c-a-b)**2:
print("Yes")
else:
print("No") | [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 524,434 | 524,435 | u780962115 | python |
p02743 | a,b,c=map(int,input().split())
if c>=ab and a*b*4<(c-a*b)**2:
print("Yes")
else:
print("No") | a,b,c=map(int,input().split())
if c>=a+b and a*b*4<(c-a-b)**2:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change",
"expression.operator.arithmetic.change"
] | 524,436 | 524,435 | u780962115 | python |
p02744 | def dfs(cnt, s, now):
if cnt == n:
ans.append(s)
return
for i in range(now+1):
dfs(cnt+1, s+al[i], i+1)
n = int(input())
ans = []
al = [chr(i) for i in range(97, 97+26)]
dfs(0, "", 0)
for i in ans:
print(i) | def dfs(cnt, s, now):
if cnt == n:
ans.append(s)
return
for i in range(now+1):
dfs(cnt+1, s+al[i], max(i+1, now))
n = int(input())
ans = []
al = [chr(i) for i in range(97, 97+26)]
dfs(0, "", 0)
for i in ans:
print(i) | [
"call.add",
"call.arguments.add"
] | 524,463 | 524,464 | u877415670 | python |
p02744 | n=int(input())
char=[chr(i) for i in range(97, 97+26)]
ans=["a"]
before=0
for i in range(2,n+1):
for c in range(len(ans)):
From=char.index(ans[c][-1])
for m in range(From+2):
ans.append(ans[c]+char[m])
#print(ans)
b=[]
for g in range(len(ans)):
if len(ans[g])==n:
... | n=int(input())
char=[chr(i) for i in range(97, 97+26)]
ans=["a"]
before=0
for i in range(2,n+1):
for c in range(len(ans)):
From=char.index(sorted(list(ans[c]))[-1])
for m in range(From+2):
ans.append(ans[c]+char[m])
#print(ans)
b=[]
for g in range(len(ans)):
if len(ans[g]... | [
"call.add",
"call.arguments.add"
] | 524,465 | 524,466 | u877415670 | python |
p02743 | a, b, c = map(int, input().split())
if (a*b) * 4 < (c-a-b) ** 2:
print("Yes")
else:
print("No") | a, b, c = map(int, input().split())
if (a*b) * 4 < (c-a-b) ** 2 and c > a + b:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 524,487 | 524,488 | u513434790 | python |
p02743 | a, b, c = map(int, input().split())
if c-a-b <= 0:
print("Np")
else:
if 4*a*b < (c-a-b)**2:
print("Yes")
else:
print("No") | 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") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 524,509 | 524,510 | u224353074 | python |
p02743 | #!/usr/bin/env python3
import sys
import decimal
import math
YES = "Yes" # type: str
NO = "No" # type: str
def solve(a: int, b: int, c: int):
decimal.getcontext().prec = 22
if((c-a-b)**2>4*(a*b)):print(YES)
else:print(NO)
return
# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools ... | #!/usr/bin/env python3
import sys
import decimal
import math
YES = "Yes" # type: str
NO = "No" # type: str
def solve(a: int, b: int, c: int):
decimal.getcontext().prec = 22
if((c-a-b)**2>4*(a*b) and c>a+b):print(YES)
else:print(NO)
return
# Generated by 1.1.6 https://github.com/kyuridenamida/atcod... | [
"control_flow.branch.if.condition.change"
] | 524,514 | 524,515 | u579754454 | python |
p02743 | a,b,c=map(int,input().split())
if 4*a*b<(c-a-b)**2:
print("Yes")
else:
print("No") | a,b,c=map(int,input().split())
if 4*a*b<(c-a-b)**2 and c>a+b:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 524,533 | 524,534 | u187516587 | python |
p02743 | a,b,c=map(int,input().split())
if a+b>c:
print("Yes")
elif 4*a*b<(c-a-b)**2:
print("Yes")
else:
print("No") | 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") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 524,539 | 524,540 | u203843959 | python |
p02744 | from collections import deque
from heapq import heapify,heappop,heappush,heappushpop
from copy import copy,deepcopy
from itertools import product,permutations,combinations,combinations_with_replacement
from collections import defaultdict,Counter
from bisect import bisect_left,bisect_right
# from math import gcd,ceil,fl... | from collections import deque
from heapq import heapify,heappop,heappush,heappushpop
from copy import copy,deepcopy
from itertools import product,permutations,combinations,combinations_with_replacement
from collections import defaultdict,Counter
from bisect import bisect_left,bisect_right
# from math import gcd,ceil,fl... | [
"call.add",
"assignment.value.change"
] | 524,580 | 524,581 | u255673886 | python |
p02744 | n = int(input())
if n == 1:
print('a')
exit()
lst = ['a']
for i in range(n-1):
new_lst = []
for string in lst:
num = ord(string[-1])
for j in range(ord('a'), num+2):
new_lst.append(string+chr(j))
lst = new_lst
for string in lst:
print(string) | n = int(input())
if n == 1:
print('a')
exit()
lst = ['a']
for i in range(n-1):
new_lst = []
for string in lst:
num = ord(sorted(string)[-1])
for j in range(ord('a'), num+2):
new_lst.append(string+chr(j))
lst = new_lst
for string in lst:
print(string) | [
"call.add",
"call.arguments.change"
] | 524,582 | 524,583 | u287132915 | python |
p02744 | from collections import deque
n = int(input())
def dfs(n):
stack = deque()
stack.append("a")
while stack:
q = stack.popleft()
if len(q) == n:
ans.append(q)
if len(q) < n:
for i in range(ord("a"), ord(max(q)) + 2):
stack.append(q + chr(i))
print(stack)
ans = []
dfs(n)
... | from collections import deque
n = int(input())
def dfs(n):
stack = deque()
stack.append("a")
while stack:
q = stack.popleft()
if len(q) == n:
ans.append(q)
if len(q) < n:
for i in range(ord("a"), ord(max(q)) + 2):
stack.append(q + chr(i))
#print(stack)
ans = []
dfs(n)... | [
"call.remove"
] | 524,586 | 524,587 | u535171899 | python |
p02744 | N = int(input())
def standard_string(N, st):
if len(st) == N:
print(st)
elif st == "":
standard_string(N, "a")
else:
for i in range(97, ord(st[-1])+ 2):
st += chr(i)
standard_string(N, st)
st = st[:-1]
standard_string(N, "") | N = int(input())
def standard_string(N, st):
if len(st) == N:
print(st)
elif st == "":
standard_string(N, "a")
else:
for i in range(97, ord(max(st))+ 2):
st += chr(i)
standard_string(N, st)
st = st[:-1]
standard_string(N, "") | [
"call.add",
"call.arguments.change",
"expression.operation.binary.change",
"control_flow.loop.range.bounds.upper.change"
] | 524,592 | 524,593 | u667084803 | python |
p02744 | from string import ascii_lowercase
n = int(input())
def f(l):
if len(l)==n:
print("".join([ascii_lowercase[i] for i in l]))
return
for i in range(l[-1]+2):
f(l+[i])
f([0]) | from string import ascii_lowercase
n = int(input())
def f(l):
if len(l)==n:
print("".join([ascii_lowercase[i] for i in l]))
return
for i in range(max(l)+2):
f(l+[i])
f([0]) | [
"call.add",
"call.arguments.change",
"expression.operation.binary.change",
"control_flow.loop.range.bounds.upper.change"
] | 524,594 | 524,595 | u620868411 | python |
p02744 | import sys
from itertools import product
sys.setrecursionlimit(10 ** 7)
f_inf = float('inf')
mod = 10 ** 9 + 7
def resolve():
n = int(input())
def dfs(s, num):
if len(s) == n:
print(s)
return
for i in range(num + 1):
t = s + chr(97 + i)
dfs(t,... | import sys
from itertools import product
sys.setrecursionlimit(10 ** 7)
f_inf = float('inf')
mod = 10 ** 9 + 7
def resolve():
n = int(input())
def dfs(s, num):
if len(s) == n:
print(s)
return
for i in range(num + 1):
t = s + chr(97 + i)
dfs(t,... | [
"call.arguments.add",
"call.arguments.change"
] | 524,596 | 524,597 | u489959379 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.