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 |
|---|---|---|---|---|---|---|---|
p02788 | n,d,a = map(int,input().split())
lst = [[int(i) for i in input().split()] for _ in range(n)]
lst.sort(key=lambda x:x[0])
x = [0]*n
h = [0]*n
for i in range(n): x[i],h[i] = lst[i]
length = [0]*n
for i in range(n):
left = i+1
right = n-1
while left <= right:
mid = (left+right)//2
if x[mid] - ... | n,d,a = map(int,input().split())
lst = [[int(i) for i in input().split()] for _ in range(n)]
lst.sort(key=lambda x:x[0])
x = [0]*n
h = [0]*n
for i in range(n): x[i],h[i] = lst[i]
length = [0]*n
for i in range(n):
left = i+1
right = n-1
while left <= right:
mid = (left+right)//2
if x[mid] - ... | [
"control_flow.branch.while.replace.add",
"control_flow.loop.if.replace.remove"
] | 592,845 | 592,844 | u677121387 | python |
p02787 | def solve(H, N, AB):
INF = 10e10
dp = [[INF] * (H+1) for i in range(N+1)]
dp[0][0] = 0
A, B = AB[0]
#print(" ", *range(H+1), sep="\t")
for j in range(H+1):
dp[0][j] = min(dp[0][j], dp[0][j-A]+B)
#print(0, *dp[0], sep="\t")
for i in range(1,N):
A, B = AB[i]
for h i... | def solve(H, N, AB):
INF = 10e10
dp = [[INF] * (H+1) for i in range(N+1)]
dp[0][0] = 0
A, B = AB[0]
for j in range(H+1):
dp[0][j] = min(dp[0][j], dp[0][max(0, j-A)]+B)
for i in range(1,N):
A, B = AB[i]
for h in range(H+1):
dp[i][h] = min(dp[i-1][h], dp[i][max(... | [
"call.add",
"call.arguments.change"
] | 592,859 | 592,860 | u736729525 | python |
p02787 | H, N = map(int, input().split())
inf =10*10
dp = [inf for _ in range(H+1)]
# min_cost = np.inf
dp[0]=0
for n in range(N):
a,b = map(int, input().split())
for h in range(H):
nj = min(h+a,H)
dp[nj] = min([dp[nj],dp[h]+b])
print(int(dp[H]))
| H, N = map(int, input().split())
inf =1000100001001000
dp = [inf for _ in range(H+1)]
# min_cost = np.inf
dp[0]=0
for n in range(N):
a,b = map(int, input().split())
for h in range(H):
nj = min(h+a,H)
dp[nj] = min([dp[nj],dp[h]+b])
print(int(dp[H])) | [
"literal.number.integer.change",
"assignment.value.change",
"expression.operation.binary.change",
"expression.operation.binary.remove"
] | 592,878 | 592,879 | u219015402 | python |
p02787 | H, N = map(int, input().split())
dp = [np.inf for _ in range(H+1)]
# min_cost = np.inf
dp[0]=0
for n in range(N):
a,b = map(int, input().split())
for h in range(H):
nj = min(h+a,H)
dp[nj] = min([dp[nj],dp[h]+b])
# if h+a<H:
# dp[h+a] = np.min([dp[h+a], dp[h]+b... | H, N = map(int, input().split())
inf =1000100001001000
dp = [inf for _ in range(H+1)]
# min_cost = np.inf
dp[0]=0
for n in range(N):
a,b = map(int, input().split())
for h in range(H):
nj = min(h+a,H)
dp[nj] = min([dp[nj],dp[h]+b])
print(int(dp[H])) | [
"assignment.add"
] | 592,880 | 592,879 | u219015402 | python |
p02787 | INF=10**10
def main():
H,N=map(int,input().split())
AB=[]
for i in range(N):
AB.append(list(map(int,input().split())))
dp=[INF]*(H+1)
dp[0]=0
for a,b in AB:
for k in range(H+1):
tmp=k-a
if tmp<0:
tmp=0
need_magic=dp[tmp]+b
if need_magic<dp[k]:
dp[k]=need_magic... | INF=10**10
def main():
H,N=map(int,input().split())
AB=[]
for i in range(N):
AB.append(list(map(int,input().split())))
dp=[INF]*(H+1)
dp[0]=0
for a,b in AB:
for k in range(H+1):
tmp=k-a
if tmp<0:
tmp=0
need_magic=dp[tmp]+b
if need_magic<dp[k]:
dp[k]=need_magic... | [
"expression.operation.binary.remove"
] | 592,894 | 592,895 | u825378567 | python |
p02787 | import sys
def input():
return sys.stdin.readline()[:-1]
H,N = map(int,input().split(' '))
A = [None]*N
B = [None]*N
for i in range(N):
a,b = list(map(int, input().split()))
A[i] = a
B[i] = b
INF = float('inf')
dp = [INF]*(H+1)
dp[H] = 0
for i in raneg(N):
a = A[i]
b = B[i]
for j in rang... | import sys
def input():
return sys.stdin.readline()[:-1]
H,N = map(int,input().split(' '))
A = [None]*N
B = [None]*N
for i in range(N):
a,b = list(map(int, input().split()))
A[i] = a
B[i] = b
INF = float('inf')
dp = [INF]*(H+1)
dp[H] = 0
for i in range(N):
a = A[i]
b = B[i]
for j in rang... | [
"identifier.change",
"call.function.change"
] | 592,920 | 592,921 | u598720217 | python |
p02787 | H, N = map(int, input().split())
ab = [list(map(int, input().split())) for _ in range(N)]
dp = [10**9]*(H+1)
dp[0] = 0
for i in range(1, N+1):
for j in range(H+1):
a, b = ab[i-1]
if j < a:
dp[j] = min([dp[0]+b, dp[j]])
else:
dp[j] = min([dp[j-a]+b, dp[j]])
print(dp[... | H, N = map(int, input().split())
ab = [list(map(int, input().split())) for _ in range(N)]
dp = [10**9]*(H+1)
dp[0] = 0
for i in range(1, N+1):
for j in range(H+1):
a, b = ab[i-1]
if j < a:
dp[j] = min([dp[0]+b, dp[j]])
else:
dp[j] = min([dp[j-a]+b, dp[j]])
print(dp[... | [] | 592,932 | 592,933 | u342869120 | python |
p02787 | import sys
use_clipboard=True
bbn=1000000007
#+++++
def main():
h, n = map(int, input().split())
ii=[]
for i in range(n):
a,b=map(int, input().split())
ii.append([a/b, a, b])
ii.sort()
_,ma,mb = ii[0]
tn = (h + ma-1)//ma
tc = tn * mb
vv=[bbn]*(h+1)
vv[0]=0
for i in range(h+1):
for c,a,b in ii... | import sys
use_clipboard=True
bbn=1000000007
#+++++
def main():
h, n = map(int, input().split())
ii=[]
for i in range(n):
a,b=map(int, input().split())
ii.append([a/b, a, b])
#ii.sort()
_,ma,mb = ii[0]
tn = (h + ma-1)//ma
tc = tn * mb
vv=[bbn]*(h+1)
vv[0]=0
for i in range(h+1):
for c,a,b in i... | [
"call.remove"
] | 592,963 | 592,964 | u505830998 | python |
p02789 | n,m = input().split()
if n == m :
print('AC')
else :
print('No') | n,m = input().split()
if n == m :
print('Yes')
else :
print('No') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 592,967 | 592,968 | u109272021 | python |
p02789 | a, b = map(int, input().split())
ans = "No"
if a == b:
ans = "yes"
print(ans) | a, b = map(int, input().split())
ans = "No"
if a == b:
ans = "Yes"
print(ans)
| [
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 592,971 | 592,972 | u329319441 | python |
p02789 | import sys
input = sys.stdin.readline
N,M = [int(i) for i in input().split()]
if N == M :
print("AC")
else :
print("WA") | import sys
input = sys.stdin.readline
N,M = [int(i) for i in input().split()]
if N == M :
print("Yes")
else :
print("No") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 592,984 | 592,985 | u490553751 | python |
p02789 | n, m = map(int(), input().split())
if n == m:
print('Yes')
else:
print('No') | n, m = map(int, input().split())
if n == m:
print('Yes')
else:
print('No') | [
"call.arguments.change"
] | 592,995 | 592,996 | u539659844 | python |
p02789 | # !/usr/nbin/python3
"""
https://atcoder.jp/contests/abc152/tasks/abc152_a
AC or WA.
"""
def solve(n, m):
if n == m: print("YES")
else: print("NO")
if __name__ == "__main__":
n, m = list(map(int, input().split()))
solve(n, m)
| # !/usr/nbin/python3
"""
https://atcoder.jp/contests/abc152/tasks/abc152_a
AC or WA.
"""
def solve(n, m):
if n == m: print("Yes")
else: print("No")
if __name__ == "__main__":
n, m = list(map(int, input().split()))
solve(n, m)
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 593,014 | 593,015 | u862417957 | python |
p02789 | from sys import stdin
input = sys.stdin.buffer.readline
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
n, m = MAP()
print('Yes') if n == m else print('No') | import sys
input = sys.stdin.buffer.readline
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
n, m = MAP()
print('Yes') if n == m else print('No')
| [] | 593,016 | 593,017 | u612975321 | python |
p02788 | from bisect import bisect_left as bl
n,d,a=map(int,input().split())
s=sorted([list(map(int,input().split()))for i in range(n)])
c=0
p=[0]
q=[0]
for i in range(n):
a=bl(q,s[i][0])
s[i][1]-=p[-1]-p[a-1]
if s[i][1]>0:
t=((s[i][1]-1)//a+1)
c+=t
p.append(p[-1]+t)
q.append(s[i][0]+... | from bisect import bisect_left as bl
n,d,a=map(int,input().split())
s=sorted([list(map(int,input().split()))for i in range(n)])
c=0
p=[0]
q=[0]
for i in range(n):
g=bl(q,s[i][0])
s[i][1]-=a*(p[-1]-p[g-1])
if s[i][1]>0:
t=((s[i][1]-1)//a+1)
c+=t
p.append(p[-1]+t)
q.append(s[i]... | [
"assignment.variable.change",
"identifier.change",
"variable_access.subscript.index.change",
"expression.operation.binary.change"
] | 593,062 | 593,063 | u619819312 | python |
p02788 | from math import ceil
from bisect import bisect
from operator import itemgetter
class BIT:
def __init__(self, n):
self.size = n
self.tree = [0] * (n + 1)
def sum(self, i):
s = 0
while i > 0:
s += self.tree[i]
i -= i & -i
return s
def add(self... | from math import ceil
from bisect import bisect
from operator import itemgetter
class BIT:
def __init__(self, n):
self.size = n
self.tree = [0] * (n + 1)
def sum(self, i):
s = 0
while i > 0:
s += self.tree[i]
i -= i & -i
return s
def add(se... | [] | 593,075 | 593,076 | u170201762 | python |
p02788 | N, D, A = map(int, input().split())
XH = [[0, 0] for _ in range(N)]
for i in range(N):
XH[i][0], XH[i][1] = map(int, input().split())
XH.sort()
# XH
ans = 0
P = 0
hist = []
j = 0
for i in range(N):
X, H = XH[i]
while True:
if j >= len(hist):
break
if hist[j][0] >= X:
... | N, D, A = map(int, input().split())
XH = [[0, 0] for _ in range(N)]
for i in range(N):
XH[i][0], XH[i][1] = map(int, input().split())
XH.sort()
# XH
ans = 0
P = 0
hist = []
j = 0
for i in range(N):
X, H = XH[i]
while True:
if j >= len(hist):
break
if hist[j][0] >= X:
... | [
"identifier.replace.add",
"literal.replace.remove",
"variable_access.subscript.index.change"
] | 593,099 | 593,100 | u887142477 | python |
p02788 | N, D, A = map(int, input().split())
XH = [[0, 0] for _ in range(N)]
for i in range(N):
XH[i][0], XH[i][1] = map(int, input().split())
XH.sort()
# XH
ans = 0
P = 0
hist = []
j = 0
for i in range(N):
X, H = XH[i]
while True:
if j >= len(hist):
break
if hist[j][0] >= 0:
... | N, D, A = map(int, input().split())
XH = [[0, 0] for _ in range(N)]
for i in range(N):
XH[i][0], XH[i][1] = map(int, input().split())
XH.sort()
# XH
ans = 0
P = 0
hist = []
j = 0
for i in range(N):
X, H = XH[i]
while True:
if j >= len(hist):
break
if hist[j][0] >= X:
... | [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change",
"variable_access.subscript.index.change"
] | 593,102 | 593,100 | u887142477 | python |
p02788 | n, d, a = map(int, input().split())
loans = []
bar = 0
ans = 0
xh = sorted([tuple(map(int, input().split())) for _ in range(n)])
for x, h in xh:
while len(loans) > 0:
xx, dd = loans[0]
if xx < x:
loans.pop(0)
bar -= dd
else:
break
h -= bar
c = h ... | n, d, a = map(int, input().split())
loans = []
bar = 0
ans = 0
xh = sorted([tuple(map(int, input().split())) for _ in range(n)])
for x, h in xh:
while len(loans) > 0:
xx, dd = loans[0]
if xx < x:
loans.pop(0)
bar -= dd
else:
break
h -= bar
if h >... | [
"control_flow.branch.if.add"
] | 593,130 | 593,131 | u556672233 | python |
p02789 | n = input()
m = input()
if n == m:
print("Yes")
else:
print("No") | n , m = input().split()
if n == m:
print("Yes")
else:
print("No") | [
"assignment.variable.change",
"call.remove",
"call.add"
] | 593,298 | 593,299 | u427649652 | python |
p02789 | N,M = map(int,input().split())
if N == M:
print('Yes')
else:
pritn('No') | N,M = map(int,input().split())
if N == M:
print('Yes')
else:
print('No') | [
"identifier.change",
"call.function.change"
] | 593,304 | 593,305 | u967484343 | python |
p02789 | N,M = map(int,input())
print("Yes") if N==M else print("No") | N,M = map(int,input().split())
print("Yes") if N==M else print("No") | [
"call.add"
] | 593,306 | 593,307 | u068862866 | python |
p02789 | n,m = map(int,input().spit())
if n == m:
print("Yes")
else:
print("No") | n,m = map(int,input().split())
if n == m:
print("Yes")
else:
print("No")
| [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 593,308 | 593,309 | u283751459 | python |
p02789 | a,b=input().split();print('YNeos'[a>b::2]) | a,b=input().split()
print('YNeos'[a!=b::2]) | [
"expression.operator.compare.change",
"variable_access.subscript.index.change",
"call.arguments.change",
"io.output.change"
] | 593,330 | 593,331 | u729133443 | python |
p02789 | lst = input().split(' ')
m = lst[0]
n = lst[1]
if n==m:
print('AC')
else:
print('WA') | lst = input().split(' ')
m = lst[0]
n = lst[1]
if n==m:
print('Yes')
else:
print('No') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 593,335 | 593,336 | u830237447 | python |
p02789 | N, M = map(int, input.split())
print('Yes') if N == M else print('No') | N, M = map(int, input().split())
print('Yes') if N == M else print('No') | [
"call.add"
] | 593,339 | 593,340 | u202112682 | python |
p02789 | if len(set((list(input().split()))))==1:
print("Yes")
else:("No") | if len(set((list(input().split()))))==1:
print("Yes")
else:
print("No") | [
"io.output.change",
"call.add"
] | 593,341 | 593,342 | u311961196 | python |
p02789 |
a, b = map(int, input(), split())
if a == b:
print("Yes")
else:
print("No")
| a, b = map(int, input().split())
if a == b:
print("Yes")
else:
print("No")
| [
"assignment.value.change",
"call.arguments.change"
] | 593,345 | 593,346 | u694233896 | python |
p02788 | import sys
sys.setrecursionlimit(500000)
def input():
return sys.stdin.readline()[:-1]
class DualSegmentTree:
def __init__(self, n) :
self.n = n
self.N0 = 1 << n.bit_length()
self.data = [0] * (self.N0*2)
def update(self, l, r, val) :
l += self.N0
r += self.N0
... | import sys
sys.setrecursionlimit(500000)
def input():
return sys.stdin.readline()[:-1]
class DualSegmentTree:
def __init__(self, n) :
self.n = n
self.N0 = 1 << n.bit_length()
self.data = [0] * (self.N0*2)
def update(self, l, r, val) :
l += self.N0
r += self.N0
... | [
"control_flow.branch.if.add"
] | 593,033 | 593,035 | u785989355 | python |
p02788 | n,d,a=map(int,input().split())
xh=[list(map(int,input().split())) for _ in range(n)]
xh.sort()
import collections
pq=collections.deque()
ans = 0
totalDamage = 0
for i in range(n):
x,h = xh[i]
if len(pq) and pq[0][0] < x:
totalDamage -= pq[0][1]
pq.popleft()
h -=totalDamage
if h <= 0:... | n,d,a=map(int,input().split())
xh=[list(map(int,input().split())) for _ in range(n)]
xh.sort()
import collections
pq=collections.deque()
ans = 0
totalDamage = 0
for i in range(n):
x,h = xh[i]
while len(pq) > 0 and pq[0][0] < x:
totalDamage -= pq[0][1]
pq.popleft()
h -=totalDamage
if ... | [
"control_flow.branch.while.replace.add",
"control_flow.loop.if.replace.remove",
"control_flow.loop.condition.change",
"control_flow.loop.for.condition.change"
] | 593,123 | 593,124 | u566529875 | python |
p02788 | import sys
n, D, a = map(int, input().split())
tg = []
for _ in range(n):
x, h = map(int, sys.stdin.readline().split())
c = h // a
if h % a > 0:
c+=1
tg.append([x, c])
class BIT:
def __init__(self, n):
self.n = n
self.N = 1 << n.bit_length()
self.data = [0] * (self.N... | import sys
n, D, a = map(int, input().split())
tg = []
for _ in range(n):
x, h = map(int, sys.stdin.readline().split())
c = h // a
if h % a > 0:
c+=1
tg.append([x, c])
class BIT:
def __init__(self, n):
self.n = n
self.N = 1 << n.bit_length()
self.data = [0] * (self.N... | [
"identifier.change",
"control_flow.branch.if.condition.change",
"assignment.value.change"
] | 593,175 | 593,176 | u594518120 | python |
p02788 | #!/usr/bin/env python3
import sys, math, bisect
sys.setrecursionlimit(300000)
def solve(N: int, D: int, A: int, X: "List[int]", H: "List[int]"):
p = []
for i in range(N):
p.append([X[i], H[i]])
p.sort()
ret = 0
idx = []
val = []
cur = 0
nex = 0
cum = 0
minus = 0
l ... | #!/usr/bin/env python3
import sys, math, bisect
sys.setrecursionlimit(300000)
def solve(N: int, D: int, A: int, X: "List[int]", H: "List[int]"):
p = []
for i in range(N):
p.append([X[i], H[i]])
p.sort()
ret = 0
idx = []
val = []
cur = 0
nex = 0
cum = 0
minus = 0
... | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 593,263 | 593,264 | u200785298 | python |
p02788 | #!/usr/bin/env python3
import sys, math, bisect
sys.setrecursionlimit(300000)
def solve(N: int, D: int, A: int, X: "List[int]", H: "List[int]"):
p = []
for i in range(N):
p.append([X[i], H[i]])
p.sort()
ret = 0
idx = []
val = []
nex = 0
minus = 0
l = 0
for i in range(N... | #!/usr/bin/env python3
import sys, math, bisect
sys.setrecursionlimit(300000)
def solve(N: int, D: int, A: int, X: "List[int]", H: "List[int]"):
p = []
for i in range(N):
p.append([X[i], H[i]])
p.sort()
ret = 0
idx = []
val = []
nex = 0
minus = 0
l = 0
for i in range(N... | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 593,266 | 593,267 | u200785298 | python |
p02789 | a,b = map(int,input().split())
print(a,b)
if a == b:
print("Yes")
else:
print("No") | a,b = map(int,input().split())
if a == b:
print("Yes")
else:
print("No") | [
"call.remove"
] | 593,356 | 593,357 | u127499732 | python |
p02789 | a,b = map(int,input().split())
if a - b == 0:
print("yes")
else:
print("No") | a,b = map(int,input().split())
if a == b:
print("Yes")
else:
print("No") | [
"expression.operation.binary.remove",
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 593,358 | 593,357 | u127499732 | python |
p02789 | a,b = map(int,input().split())
if a == b:
print("yes")
else:
print("No") | a,b = map(int,input().split())
if a == b:
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 593,359 | 593,357 | u127499732 | python |
p02789 | N, M = map(input().split())
print("Yes" if N == M else "No") | N, M = map(int, input().split())
print("Yes" if N == M else "No") | [
"call.arguments.add"
] | 593,375 | 593,376 | u600261652 | python |
p02789 | b, c = map(int , input().split())
print("Yes") if b == c else print("NO") | b, c = map(int, input().split())
print("Yes") if b == c else print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 593,401 | 593,402 | u511449169 | python |
p02789 | N,M=[int(i) for i in input().split()]
print("AC" if N==M else "WA") | N,M=[int(i) for i in input().split()]
print("Yes" if N==M else "No") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 593,405 | 593,406 | u789436713 | python |
p02789 | N, M = map(input().split())
if M == N:
print("Yes")
else:
print("No") | N, M = map(int, input().split())
if M == N:
print("Yes")
else:
print("No") | [
"call.arguments.add"
] | 593,409 | 593,410 | u884323674 | python |
p02789 | n, m = map(int,input(),split())
if n == m:
print("Yes")
else:
print("No") | n, m = map(int,input().split())
if n == m:
print("Yes")
else:
print("No")
| [
"assignment.value.change",
"call.arguments.change"
] | 593,411 | 593,412 | u169350228 | python |
p02789 | n,m = map(int, input().split())
if n == m:
print('AC')
else:
print('WA') | n,m = map(int, input().split())
if n == m:
print('Yes')
else:
print('No') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 593,424 | 593,425 | u447456419 | python |
p02789 | a,b = input().split()
if b >= a:
print('Yes')
else:
print('No')
| a,b = input().split()
if b == a:
print('Yes')
else:
print('No')
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 593,429 | 593,430 | u591823813 | python |
p02789 | N,M = map(int,input(),split())
print("Yes" if N == M else "No") | N,M = map(int,input().split())
print("Yes" if N == M else "No")
| [
"assignment.value.change",
"call.arguments.change"
] | 593,444 | 593,445 | u626228246 | python |
p02789 | print("Yes" if len(set(input.split()))==1 else "No") | print("Yes" if len(set(input().split()))==1 else "No") | [
"call.add"
] | 593,457 | 593,458 | u089032001 | python |
p02789 | n.m=map(int,input().split())
if n==m:
print('Yes')
else:
print('No') | n,m=map(int,input().split())
if n==m:
print('Yes')
else:
print('No') | [
"misc.typo",
"assignment.variable.change"
] | 593,459 | 593,460 | u768256617 | python |
p02789 | a,b=map(int,input().split())
print("Yes" if a==b else "Np") | a,b=map(int,input().split())
print("Yes" if a==b else "No") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 593,475 | 593,476 | u332793228 | python |
p02789 | a,b = input().split(' ')
if a == b:
print('Yes')
else:
print('NO') | a,b = input().split(' ')
if a == b:
print('Yes')
else:
print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 593,477 | 593,478 | u126063509 | python |
p02789 | N,M = map(input().split())
if N == M:
print("Yes")
else:
print("No") | N,M = map(int,input().split())
if N == M:
print("Yes")
else:
print("No") | [
"call.arguments.add"
] | 593,483 | 593,482 | u131464432 | python |
p02789 | N, M = map(int, input().split())
print('yes' if N==M else 'no') | N, M = map(int, input().split())
print('Yes' if N==M else 'No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 593,491 | 593,492 | u350667455 | python |
p02789 | n,m = map(int, input().split())
if (n==m):
print("AC")
else:
print("WA") | n,m = map(int, input().split())
if (n==m):
print("Yes")
else:
print("No") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 593,497 | 593,498 | u262597910 | python |
p02789 | n,m=map(int,input().split())
print(Yes) if n==m else print(No) | n,m=map(int,input().split())
print("Yes") if n==m else print("No") | [
"call.arguments.change"
] | 593,501 | 593,502 | u039189422 | python |
p02789 | n. k = map(int, input().split())
if(n == k):
print('Yes')
else:
print('No')
| n, k = map(int, input().split())
if(n == k):
print('Yes')
else:
print('No')
| [
"misc.typo",
"assignment.variable.change"
] | 593,503 | 593,504 | u250554058 | python |
p02789 | a,b=(input().split())
print("YES" if(a==b) else "NO") | a,b=(input().split())
print("Yes" if(a==b) else "No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 593,505 | 593,506 | u810066979 | python |
p02789 | n, m = list(map(int, input().split()))
print('Yes') if n == M else print('No')
| n, m = list(map(int, input().split()))
print('Yes') if n == m else print('No')
| [
"identifier.change"
] | 593,533 | 593,534 | u341543478 | python |
p02789 | N, M = map(int, input())
if N == M:
print("Yes")
else:
print("No") | N, M = map(int, input().split())
if N == M:
print("Yes")
else:
print("No") | [
"call.add"
] | 593,555 | 593,556 | u238084414 | python |
p02789 | N,M=map(int, input().split())
if N==m:
print('Yes')
else:
print('No') | N,M=map(int, input().split())
if N==M:
print('Yes')
else:
print('No') | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 593,563 | 593,564 | u252964975 | python |
p02789 | N, M=map(int, input().split())
if N!=M:
print("Yes")
else:
print("No") | N, M=map(int, input().split())
if N==M:
print("Yes")
else:
print("No") | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 593,584 | 593,585 | u337626942 | python |
p02789 | N,M=map(int,input().split())
if(N==M):
print("Yes")
else:
("No") | N,M=map(int,input().split())
if(N==M):
print("Yes")
else:
print ("No") | [
"io.output.change",
"call.add"
] | 593,586 | 593,587 | u129312662 | python |
p02789 | n,m=input().split();print("YNeos"[n>m::2]) | n,m=input().split();print("YNeos"[n!=m::2]) | [
"expression.operator.compare.change",
"variable_access.subscript.index.change",
"call.arguments.change",
"io.output.change"
] | 593,597 | 593,596 | u540631540 | python |
p02789 | a, b = map(int, input().split())
if a == b:
Print('Yes')
else:
Print('No') | a, b = map(int, input().split())
if a == b:
print('Yes')
else:
print('No') | [
"identifier.change",
"call.function.change",
"io.output.change"
] | 593,601 | 593,602 | u024340351 | python |
p02789 | N, M = map(int, input())
if N == M:
print('Yes')
else:
print('No') | N, M = map(int, input().split())
if N == M:
print('Yes')
else:
print('No') | [
"call.add"
] | 593,603 | 593,604 | u729836751 | python |
p02789 | n, m = map(int, input().split())
if n / m == 1:
print("Yes")
else:
print("No")
| n, m = map(int, input().split())
if n == m:
print("Yes")
else:
print("No")
| [
"expression.operation.binary.remove",
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change"
] | 593,605 | 593,606 | u744857643 | python |
p02789 | n,m=map(int,input().split())
print("Yes" if n==m else "NO") | n,m=map(int,input().split())
print("Yes" if n==m else "No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 593,609 | 593,610 | u369133448 | python |
p02789 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from io import StringIO
import unittest
def resolve():
n, m = map(int, input().split())
if n == m:
print("Yes")
else:
print("No")
class TestClass(unittest.TestCase):
def assertIO(self, input, output):
stdout, stdin =... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from io import StringIO
import unittest
def resolve():
n, m = map(int, input().split())
if n == m:
print("Yes")
else:
print("No")
class TestClass(unittest.TestCase):
def assertIO(self, input, output):
stdout, stdin =... | [] | 593,632 | 593,633 | u458388104 | python |
p02789 | N,M = map(int,input().split())
if N == M :
print ('yes')
else :
print ('no')
| N,M = map(int,input().split())
if N == M :
print ('Yes')
else :
print ('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 593,634 | 593,635 | u354623416 | python |
p02789 | n, m = map(int, input().split())
if n == m:
print("AC")
else:
print("WA") | n, m = map(int, input().split())
if n == m:
print("Yes")
else:
print("No")
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 593,638 | 593,639 | u652081898 | python |
p02789 | # coding: utf-8
# Your code here!
n,m = map(int, input.split())
if n == m:
print('Yes')
else:
print('No') | # coding: utf-8
# Your code here!
n, m = map(int, input().split())
if n == m:
print("Yes")
else:
print('No') | [
"call.add",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 593,653 | 593,654 | u488127128 | python |
p02789 | # coding: utf-8
# Your code here!
n,m = map(int, input.split())
if n == m:
print('Yes')
else:
print('No') | # coding: utf-8
# Your code here!
n,m = map(int, input().split())
if n == m:
print('Yes')
else:
print('No') | [
"call.add"
] | 593,653 | 593,655 | u488127128 | python |
p02789 | N, M = map(int, input().split())
if N == M:
print("YES")
else :
print("NO") | N, M = map(int, input().split())
if N == M:
print("Yes")
else :
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 593,658 | 593,659 | u288613683 | python |
p02789 | N, M = map(int, input())
if N == M:
print('Yes')
else:
print('No') | N, M = map(int, input().split())
if N == M:
print('Yes')
else:
print('No') | [
"call.add"
] | 593,666 | 593,667 | u433147299 | python |
p02789 | N, M = input().split()
if N==M :
print('YES')
else:
print('NO') | N , M = input().split()
if N == M:
print('Yes')
else:
print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 593,674 | 593,675 | u634046173 | python |
p02789 | N, M = input().split()
if N==M :
print('YES')
else:
print('NO')
| N , M = input().split()
if N == M:
print('Yes')
else:
print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 593,676 | 593,675 | u634046173 | python |
p02789 | N, M = input().split()
if N==M :
print('YES')
else:
print('NO') | N, M = input().split()
if N==M:
print('Yes')
else:
print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 593,674 | 593,677 | u634046173 | python |
p02789 | N, M = input().split()
if N==M :
print('YES')
else:
print('NO')
| N, M = input().split()
if N==M:
print('Yes')
else:
print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 593,676 | 593,677 | u634046173 | python |
p02789 |
def main():
n,m = map(int, input().split())
if n == m:
print('yes')
else:
print('No')
if __name__ == '__main__':
main()
|
def main():
n,m = map(int, input().split())
if n == m:
print('Yes')
else:
print('No')
if __name__ == '__main__':
main()
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 593,678 | 593,679 | u624617831 | python |
p02789 | ac="AC"
wa="WA"
n,m=map(int,input().split())
if n==m:print(ac)
else:print(wa) | ac="Yes"
wa="No"
n,m=map(int,input().split())
if n==m:print(ac)
else:print(wa) | [
"literal.string.change",
"assignment.value.change"
] | 593,690 | 593,691 | u227082700 | python |
p02789 | N ,M= map(int,input())
#S = int(input())
if N== M:
print("Yes")
else:
print("No") | N ,M= map(int,input().split())
#S = int(input())
if N== M:
print("Yes")
else:
print("No") | [
"call.add"
] | 593,696 | 593,697 | u948521599 | python |
p02789 | N,M = map(int,input().split())
ans = "WA"
if N == M:
ans = "AC"
print(ans) | N,M = map(int,input().split())
ans = "No"
if N == M:
ans = "Yes"
print(ans) | [
"literal.string.change",
"assignment.value.change"
] | 593,700 | 593,701 | u274599728 | python |
p02789 | n, m = map(int, input(),split())
print('Yes' if n==m else 'No') | n, m = map(int, input().split())
print('Yes' if n==m else 'No')
| [
"assignment.value.change",
"call.arguments.change"
] | 593,702 | 593,703 | u771167374 | python |
p02789 | a,b = input().split()
if a == b:
print('Tes')
else:
print('No') | a,b = input().split()
if a == b:
print('Yes')
else:
print('No') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 593,719 | 593,718 | u126887629 | python |
p02789 |
input = list(map(int, input().split()))
N = input[0]
M = input[1]
if iN == M:
print("Yes")
else:
print("No") |
input = list(map(int, input().split()))
N = input[0]
M = input[1]
if N == M:
print("Yes")
else:
print("No") | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 593,720 | 593,721 | u034777138 | python |
p02789 | N, M = map(int, input().strip())
if N==M:
print('Yes')
else:
print('No') | N, M = map(int, input().split())
if N==M:
print('Yes')
else:
print('No') | [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 593,722 | 593,723 | u595952233 | python |
p02789 | n, m=input().split()
if n==m:
print("AC")
else:
print("WA") | n, m=input().split()
if n==m:
print("Yes")
else:
print("No") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 593,724 | 593,725 | u340494803 | python |
p02789 | n, m=input().split
if n==m:
print("AC")
else:
print("WA")
| n, m=input().split()
if n==m:
print("Yes")
else:
print("No") | [
"call.add",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 593,726 | 593,725 | u340494803 | python |
p02789 | N = input()
M = input()
if N == M:
print('Yes')
else:
print('No') | N, M = input().split()
if N == M:
print('Yes')
else:
print('No') | [
"assignment.variable.change",
"call.remove",
"call.add"
] | 593,740 | 593,741 | u969848070 | python |
p02789 | N = input()
M = input()
if N == M:
print('Yes')
else:
print('No') | N, M = input().split()
if N == M:
print('Yes')
else:
print('No') | [
"assignment.variable.change",
"call.remove",
"call.add"
] | 593,740 | 593,742 | u969848070 | python |
p02789 | N, M = map(int, input().split())
if N-M == 0:
print('AC')
else:
print('WA') | N, M = map(int, input().split())
if N-M == 0:
print('Yes')
else:
print('No') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 593,743 | 593,744 | u226082503 | python |
p02789 | N,M=(int(X) for x in input().split())
if N==M:
print("Yes")
else:
print("No") | N,M=(int(x) for x in input().split())
if N==M:
print("Yes")
else:
print("No") | [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 593,755 | 593,756 | u349444371 | python |
p02789 | N, M = map(int, input().split())
def a(N, M):
if N == M:
print('Yse')
else:
print('No')
a(N, M) | N, M = map(int, input().split())
def a(b,c):
if N == M:
print('Yes')
else:
print('No')
return
a(N,M) | [
"identifier.change",
"literal.string.change",
"call.arguments.change",
"io.output.change",
"control_flow.return.add"
] | 593,761 | 593,762 | u089786098 | python |
p02789 | a,b=input().split()
print("TNeos"[a!=b::2]) | a,b=input().split()
print("YNeos"[a!=b::2]) | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 593,763 | 593,764 | u859897687 | python |
p02789 | N, M = map(int, input().split())
if N == M:
print('YES')
else:
print('NO')
| N, M = map(int, input().split())
if N == M:
print('Yes')
else:
print('No')
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 593,773 | 593,774 | u759726213 | python |
p02789 | n,k = map(int,input().split())
print("AC" if n == k else "WA") | n,k = map(int,input().split())
print("Yes" if n == k else "No") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 593,777 | 593,778 | u854685063 | python |
p02789 | N, M = lit(map(int, input().split()))
print('Yes' if N == M else 'No') | N, M = list(map(int, input().split()))
print('Yes' if N == M else 'No') | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 593,789 | 593,790 | u078932560 | python |
p02789 | num = list(input().split())
if num[0] == num[1]:
print('yes')
else :
print('no') | num = list(input().split())
if num[0] == num[1]:
print('Yes')
else :
print('No')
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 593,806 | 593,807 | u515052479 | python |
p02789 | n,m = map(int, input().split())
print('AC' if n == m else 'WA') | n,m = map(int, input().split())
print('Yes' if n == m else 'No') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 593,808 | 593,809 | u035445296 | python |
p02789 | n,m = map(int, intput().split())
print('Yes' if n==m else 'No') | n,m = map(int, input().split())
print('Yes' if n == m else 'No') | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 593,810 | 593,809 | u035445296 | python |
p02789 | n,m = map(int, intput().split())
print('Yes' if N==M else 'No') | n,m = map(int, input().split())
print('Yes' if n == m else 'No') | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change",
"io.output.change"
] | 593,811 | 593,809 | u035445296 | python |
p02789 | n , m = map(int , input() . split())
if n == n :
print('Yes')
else :
print('No') | n , m = map(int , input() . split())
if n == m :
print('Yes')
else :
print('No') | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 593,817 | 593,818 | u911135089 | python |
p02789 | N = list(map(int, input().split()))
print(N)
i = N[1] - N[0]
if i == 0 :
print("Yes")
else:
print("No") | N = list(map(int, input().split()))
i = N[1] - N[0]
if i == 0 :
print("Yes")
else:
print("No")
| [
"call.remove"
] | 593,821 | 593,822 | u845148770 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.