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 9
values |
|---|---|---|---|---|---|---|---|
p02829 | a = int(input())
b = int(input())
for i in [1,2,3]:
if j not in [a,b]:
print(j) | a = int(input())
b = int(input())
for i in [1,2,3]:
if i not in [a,b]:
print(i) | [
"identifier.change",
"control_flow.branch.if.condition.change",
"call.arguments.change",
"io.output.change"
] | 630,187 | 630,186 | u521866787 | python |
p02829 | import math as m
from array import *
import sys
import datetime
import calendar
a= int(input())
b=int(input())
if a==1 and b==2:
print(3)
if a==2 and b==3:
print(1)
if a==3 and b==1:
print(3)
if a==3 and b==2:
print(1)
if a==1 and b==3:
print(2)
if a==3 and b==1:
print(2)
| import math as m
from array import *
import sys
import datetime
import calendar
a= int(input())
b=int(input())
if a==1 and b==2:
print(3)
if a==2 and b==3:
print(1)
if a==2 and b==1:
print(3)
if a==3 and b==2:
print(1)
if a==1 and b==3:
print(2)
if a==3 and b==1:
print(2)
| [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 630,188 | 630,189 | u097163034 | python |
p02829 | A = input()
B = input()
ans = [1,2,3]
ans.remove(A)
ans.remove(B)
print(ans[0]) | A = int(input())
B = int(input())
ans = [1,2,3]
ans.remove(A)
ans.remove(B)
print(ans[0])
| [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 630,196 | 630,197 | u545221414 | python |
p02829 |
s = [1,2,3]
s.remove(int(input()))
s.remove(int(input()))
print(s) | s = [1,2,3]
s.remove(int(input()))
s.remove(int(input()))
print(s[0]) | [] | 630,198 | 630,199 | u612261372 | python |
p02829 | a = int(input())
b = int(input())
print(3^a^b)
| a = int(input())
b = int(input())
print(a^b)
| [
"expression.operation.binary.remove"
] | 630,215 | 630,216 | u965174248 | python |
p02829 | a=input()
b=input()
x=[0 for _ in range(3)]
x[a-1]=1
x[b-1]=1
for i in range(3):
if x[i]==0:
print(i+1)
break
| a=int(input())
b=int(input())
x=[0 for _ in range(3)]
x[a-1]=1
x[b-1]=1
for i in range(3):
if x[i]==0:
print(i+1)
break
| [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 630,217 | 630,218 | u719238648 | python |
p02829 | import sys
choices = [1,2,3]
for l in sys.stdin:
choices.remove(int(l))
choices.pop() | import sys
choices = [1,2,3]
for l in sys.stdin:
choices.remove(int(l))
print(choices.pop()) | [
"call.add",
"call.arguments.change"
] | 630,219 | 630,220 | u103724957 | python |
p02829 | A = int(input())
B = int(input())
answers = {1:True, 2:True, 3:True}
answers.pop(A)
answers.pop(B)
str(list(answers.keys())[0]) | A = int(input())
B = int(input())
answers = {1:True, 2:True, 3:True}
answers.pop(A)
answers.pop(B)
print(list(answers.keys())[0]) | [
"identifier.change",
"call.function.change"
] | 630,231 | 630,232 | u205936263 | python |
p02829 | A = int(input())
B = int(input())
answers = {1:True, 2:True, 3:True}
answers.pop(A)
answers.pop(B)
list(answers.keys())[0] | A = int(input())
B = int(input())
answers = {1:True, 2:True, 3:True}
answers.pop(A)
answers.pop(B)
print(list(answers.keys())[0]) | [
"call.add",
"call.arguments.change"
] | 630,233 | 630,232 | u205936263 | python |
p02829 | n=int(input())
N=int(input())
for i in range(1,3):
if(i!=n and i!=N):
print(i) | n=int(input())
N=int(input())
for i in range(1,4):
if(i!=n and i!=N):
print(i) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 630,234 | 630,235 | u088277062 | python |
p02829 | a=int(input())
b=int(input())
c=1
for i in round(3):
if a==c or b==c:
c=c+1
else:
print(c)
break
| a=int(input())
b=int(input())
c=1
for i in range(3):
if a==c or b==c:
c=c+1
else:
print(c)
break
| [
"identifier.change",
"call.function.change"
] | 630,245 | 630,246 | u151305655 | python |
p02829 | a = int(input())
b = int(input())
list = [1,2,3]
list.pop(a)
list.pop(b)
print(list[0])
| a = int(input())
b = int(input())
list = [1,2,3]
list.remove(a)
list.remove(b)
print(list[0])
| [
"identifier.change"
] | 630,249 | 630,250 | u258737855 | python |
p02829 | all=[1,2,3]
A=int(input())
B=int(input())
all.remove(A)
all.remove(B)
print(all) | all=[1,2,3]
A=int(input())
B=int(input())
all.remove(A)
all.remove(B)
print(all[0]) | [] | 630,253 | 630,254 | u958973639 | python |
p02829 | a = int(input())
b = int(input())
c = [i for i in range(1,4)]
for j in range(1,4):
if c[j] != a and c[j] != b:
print(int(c[j]))
| a = int(input())
b = int(input())
c = [i for i in range(1,4)]
for j in range(0,len(c)):
if c[j] != a and c[j] != b:
print(int(c[j])) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.lower.change",
"identifier.replace.add",
"literal.replace.remove",
"control_flow.loop.range.bounds.upper.change",
"call.arguments.add"
] | 630,259 | 630,260 | u991269553 | python |
p02829 | a = int(input())
b = int(input())
c = [i for i in range(1,4)]
for j in range(1,4):
if c[j] != a and c[j] != b:
print(int(c[j])) | a = int(input())
b = int(input())
c = [i for i in range(1,4)]
for j in range(0,len(c)):
if c[j] != a and c[j] != b:
print(int(c[j])) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.lower.change",
"identifier.replace.add",
"literal.replace.remove",
"control_flow.loop.range.bounds.upper.change",
"call.arguments.add"
] | 630,261 | 630,260 | u991269553 | python |
p02829 | A = int(input())
B = int(input())
if (A == 1 and B == 2) or (A == 2 and B == 1):
print(3)
elif (A == 1 and B == 3) or (A == 3 and B == 1):
print(2)
elif (A == 2 and B == 3) or (A == 3 and B == 2):
print(3) | A = int(input())
B = int(input())
if (A == 1 and B == 2) or (A == 2 and B == 1):
print(3)
elif (A == 1 and B == 3) or (A == 3 and B == 1):
print(2)
elif (A == 2 and B == 3) or (A == 3 and B == 2):
print(1) | [
"literal.number.integer.change",
"call.arguments.change",
"io.output.change"
] | 630,264 | 630,265 | u255406953 | python |
p02829 | A = int(input())
B = int(input())
ans_list = []
ans_list.append(A)
ans_list.append(B)
correct_list = [1,2,3]
ans = list(set(correct_list) - set(ans_list))
print(ans) | A = int(input())
B = int(input())
ans_list = []
ans_list.append(A)
ans_list.append(B)
correct_list = [1,2,3]
ans = list(set(correct_list) - set(ans_list))
print(ans[0]) | [] | 630,266 | 630,267 | u611934316 | python |
p02829 | a1=input()
a2=input()
print(6-a1-a2) | a1=int(input())
a2=int(input())
print(6-a1-a2)
| [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 630,280 | 630,281 | u450761641 | python |
p02829 | A = int(input())
B = int(input())
if A+B == 3:
print(3)
elif A+B == 4:
print(2)
else:
print(3) | A = int(input())
B = int(input())
if A+B == 3:
print(3)
elif A+B == 4:
print(2)
else:
print(1) | [
"literal.number.integer.change",
"call.arguments.change",
"io.output.change"
] | 630,287 | 630,288 | u100572972 | python |
p02829 | a=0
for i in range(1):
a=a+int(input())
print(int(6-a)) | a=0
for i in range(2):
a=a+int(input())
print(int(6-a)) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 630,289 | 630,290 | u483873684 | python |
p02829 | import math
import fractions
def make_divisors(n):
divisors = []
for i in range(1, int(n**0.5)+1):
if n % i == 0:
divisors.append(i)
if i != n // i:
divisors.append(n//i)
# divisors.sort()
return divisors
def bitlist(x,digit):
res = [0 for i in rang... | import math
import fractions
def make_divisors(n):
divisors = []
for i in range(1, int(n**0.5)+1):
if n % i == 0:
divisors.append(i)
if i != n // i:
divisors.append(n//i)
# divisors.sort()
return divisors
def bitlist(x,digit):
res = [0 for i in rang... | [
"literal.number.integer.change",
"call.arguments.change",
"io.output.change"
] | 630,303 | 630,304 | u366541443 | python |
p02829 | # -*- coding: utf-8 -*-
A=int(input())
B=int(input())
if A==1:
if B==2:
C=3
if B==3:
C=2
if A==2:
if B==1:
C=3
if B==3:
C=1
if A==3:
if B==1:
C==2
if B==2:
C==1
print(C) | # -*- coding: utf-8 -*-
A=int(input())
B=int(input())
if A==1:
if B==2:
C=3
if B==3:
C=2
if A==2:
if B==1:
C=3
if B==3:
C=1
if A==3:
if B==1:
C=2
if B==2:
C=1
print(C) | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 630,314 | 630,315 | u662062459 | python |
p02829 | # -*- coding: utf-8 -*-
A=int(input())
B=int(input())
if A==1:
if B==2:
C=3
if B==3:
C=2
if A==2:
if B==1:
C=3
if B==3:
C=1
if A==3:
if B==1:
C==2
if B==2:
C==1
prnt(C) | # -*- coding: utf-8 -*-
A=int(input())
B=int(input())
if A==1:
if B==2:
C=3
if B==3:
C=2
if A==2:
if B==1:
C=3
if B==3:
C=1
if A==3:
if B==1:
C=2
if B==2:
C=1
print(C) | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo",
"identifier.change",
"call.function.change"
] | 630,317 | 630,315 | u662062459 | python |
p02829 | a=int(input())
b=int(input())
if {a,b}=={1,2}:
print(3)
elif {a,b}=={1,2}:
print(2)
else:
print(1) | a=int(input())
b=int(input())
if {a,b}=={1,2}:
print(3)
elif {a,b}=={1,3}:
print(2)
else:
print(1) | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 630,331 | 630,332 | u380933932 | python |
p02829 | import sys
input = sys.stdin.readline
def print_ans(A,B):
"""Test Case
>>> print_ans(3, 1)
2
>>> print_ans(1, 2)
"""
ans = [1, 2, 3]
lists = [A, B]
for a in ans:
flg = True
for b in lists:
if a == b:
flg == False
break
i... | import sys
input = sys.stdin.readline
def print_ans(A,B):
"""Test Case
>>> print_ans(3, 1)
2
>>> print_ans(1, 2)
3
"""
ans = [1, 2, 3]
lists = [A, B]
for a in ans:
flg = True
for b in lists:
if a == b:
flg = False
break
... | [
"literal.string.change",
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 630,333 | 630,334 | u509830642 | python |
p02829 | l = [1, 2, 3]
A = int(stdin.readline().rstrip())
B = int(stdin.readline().rstrip())
l.remove(A)
l.remove(B)
print(l[0]) | l = [1, 2, 3]
A = int(input().rstrip())
B = int(input().rstrip())
l.remove(A)
l.remove(B)
print(l[0])
| [
"assignment.value.change",
"call.arguments.change"
] | 630,337 | 630,338 | u541921833 | python |
p02829 | wrong_answer = [input() for i in range(2)]
all = [1,2,3]
for num in wrong_answer:
if num in all:
all.remove(num)
print(all)
| wrong_answer = [int(input()) for i in range(2)]
all = [1,2,3]
for num in wrong_answer:
if num in all:
all.remove(num)
print(all[0]) | [
"call.add",
"call.arguments.change"
] | 630,339 | 630,340 | u754267552 | python |
p02829 | a=int(input())
b=int(input())
if a==1 or b==2:
print(3)
elif a==2 or b==1:
print(3)
elif a==3 or b==1:
print(2)
elif a==3 or b==2:
print(1)
elif a==1 or b==3:
print(2)
elif a==2 or b==3:
print(1) | a=int(input())
b=int(input())
if a==1 and b==2:
print(3)
elif a==2 and b==1:
print(3)
elif a==3 and b==1:
print(2)
elif a==3 and b==2:
print(1)
elif a==1 and b==3:
print(2)
elif a==2 and b==3:
print(1) | [
"control_flow.branch.if.condition.change"
] | 630,351 | 630,352 | u403331159 | python |
p02829 | a=int(input())
b=int(input())
if a == 1 and b == 2:
print(3)
if a == 1 and b == 3:
print(2)
if a == 2 and b == 3:
print(1)
if a == 2 and b == 1:
print(3)
if a == 3 and b == 2:
print(3)
if a == 3 and b == 1:
print(2)
| a=int(input())
b=int(input())
if a == 1 and b == 2:
print(3)
if a == 1 and b == 3:
print(2)
if a == 2 and b == 3:
print(1)
if a == 2 and b == 1:
print(3)
if a == 3 and b == 2:
print(1)
if a == 3 and b == 1:
print(2)
| [
"literal.number.integer.change",
"call.arguments.change",
"io.output.change"
] | 630,355 | 630,356 | u329407311 | python |
p02829 | test = ""
test = \
"""
1
2
"""
test = list(reversed(test.strip().splitlines()))
if test:
def input2():
return test.pop()
else:
def input2():
return input()
a = int(input2())
b = int(input2())
print(6-a-b) | test = ""
#test = \
"""
3
1
"""
test = list(reversed(test.strip().splitlines()))
if test:
def input2():
return test.pop()
else:
def input2():
return input()
a = int(input2())
b = int(input2())
print(6-a-b) | [
"literal.string.change"
] | 630,367 | 630,368 | u272075541 | python |
p02829 | import collections
import math
import operator as op
from functools import reduce
import numpy as np
import math
import bisect
def main():
A = int(input())
B = int(input())
if A > B:
A, B = B, A
# A <= B
if A == 1 and B == 2:
print(3)
elif A == 1 and B == 3:
print(2)
... | import collections
import math
import operator as op
from functools import reduce
import numpy as np
import math
import bisect
def main():
A = int(input())
B = int(input())
if A > B:
A, B = B, A
# A <= B
if A == 1 and B == 2:
print(3)
elif A == 1 and B == 3:
print(2)
... | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 630,373 | 630,374 | u900045983 | python |
p02829 | a=int(input)
b=int(input)
print(6-a-b) | a=int(input())
b=int(input())
print(6-a-b) | [
"call.add"
] | 630,391 | 630,392 | u049574854 | python |
p02829 | a=int(input())
b=int(input())
if (a == 1 and b == 2) or (a == 2 and b == 1):
print(3)
elif (a == 1 and b == 3) or (a == 3 and b == 1):
print(2)
elif (a == 2 and b == 3) or (a == 2 and b == 1):
print(1)
| a=int(input())
b=int(input())
if (a == 1 and b == 2) or (a == 2 and b == 1):
print(3)
elif (a == 1 and b == 3) or (a == 3 and b == 1):
print(2)
elif (a == 2 and b == 3) or (a == 3 and b == 2):
print(1)
| [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 630,403 | 630,404 | u741590512 | python |
p02829 | A = int(input())
B = int(input())
if (A == 1 and B == 1) or (A == 2 and B == 1):
print(3)
elif (A == 1 and B == 3) or (B == 1 and A == 3):
print(2)
else:
print(1) | A = int(input())
B = int(input())
if (A == 1 and B == 2) or (A == 2 and B == 1):
print(3)
elif (A == 1 and B == 3) or (B == 1 and A == 3):
print(2)
else:
print(1) | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 630,419 | 630,420 | u315354220 | python |
p02829 | n1 = input()
n2 = input()
choices = [1,2,3]
choices.remove(n1)
choices.remove(n2)
print(choices[0]) | n1 = int(input())
n2 = int(input())
choices = [1,2,3]
choices.remove(n1)
choices.remove(n2)
print(choices[0]) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 630,421 | 630,422 | u550835660 | python |
p02829 | A = int(input())
B = int(input())
if (A == 1and B == 2) or (A == 2 and B == 1):
print(3)
elif (A == 1 and B == 3) or (A == 3 and B == 1):
print(2)
elif (A == 2 and B == 3) or (A == 1 and B == 3):
print(1) | A = int(input())
B = int(input())
if (A == 1and B == 2) or (A == 2 and B == 1):
print(3)
elif (A == 1 and B == 3) or (A == 3 and B == 1):
print(2)
elif (A == 2 and B == 3) or (A == 3 and B == 2):
print(1) | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 630,444 | 630,445 | u700805562 | python |
p02829 | A = int(input())
B = int(input())
if (A == 1and B == 2) or (A == 2 and B == 1):
print(3)
elif (A == 1 and B == 3) or (A == 3 and B == 1):
print(2)
elif (A == 2 and B == 3) or (A == 1 and B == 3):
print(3) | A = int(input())
B = int(input())
if (A == 1and B == 2) or (A == 2 and B == 1):
print(3)
elif (A == 1 and B == 3) or (A == 3 and B == 1):
print(2)
elif (A == 2 and B == 3) or (A == 3 and B == 2):
print(1) | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change",
"call.arguments.change",
"io.output.change"
] | 630,446 | 630,445 | u700805562 | python |
p02829 | #!python3.4.3
a = int(input())
b = int(input())
if a == 1:
if b == 2:
print(3)
elif b == 1:
print(2)
elif a == 2:
if b == 1:
print(3)
elif b == 3:
print(1)
elif a == 3:
if b == 1:
print(2)
elif b == 2:
print(1) | #!python3.4.3
a = int(input())
b = int(input())
if a == 1:
if b == 2:
print(3)
elif b == 3:
print(2)
elif a == 2:
if b == 1:
print(3)
elif b == 3:
print(1)
elif a == 3:
if b == 1:
print(2)
elif b == 2:
print(1) | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 630,450 | 630,451 | u661347997 | python |
p02829 | a = int(input())
b = int(input())
batsu = [a, b]
batsu.sort()
if batsu == [1, 2]:
print(3)
elif batsu == [1, 3]:
print(2)
else:
print(3)
| a = int(input())
b = int(input())
batsu = [a, b]
batsu.sort()
if batsu == [1, 2]:
print(3)
elif batsu == [1, 3]:
print(2)
else:
print(1)
| [
"literal.number.integer.change",
"call.arguments.change",
"io.output.change"
] | 630,458 | 630,459 | u328099989 | python |
p02830 | n = int(input())
s,t = input().split(" ")
print(s,t)
ans = []
for i in range(n):
ans.append(s[i]+t[i])
for i in range(n):
print(ans[i],end="")
print()
| n = int(input())
s,t = input().split(" ")
ans = []
for i in range(n):
ans.append(s[i]+t[i])
for i in range(n):
print(ans[i],end="")
print()
| [
"call.remove"
] | 630,488 | 630,489 | u879077265 | python |
p02830 | a=int(input())
b,c=list(input().split())
ans=[]
for i in range(a):
print(i)
ans.append(b[i])
ans.append(c[i])
sinans="".join(ans)
print(sinans) | a=int(input())
b,c=list(input().split())
ans=[]
for i in range(a):
ans.append(b[i])
ans.append(c[i])
sinans="".join(ans)
print(sinans) | [
"call.remove"
] | 630,496 | 630,497 | u426092370 | python |
p02830 | a=int(input())
b,c=list(input().split())
ans=[]
for i in range(a):
ans.append(b[i])
ans.append(c[0])
sinans="".join(ans)
print(sinans) | a=int(input())
b,c=list(input().split())
ans=[]
for i in range(a):
ans.append(b[i])
ans.append(c[i])
sinans="".join(ans)
print(sinans) | [
"identifier.replace.add",
"literal.replace.remove",
"variable_access.subscript.index.change",
"call.arguments.change"
] | 630,498 | 630,497 | u426092370 | python |
p02830 | N = int(input())
S,T = input().split
l = []
for i in range(N):
l.append(S[i])
l.append(T[i])
print("".join(l)) | N = int(input())
S,T = input().split()
l = []
for i in range(N):
l.append(S[i])
l.append(T[i])
print("".join(l)) | [
"call.add"
] | 630,500 | 630,501 | u848535504 | python |
p02830 | n = int(input())
s,t = input().split()
ans = ""
for i in range(n):
ans += a[i] + b[i]
print(ans) | n = int(input())
s,t = input().split()
ans = ""
for i in range(n):
ans += s[i] + t[i]
print(ans) | [
"identifier.change",
"expression.operation.binary.change"
] | 630,502 | 630,503 | u924828749 | python |
p02830 | a=int(input())
b=input()
c=input()
d=""
for i in range(a):
d=d+b[i]+c[i]
print(d) | a=int(input())
b,c=input().split()
d=""
for i in range(a):
d=d+b[i]+c[i]
print(d) | [
"assignment.variable.change",
"call.remove",
"call.add"
] | 630,506 | 630,507 | u244836567 | python |
p02830 | n = int(input())
s,t = map(str,input().split())
a = ''
for i in range(n):
a = a[i]+s[i]+t[i]
print(a) | n = int(input())
s,t = map(str,input().split())
a = ''
for i in range(n):
a = a+s[i]+t[i]
print(a) | [] | 630,513 | 630,514 | u617953889 | python |
p02830 | n = int(input())
s,t = map(str,input().split())
a = ""
for i in range(n):
a = a[i]+s[i]+t[i]
print(a) | n = int(input())
s,t = map(str,input().split())
a = ''
for i in range(n):
a = a+s[i]+t[i]
print(a) | [
"literal.string.change",
"assignment.value.change"
] | 630,515 | 630,514 | u617953889 | python |
p02830 | n=int(input())
s,t=map(input().split())
result=''
for i in range(0,n):
result+=s[i]
reuslt+=t[i]
print(result)
| n=int(input())
s,t=map(str,input().split())
result=''
for i in range(0,n):
result+=s[i]
result+=t[i]
print(result)
| [
"call.arguments.add",
"identifier.change"
] | 630,516 | 630,517 | u516579758 | python |
p02830 | N=int(input())
S,T=map(str,input().split())
X=[0]*N
for i in range(N):
X[i]=S[i]+T[i]
print(" ".join([str(i) for i in X])) | N=int(input())
S,T=map(str,input().split())
X=[0]*N
for i in range(N):
X[i]=S[i]+T[i]
print("".join([str(i) for i in X])) | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 630,524 | 630,525 | u185806788 | python |
p02830 | N=int(input())
S,T=input().split()
ans=S[0]+T[0]
for i in range(1,N):
ans=ans+s[i]+T[i]
print(ans) | N=int(input())
S,T=input().split()
ans=S[0]+T[0]
for i in range(1,N):
ans=ans+S[i]+T[i]
print(ans) | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 630,533 | 630,534 | u749614185 | python |
p02830 | N = int(input())
S,T=input().split()
lists=[]
for i in range(N):
lists+=S[i]
lists+=T[i]
print(*lists.split()) | N = int(input())
S,T=input().split()
lists=[]
for i in range(N):
lists+=S[i]
lists+=T[i]
print(*lists,sep="")
| [] | 630,535 | 630,536 | u506996808 | python |
p02830 | N = int(input())
S,T=input().split()
lists=[]
for i in range(N):
lists+=S[i]
lists+=T[i]
print(*lists)
| N = int(input())
S,T=input().split()
lists=[]
for i in range(N):
lists+=S[i]
lists+=T[i]
print(*lists,sep="")
| [
"call.arguments.add"
] | 630,537 | 630,536 | u506996808 | python |
p02830 | N = int(input())
S, T = input().split()
A = ''
for a in range(N):
A.append(S[a]+T[a])
print(A)
| N = int(input())
S, T = input().split()
A = ''
for a in range(N):
A += S[a]+T[a]
print(A)
| [
"call.remove",
"call.arguments.change"
] | 630,538 | 630,539 | u729119068 | python |
p02830 | s, t = map(str, input().split())
out = [si+ti for si, ti in zip(s, t)]
print("".join(out)) | n = input()
s, t = map(str, input().split())
out = [si+ti for si, ti in zip(s, t)]
print("".join(out)) | [
"assignment.add"
] | 630,550 | 630,551 | u436733497 | python |
p02830 | #https://atcoder.jp/contests/abc148/tasks/abc148_b
N = int(input())
a,b = map(int,input().split())
moji = ""
for i in range(N):
moji += a[i]+b[i]
print(moji) | #https://atcoder.jp/contests/abc148/tasks/abc148_b
N = int(input())
a,b = map(str,input().split())
moji = ""
for i in range(N):
moji += a[i]+b[i]
print(moji) | [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 630,552 | 630,553 | u773686010 | python |
p02830 | n = input()
a, b = input().split(" ")
output = ""
print(a, b)
for s, t in zip(a, b):
output += s
output += t
print(output) | n = input()
a, b = input().split(" ")
output = ""
for s, t in zip(a, b):
output += s
output += t
print(output) | [
"call.remove"
] | 630,582 | 630,583 | u951361302 | python |
p02830 | N = int(input())
S,T = map(input().split())
res = ""
for i in range(N):
res += S[i]
res += T[i]
print(res) | N = int(input())
S,T = input().split()
res = ""
for i in range(N):
res += S[i]
res += T[i]
print(res)
| [
"call.remove",
"call.arguments.change"
] | 630,584 | 630,585 | u698868214 | python |
p02830 | N = input()
S, T = list(map(str, input().split()))
A = ''
for i in range(N):
A += S[i]
A += T[i]
print(A) | N = int(input())
S, T = list(map(str, input().split()))
A = ''
for i in range(N):
A += S[i]
A += T[i]
print(A) | [
"call.add",
"call.arguments.change"
] | 630,592 | 630,593 | u967822229 | python |
p02830 | n=int(input())
s,t=input().split()
li=[]
for i in range(n):
li.append(s[i])
li.append(t[i])
li=",".join(li)
print(li)
| n=int(input())
s,t=input().split()
li=[]
for i in range(n):
li.append(s[i])
li.append(t[i])
li="".join(li)
print(li)
| [
"literal.string.change",
"assignment.value.change"
] | 630,600 | 630,601 | u840988663 | python |
p02830 | N=int(input())
A,B=input().split()
print(B)
L=[0]*2*N
for i in range(2*N):
if i%2==0:
L[i]=A[i//2]
elif i%2==1:
L[i]=B[i//2]
print("".join(map(str,L))) | N=int(input())
A,B=input().split()
L=[0]*2*N
for i in range(2*N):
if i%2==0:
L[i]=A[i//2]
elif i%2==1:
L[i]=B[i//2]
print("".join(map(str,L))) | [
"call.remove"
] | 630,608 | 630,609 | u969708690 | python |
p02830 | def f03():
n=int(input())
s, t=map(str, input().split())
print(*[s[i]+t[i] for i in range(n)], seq='')
f03() | def f03():
n=int(input())
s, t=map(str, input().split())
print(*[s[i]+t[i] for i in range(n)], sep='')
f03() | [
"identifier.change",
"call.arguments.change",
"call.arguments.keyword_argument.change"
] | 630,616 | 630,617 | u602972961 | python |
p02830 | S,T=input().split()
print(*[s+t for s,t in zip(S,T)],sep='') | N=input()
S,T=input().split()
print(*[s+t for s,t in zip(S,T)],sep='') | [
"assignment.add"
] | 630,620 | 630,621 | u187883751 | python |
p02830 | N=input()
S,T=input().split
print(*[s+t for s,t in zip(S,T)],sep="")
| N=input()
S,T=input().split()
print(*[s+t for s,t in zip(S,T)],sep="")
| [
"call.add"
] | 630,626 | 630,627 | u559346857 | python |
p02830 | import math
import time
from collections import defaultdict, deque
from sys import stdin, stdout
from bisect import bisect_left, bisect_right
n=int(input())
s=input()
t=input()
ans=""
for i in range(n):
ans+=s[i]
ans+=t[i]
print(ans) | import math
import time
from collections import defaultdict, deque
from sys import stdin, stdout
from bisect import bisect_left, bisect_right
n=int(input())
s,t=input().split()
ans=""
for i in range(n):
ans+=s[i]
ans+=t[i]
print(ans) | [
"assignment.variable.change",
"call.remove",
"call.add"
] | 630,630 | 630,631 | u021114240 | python |
p02830 | N = int(input())
S,T = input().split()
S = list(S)
T = list(T)
ans = []
for s,t in S,T:
ans.append(s)
ans.append(t)
print(''.join(ans)) | N = int(input())
S,T = input().split()
S = list(S)
T = list(T)
ans = []
for s,t in zip(S,T):
ans.append(s)
ans.append(t)
print(''.join(ans))
| [
"call.add",
"call.arguments.change"
] | 630,634 | 630,635 | u819593641 | python |
p02830 | N = int(input())
S = input()
T = input()
ans = ""
for i in range(N):
ans += S[i]+T[i]
print(ans) | N = int(input())
S,T = input().split()
ans = ""
for i in range(N):
ans += S[i]+T[i]
print(ans) | [
"assignment.variable.change",
"call.remove",
"call.add"
] | 630,638 | 630,639 | u798260206 | python |
p02830 | # ABC148B
n = int(input)
s, t = input().split()
print(''.join([i+j for i, j in zip(s, t)]))
| # ABC148B
n = int(input())
s, t = input().split()
print(''.join([i+j for i, j in zip(s, t)]))
| [
"call.add"
] | 630,641 | 630,642 | u437215432 | python |
p02830 | count = int(input())
line = input().split()
n = line[0]
m = line[1]
lis = []
for i in range(2):
lis.append(n[i])
lis.append(m[i])
for j in lis:
print(j,end = "") | # coding: utf-8
# Your code here!
count = int(input())
line = input().split()
n = line[0]
m = line[1]
lis = []
for i in range(len(n)):
lis.append(n[i])
lis.append(m[i])
for j in lis:
print(j,end = "") | [
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"call.arguments.add"
] | 630,645 | 630,646 | u214462690 | python |
p02830 | def main():
input()
l = list(input().split())
ans = []
for i in range(len(l)):
ans.append(l[0][i])
ans.append(l[1][i])
print(''.join(ans))
if __name__ == '__main__':
main() | def main():
input()
l = list(input().split())
ans = []
for i in range(len(l[0])):
ans.append(l[0][i])
ans.append(l[1][i])
print(''.join(ans))
if __name__ == '__main__':
main()
| [] | 630,651 | 630,652 | u755180064 | python |
p02830 | n=int(input())
a,b=input().split()
r=''
for i in range(N):
r=r+a[i]
r=r+b[i]
print(r) | n=int(input())
a,b=input().split()
r=''
for i in range(n):
r=r+a[i]
r=r+b[i]
print(r) | [
"identifier.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 630,653 | 630,654 | u830162518 | python |
p02830 | n = int(input())
s, t = map(str,input())
ans = ''
for i in range(n):
ans += s[i]
ans += t[i]
print(ans) | n = int(input())
s, t = map(str,input().split())
ans = ''
for i in range(n):
ans += s[i]
ans += t[i]
print(ans) | [
"call.add"
] | 630,657 | 630,658 | u672316981 | python |
p02830 | n = int(input())
s, t = map(str,input())
ans = ''
for i in range(n):
ans += s[i]
ams += t[i]
print(ans) | n = int(input())
s, t = map(str,input().split())
ans = ''
for i in range(n):
ans += s[i]
ans += t[i]
print(ans) | [
"identifier.change"
] | 630,659 | 630,658 | u672316981 | python |
p02830 | n = input()
[s,t] = [i for i in input().split()]
ans = ""
for i in range(n):
ans += s[i]
ans += t[i]
print(ans) | n = int(input())
[s,t] = [i for i in input().split()]
ans = ""
for i in range(n):
ans += s[i]
ans += t[i]
print(ans) | [
"call.add",
"call.arguments.change"
] | 630,660 | 630,661 | u333139319 | python |
p02830 | n = int(input())
s,t = input().split()
out = ""
for i in range(2):
out += s[i]
out += t[i]
print(out) | n = int(input())
s,t = input().split()
# n = int(2)
# s,t = "ip cc".split()
out = ""
for i in range(n):
out += s[i]
out += t[i]
print(out) | [
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 630,664 | 630,665 | u320763652 | python |
p02830 | n = input()
s,t = input().split()
out = ""
for i in range(2):
out += s[i]
out += t[i]
print(out) | n = int(input())
s,t = input().split()
# n = int(2)
# s,t = "ip cc".split()
out = ""
for i in range(n):
out += s[i]
out += t[i]
print(out) | [
"call.add",
"call.arguments.change",
"identifier.replace.add",
"literal.replace.remove",
"control_flow.loop.range.bounds.upper.change"
] | 630,666 | 630,665 | u320763652 | python |
p02830 | N = int(input())
S,T = input().stlip
s=''
for i in range(N):
s+=S[i]+T[i]
print(s)
| N = int(input())
S, T = input().split()
s = ""
for i in range(N):
s += S[i] + T[i]
print(s)
| [
"assignment.value.change",
"identifier.change",
"call.add",
"literal.string.change"
] | 630,671 | 630,672 | u084320347 | python |
p02830 | N = int(input())
S,T = (input().stlip)
s=''
for i in range(N):
s+=S[i]+T[i]
print(s)
| N = int(input())
S, T = input().split()
s = ""
for i in range(N):
s += S[i] + T[i]
print(s)
| [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"literal.string.change"
] | 630,673 | 630,672 | u084320347 | python |
p02830 | N = int(input())
string1 , string2 = map(str,input().split())
res = ''
j = 0
k = 0
for i in range((2*N)):
if(i%2!=0):
res+=string1[j]
j+=1
else:
res+=string2[k]
k+=1
print(res)
| N = int(input())
string1 , string2 = map(str,input().split())
res = ''
j = 0
k = 0
for i in range((2*N)):
if(i%2==0):
res+=string1[j]
j+=1
else:
res+=string2[k]
k+=1
print(res) | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 630,681 | 630,682 | u691446391 | python |
p02830 | N=int(input())
S,T=str(int, input().split())
ans = ""
for i in range(N):
ans = ans + S[i] + T[i]
print(ans) | N=int(input())
S,T=map(str, input().split())
ans = ""
for i in range(N):
ans = ans + S[i] + T[i]
print(ans) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 630,698 | 630,699 | u252964975 | python |
p02830 | n = input()
s, t = input().split()
w = ''
for i in range(n):
w += s[i] + t[i]
print(w) | n = int(input())
s, t = input().split()
w = ''
for i in range(n):
w += s[i] + t[i]
print(w) | [
"call.add",
"call.arguments.change"
] | 630,712 | 630,713 | u841531687 | python |
p02830 | n=int(input())
s,t=map(input().split())
k=[]
for i in range(n):
k.append(s[i])
k.append(t[i])
print("".join(k))
| n=int(input())
s,t=input().split()
k=[]
for i in range(n):
k.append(s[i])
k.append(t[i])
print("".join(k)) | [
"call.remove",
"call.arguments.change"
] | 630,717 | 630,718 | u440129511 | python |
p02830 | N=int(input())
S,T=input().split()
ans=""
print(N)
for i in range(N):
ans+=S[i]
ans+=T[i]
print(ans)
| N=int(input())
S,T=input().split()
ans=""
for i in range(N):
ans+=S[i]
ans+=T[i]
print(ans)
| [
"call.remove"
] | 630,725 | 630,726 | u753386263 | python |
p02830 | def ii():return int(input())
def iim():return map(int,input().split())
def iil():return list(map(int,input().split()))
def ism():return map(str,input().split())
def isl():return list(map(str,input().split()))
n = ii()
s,t = ism()
ans = ''
for i in range(n):
ans += (s[i]+t[i]) | def ii():return int(input())
def iim():return map(int,input().split())
def iil():return list(map(int,input().split()))
def ism():return map(str,input().split())
def isl():return list(map(str,input().split()))
n = ii()
s,t = ism()
ans = ''
for i in range(n):
ans += (s[i]+t[i])
print(ans) | [
"call.add"
] | 630,729 | 630,730 | u021916304 | python |
p02830 | n=int(input())
s,t=map(int,input().split())
j=0
k=0
r=[0 for i in range(2*n)]
for i in range(0,2*n,2):
r[i]=s[j]
j+=1
for i in range(1,2*n+1,2):
r[i]=t[k]
k+=1
print("".join(r)) | n=int(input())
s,t=map(str,input().split())
j=0
k=0
r=[0 for i in range(2*n)]
for i in range(0,2*n,2):
r[i]=s[j]
j+=1
for i in range(1,2*n+1,2):
r[i]=t[k]
k+=1
print("".join(r)) | [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 630,735 | 630,736 | u755313517 | python |
p02830 | N = int(input())
S, T = map(str,input().split())
for i in N:
print(S[i] + T[i],end="")
| N = int(input())
S, T = map(str,input().split())
for i in range(N):
print(S[i] + T[i],end="")
| [
"call.add",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 630,737 | 630,738 | u970020450 | python |
p02830 | N = int(input())
S, T = map(int,input().split())
for i in N:
print(S[i] + T[i],end="") | N = int(input())
S, T = map(str,input().split())
for i in range(N):
print(S[i] + T[i],end="")
| [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"call.add",
"control_flow.loop.range.bounds.upper.change"
] | 630,739 | 630,738 | u970020450 | python |
p02830 | n = int(input())
s, t = map(input().split())
ans = ''
for i in range(n):
ans += s[i]
ans += t[i]
print(ans) | n = int(input())
s, t =input().split()
ans = ''
for i in range(n):
ans += s[i]
ans += t[i]
print(ans) | [
"call.remove",
"call.arguments.change"
] | 630,745 | 630,746 | u309423187 | python |
p02830 | N = int(input())
A,B = input().split()
ans = []
for i in range(N+1):
ans.append(A[i] + B[i])
print("".join(ans)) | N = int(input())
A,B = input().split()
ans = []
for i in range(0,N):
ans.append(A[i] + B[i])
print("".join(ans)) | [
"call.arguments.add",
"expression.operation.binary.remove"
] | 630,747 | 630,748 | u281494025 | python |
p02830 | N = int(input())
S,T = map(int,input().split())
l=[]
for i in range(N):
l.append(S[i])
l.append(T[i])
print("".join(l)) | N = int(input())
S,T = map(str,input().split())
l=[]
for i in range(N):
l.append(S[i])
l.append(T[i])
print("".join(l)) | [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 630,758 | 630,759 | u288430479 | python |
p02830 | n=input()
s,t=input().split()
word=""
for i in range(n):
word+=(s[i]+t[i])
print(word)
| n=int(input())
s,t=input().split()
word=""
for i in range(n):
word+=(s[i]+t[i])
print(word)
| [
"call.add",
"call.arguments.change"
] | 630,761 | 630,762 | u740047492 | python |
p02830 | n=input()
s,t=input().split()
word=""
for i in range(n):
word+=s[i]+t[i]
print(word)
| n=int(input())
s,t=input().split()
word=""
for i in range(n):
word+=(s[i]+t[i])
print(word)
| [
"call.add",
"call.arguments.change"
] | 630,763 | 630,762 | u740047492 | python |
p02830 | zn=int(input())
s,t=input().split()
word=""
for i in range(n):
word+=s[i]+t[i]
print(word) | n=int(input())
s,t=input().split()
word=""
for i in range(n):
word+=(s[i]+t[i])
print(word)
| [
"assignment.variable.change",
"identifier.change"
] | 630,764 | 630,762 | u740047492 | python |
p02830 | n=int(input())
s,t=input(),split()
word=""
for i in range(n):
word+=s[i]+t[i]
print(word) | n=int(input())
s,t=input().split()
word=""
for i in range(n):
word+=(s[i]+t[i])
print(word)
| [
"assignment.value.change"
] | 630,765 | 630,762 | u740047492 | python |
p02830 | zn=int(input())
s,t=input(),split()
word=""
for i in range(n):
word+=s[i]+t[i]
print(word) | n=int(input())
s,t=input().split()
word=""
for i in range(n):
word+=(s[i]+t[i])
print(word)
| [
"assignment.variable.change",
"identifier.change",
"assignment.value.change"
] | 630,766 | 630,762 | u740047492 | python |
p02830 | N = int(input())
S = input()
T = input()
S = list(S)
T = list(T)
A = []
for i in range(N):
A.append(S[i])
A.append(T[i])
print(''.join(A)) | N = int(input())
S,T = input().split()
S = list(S)
T = list(T)
A = []
for i in range(N):
A.append(S[i])
A.append(T[i])
print(''.join(A)) | [
"assignment.variable.change",
"call.remove",
"call.add"
] | 630,767 | 630,768 | u178521488 | python |
p02830 | N = int(input())
ST = input()
S = ""
for i in range(N):
S += ST[i]
S += ST[N+i]
print(S) | N = int(input())
ST = input()
S = ""
for i in range(N):
S += ST[i]
S += ST[N+i+1]
print(S) | [
"expression.operation.binary.add"
] | 630,775 | 630,776 | u703890795 | python |
p02830 | n=int(input())
s=input()
t=input()
for i in range(n):
print(s[i],end="")
print(t[i],end="") | n=int(input())
s,t=input().split()
for i in range(n):
print(s[i],end="")
print(t[i],end="") | [
"assignment.variable.change",
"call.remove",
"call.add"
] | 630,781 | 630,782 | u774539708 | python |
p02830 | n = int(input)
s,t = map(str,input().split())
for i in range(n):
print(s[i]+t[i],end="") | n = int(input())
s,t = map(str,input().split())
for i in range(n):
print(s[i]+t[i],end="") | [
"call.add"
] | 630,795 | 630,796 | u572012241 | python |
p02830 | num = input()
moji_list = input().split()
new_moji = ""
for i in range(num):
new_moji = moji_list[0][i]+moji_list[1][i]
print(new_moji) | num = input()
moji_list = input().split()
new_moji = ""
for i in range(int(num)):
new_moji += moji_list[0][i]+moji_list[1][i]
print(new_moji) | [
"call.add",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"assignment.value.change"
] | 630,808 | 630,809 | u674574659 | python |
p02830 | inp_1 = int(input())
inp_2 = input().split(" ")
r = ""
for i in range(inp_1):
r += inp_2[0][i]
r += inp_2[1][i]
print(o)
| inp_1 = int(input())
inp_2 = input().split(" ")
r = ""
for i in range(inp_1):
r += inp_2[0][i]
r += inp_2[1][i]
print(r)
| [
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 630,812 | 630,813 | u645208229 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.