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 |
|---|---|---|---|---|---|---|---|
p02830
|
length = int(input())
str1, str2 = input().split(" ")
result = ""
for i in range(len(str1)):
result += str1[i]
result += str2[i]
return result
|
length = int(input())
str1, str2 = input().split(" ")
result = ""
for i in range(len(str1)):
result += str1[i]
result += str2[i]
print(result)
|
[
"function.return_value.change",
"call.arguments.change"
] | 630,819
| 630,820
|
u723711163
|
python
|
p02830
|
n = int(input())
s, t = input().split()
ss, tt=list(s), list(t)
print(ss, tt)
o = str()
for i in range(len(ss)):
o += ss[i] + tt[i]
print(o)
|
n = int(input())
s, t = input().split()
ss, tt=list(s), list(t)
o = str()
for i in range(len(ss)):
o += ss[i] + tt[i]
print(o)
|
[
"call.remove"
] | 630,821
| 630,822
|
u696865277
|
python
|
p02830
|
import sys
row = sys.stdin.readline
def read_int(row):
return int(row().rstrip())
def read_strings(row):
return list(map(str, row().split()))
N = read_int(row)
S,T= read_strings(row)
st = ""
for i in range(N *2):
if i%2 == 0:
st +=S[i//2]
else:
st +=T[i//2]
|
import sys
row = sys.stdin.readline
def read_int(row):
return int(row().rstrip())
def read_strings(row):
return list(map(str, row().split()))
N = read_int(row)
S,T= read_strings(row)
st = ""
for i in range(N *2):
if i%2 == 0:
st +=S[i//2]
else:
st +=T[i//2]
print(st)
|
[
"call.add"
] | 630,832
| 630,833
|
u274262034
|
python
|
p02830
|
input()
s1, s2 = input().split()
for idx in range(len(s)):
print(s1[idx],end='')
print(s2[idx],end='')
print()
|
input()
s1, s2 = input().split()
for idx in range(len(s2)):
print(s1[idx],end='')
print(s2[idx],end='')
print()
|
[
"identifier.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 630,841
| 630,842
|
u328510800
|
python
|
p02830
|
N = int(nput())
S, T = input().split()
ans = ""
for i in range(N):
ans = ans + S[i:i+1] + T[i:i+1]
print(ans)
|
N = int(input())
S, T = input().split()
ans = ""
for i in range(N):
ans = ans + S[i:i+1] + T[i:i+1]
print(ans)
|
[
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 630,847
| 630,848
|
u270467412
|
python
|
p02830
|
A=int(input())
B,C=input().split()
D=''
for i in range(A):
D=B[i]+C[i]
print(D)
|
A=int(input())
B,C=input().split()
D=''
for i in range(A):
D+=B[i]
D+=C[i]
print(D)
|
[
"assignment.value.change",
"expression.operation.binary.change"
] | 630,849
| 630,850
|
u223555291
|
python
|
p02830
|
n=int(input())
s,t=input().split()
for i in range(n):print(s[i]+t[i])
print()
|
n=int(input())
s,t=input().split()
for i in range(n):print(s[i]+t[i],end='')
print()
|
[
"call.arguments.add"
] | 630,856
| 630,857
|
u248670337
|
python
|
p02830
|
n=int(input())
a,b=input().split()
c=""
for _ in range(n):
c+=a[0]+b[0]
print(c)
|
n=int(input())
a,b=input().split()
c=""
for _ in range(n):
c+=a[_]+b[_]
print(c)
|
[
"identifier.replace.add",
"literal.replace.remove",
"variable_access.subscript.index.change",
"expression.operation.binary.change"
] | 630,862
| 630,863
|
u672542358
|
python
|
p02830
|
n = int(input())
s, t = map(int, input().split())
result = ''
for idx in range(n):
result += s[idx] + t[idx]
print(result)
|
n = int(input())
s, t = input().split()
result = ''
for idx in range(n):
result += s[idx] + t[idx]
print(result)
|
[
"call.remove",
"call.arguments.change"
] | 630,866
| 630,867
|
u755585099
|
python
|
p02830
|
n = int(input())
word_list = list(map(str, input().split()))
result_string = ""
for num in range(len(word_list[0])):
for i in range(0,n):
word_selected = word_list[i]
result_string += word_selected[num]
print(result_string)
|
n = int(input())
word_list = list(map(str, input().split()))
result_string = ""
for num in range(len(word_list[0])):
for i in range(0,2):
word_selected = word_list[i]
result_string += word_selected[num]
print(result_string)
|
[
"identifier.replace.remove",
"literal.replace.add",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 630,870
| 630,871
|
u152554456
|
python
|
p02830
|
N = int(input())
A = input()
B = input()
r = ""
for i in range(N):
r+= A[i]
r+= B[i]
print(r)
|
N = int(input())
A, B = input().split()
r = ""
for i in range(N):
r+= A[i]
r+= B[i]
print(r)
|
[
"assignment.variable.change",
"call.remove",
"call.add"
] | 630,885
| 630,886
|
u072717685
|
python
|
p02830
|
n = int(input())
s, t = list(map(str, input().split()))
ans = ''
for ss, tt in zip(s, t):
ans += ss + tt
|
n = int(input())
s, t = list(map(str, input().split()))
ans = ''
for ss, tt in zip(s, t):
ans += ss + tt
print(ans)
|
[
"call.add"
] | 630,892
| 630,893
|
u588085553
|
python
|
p02830
|
N = int(input())
Ar =list(map(str,input().split))
S = list(Ar[0])
T = list(Ar[1])
Ans_Ar = []
for i in range(N):
Ans_Ar.append(S[i])
Ans_Ar.append(T[i])
result = ''.join(Ans_Ar)
print(result)
|
N = int(input())
Ar =list(map(str,input().split()))
S = list(Ar[0])
T = list(Ar[1])
Ans_Ar = []
for i in range(N):
Ans_Ar.append(S[i])
Ans_Ar.append(T[i])
result = ''.join(Ans_Ar)
print(result)
|
[
"call.add"
] | 630,894
| 630,895
|
u917441099
|
python
|
p02830
|
N = int(input())
S,T = list(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)
|
[
"call.remove",
"call.add"
] | 630,929
| 630,930
|
u231189826
|
python
|
p02830
|
n = int(input())
s,t = input().split()
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 = ans + s[i]+t[i]
print(ans)
|
[
"assignment.add"
] | 630,934
| 630,935
|
u214561383
|
python
|
p02830
|
n = int(input())
s,t = input().split()
for i in range(n):
u = u + s[i] + t[i]
print(u)
|
n = int(input())
s,t = input().split()
u = ""
for i in range(n):
u = u + s[i] + t[i]
print(u)
|
[
"assignment.add"
] | 630,942
| 630,943
|
u443928636
|
python
|
p02830
|
N=int(input())
S,T=map(input().split())
a=""
for i in range(N):
a+=S[i]+T[i]
print(a)
|
N=int(input())
S,T=map(str,input().split())
a=""
for i in range(N):
a+=S[i]+T[i]
print(a)
|
[
"call.arguments.add"
] | 630,951
| 630,952
|
u109133010
|
python
|
p02830
|
n = int(input())
a,b= map(str,input().split())
for i in range(n):
print(a[i],b[i],sep="")
|
n = int(input())
a,b= map(str,input().split())
for i in range(n):
print(a[i]+b[i],end="")
|
[
"call.arguments.change",
"io.output.change",
"identifier.change",
"call.arguments.keyword_argument.change"
] | 630,972
| 630,973
|
u608277538
|
python
|
p02830
|
n = int(input())
w, x = input().split(" ")
s = str(w)
t = str(x)
new_str = ""
for i in range(0, 3):
new_str += s[i]
new_str += t[i]
print(new_str)
|
n = int(input())
w, x = input().split(" ")
s = str(w)
t = str(x)
new_str = ""
for i in range(0, n):
new_str += s[i]
new_str += t[i]
print(new_str)
|
[
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 630,974
| 630,975
|
u041529470
|
python
|
p02830
|
N = int(input())
Str_input = str(input())
S = Str_input.split()[0]
T = Str_input.split()[1]
ans = ''
for i in range(N):
ans = ans + S[i:i+1] + T[i:i+1]
ans
|
N = int(input())
Str_input = str(input())
S = Str_input.split()[0]
T = Str_input.split()[1]
ans = ''
for i in range(N):
ans = ans + S[i:i+1] + T[i:i+1]
print(ans)
|
[
"call.add",
"call.arguments.change"
] | 630,977
| 630,978
|
u723503495
|
python
|
p02830
|
N = int(input())
print(N)
S = input().split()
Output = ""
for i in range(N) :
Output = Output + S[0][i] + S[1][i]
print(Output)
|
N = int(input())
S = input().split()
Output = ""
for i in range(N) :
Output = Output + S[0][i] + S[1][i]
print(Output)
|
[
"call.remove"
] | 630,979
| 630,980
|
u410973349
|
python
|
p02830
|
n=int(input())
s=input()
t=input()
i=0
while i<n:
print(s[i]+t[i],end="")
i+=1
|
n=int(input())
s,t=input().split()
i=0
while i<n:
print(s[i]+t[i],end="")
i+=1
|
[
"assignment.variable.change",
"call.remove",
"call.add"
] | 630,981
| 630,982
|
u517197973
|
python
|
p02830
|
#b strings with the same length
n=int(input())
sentence=input().split()
ans=""
for i in range(2):
ans=ans+sentence[0][i]+sentence[1][i]
print(ans)
|
#b strings with the same length
n=int(input())
sentence=input().split()
ans=""
for i in range(n):
ans=ans+sentence[0][i]+sentence[1][i]
print(ans)
|
[
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 630,985
| 630,986
|
u723583932
|
python
|
p02830
|
N = int(input())
S, T = map(str, input().split())
S = list(S)
T = list(T)
for i in range(N):
ans = []
for j in range(N):
ans.append(S[i])
ans.append(T[i])
print(''.join(ans))
|
N = int(input())
S, T = map(str, input().split())
S = list(S)
T = list(T)
for i in range(N):
ans = []
for j in range(N):
ans.append(S[j])
ans.append(T[j])
print(''.join(ans))
|
[
"identifier.change",
"variable_access.subscript.index.change",
"call.arguments.change"
] | 630,987
| 630,988
|
u329568242
|
python
|
p02830
|
N = int(input())
S,T= input().spulit()
Q = ""
for i in range (N):
Q = Q + S[i] + T[i]
print(Q)
|
N = int(input())
S,T = input().split()
Q = ""
for i in range (N):
Q = Q + S[i] + T[i]
print(Q)
|
[
"assignment.value.change",
"identifier.change"
] | 630,991
| 630,992
|
u606043821
|
python
|
p02830
|
N = int(input())
S = input()
T = input()
Q = ""
for i in range (N):
Q = Q + S[i] + T[i]
print(Q)
|
N = int(input())
S,T = input().split()
Q = ""
for i in range (N):
Q = Q + S[i] + T[i]
print(Q)
|
[
"assignment.variable.change",
"call.remove",
"call.add"
] | 630,993
| 630,992
|
u606043821
|
python
|
p02830
|
n = int(input())
s, t = input().split()
r = []
for i in range(len(s)):
str.append(s[i])
str.append(t[i])
print(''.join(r))
|
n = int(input())
s, t = input().split()
r = []
for i in range(n):
r.append(s[i])
r.append(t[i])
print(''.join(r))
|
[
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"identifier.change"
] | 631,003
| 631,004
|
u434088994
|
python
|
p02830
|
N=int(input())
S,T=map(str,input().split())
a=[]
for i in range(N):
a+=S[i]
a+=T[i]
print(a)
|
N=int(input())
S,T=map(str,input().split())
a=str()
for i in range(N):
a+=S[i]
a+=T[i]
print(a)
|
[
"call.arguments.change"
] | 631,005
| 631,006
|
u135116520
|
python
|
p02830
|
N=int(input())
S,T=map(str,input().split())
a=()
for i in range(N):
a+=S[i]
a+=T[i]
print(a)
|
N=int(input())
S,T=map(str,input().split())
a=str()
for i in range(N):
a+=S[i]
a+=T[i]
print(a)
|
[
"call.add",
"type_conversion.to_string.change",
"type_conversion.to_number.change"
] | 631,007
| 631,006
|
u135116520
|
python
|
p02830
|
n = int(input())
s, t = input().split()
merge = ''
for i in range(n):
metge += s[i] + t[i]
print(merge)
|
n = int(input())
s, t = input().split()
merge = ''
for i in range(n):
merge += s[i] + t[i]
print(merge)
|
[
"identifier.change"
] | 631,008
| 631,009
|
u756715599
|
python
|
p02830
|
N = int(input())
S, T = map(input().split())
s=""
for i in range(N):
s = s + S[i] + T[i]
print(s)
|
N = int(input())
S, T = map(str, input().split())
s=""
for i in range(N):
s = s + S[i] + T[i]
print(s)
|
[
"call.arguments.add"
] | 631,012
| 631,013
|
u492447501
|
python
|
p02830
|
n = int(input())
s,t = map(input().split())
for i in range(n):
print(s[i]+t[i],end='')
|
n = int(input())
s,t = input().split()
for i in range(n):
print(s[i]+t[i],end='')
|
[
"call.remove",
"call.arguments.change"
] | 631,014
| 631,015
|
u186616769
|
python
|
p02830
|
def main():
N = int(input())
row = input()
for (s, t) in zip(row[:N], row[N:]):
print(s+t, end="")
print("") # 改行
if __name__ == "__main__":
main()
|
def main():
N = int(input())
row = input()
for (s, t) in zip(row[:N+1], row[N+1:]):
print(s+t, end="")
print("") # 改行
if __name__ == "__main__":
main()
|
[
"expression.operation.binary.add"
] | 631,016
| 631,017
|
u614627871
|
python
|
p02830
|
n=int(input())
s,t=str(input().split())
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='')
|
[
"call.remove",
"assignment.value.change",
"call.arguments.change"
] | 631,031
| 631,032
|
u993310962
|
python
|
p02830
|
a,b = input().split()
ans = ''
for i, s in enumerate(a):
ans+=s
ans+=b[i]
print(ans)
|
_ = input()
a,b = input().split()
ans = ''
for i, s in enumerate(a):
ans+=s
ans+=b[i]
print(ans)
|
[
"assignment.add"
] | 631,035
| 631,036
|
u713228137
|
python
|
p02830
|
def wczytaj_liste():
wczytana_lista = input()
lista_znakow = wczytana_lista.split()
ostateczna_lista = []
for element in lista_znakow:
ostateczna_lista.append(int(element))
return ostateczna_lista
def B_strings():
N = wczytaj_liste()[0]
S = input()
T = input()
odp = []
for i in range(N):
odp.append(S[i])
odp.append(T[i])
print(''.join(odp))
B_strings()
|
def wczytaj_liste():
wczytana_lista = input()
lista_znakow = wczytana_lista.split()
ostateczna_lista = []
for element in lista_znakow:
ostateczna_lista.append(int(element))
return ostateczna_lista
def B_strings():
N = wczytaj_liste()[0]
wczytaj = input()
S, T = wczytaj.split()
odp = []
for i in range(N):
odp.append(S[i])
odp.append(T[i])
print(''.join(odp))
B_strings()
|
[
"assignment.variable.change",
"identifier.change"
] | 631,048
| 631,049
|
u443725372
|
python
|
p02830
|
n = input()
s, t = input().split()
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)
|
[
"call.add",
"call.arguments.change"
] | 631,056
| 631,057
|
u975039852
|
python
|
p02830
|
N=input()
S=input()
T=input()
strings=[]
for i in range(int(N)):
strings.append(S[i]+T[i])
print(''.join(strings))
|
N=input()
S,T=input().split()
strings=[]
for i in range(int(N)):
strings.append(S[i]+T[i])
print(''.join(strings))
|
[
"assignment.variable.change",
"call.remove",
"call.add"
] | 631,078
| 631,079
|
u018983066
|
python
|
p02830
|
N = int(input())
S, T = input().split()
for i in range(N):
r += S[i] + T[i]
print(r)
|
N = int(input())
S, T = input().split()
r = ''
for i in range(N):
r += S[i] + T[i]
print(r)
|
[
"assignment.add"
] | 631,093
| 631,094
|
u612261372
|
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"
] | 631,095
| 631,096
|
u422104747
|
python
|
p02830
|
n=int(input())
s=input()
a=s[:n]
b=s[n+1:]
print(a,b)
ans=""
for i in range(n):
ans+=a[i]
ans+=b[i]
print(ans)
|
n=int(input())
s=input()
a=s[:n]
b=s[n+1:]
#print(a,b)
ans=""
for i in range(n):
ans+=a[i]
ans+=b[i]
print(ans)
|
[
"call.remove"
] | 631,099
| 631,100
|
u459798349
|
python
|
p02830
|
n = input()
A, B = input().split()
c = ""
for i in range(n):
c = c+A[i]
c = c+B[i]
print(c)
|
n = int(input())
A, B = input().split()
c = ""
for i in range(n):
c = c+A[i]
c = c+B[i]
print(c)
|
[
"call.add",
"call.arguments.change"
] | 631,111
| 631,112
|
u450761641
|
python
|
p02830
|
size = int(input())
a,b = list(map(int,input().split()))
ans = ""
for i in range(size):
ans += a[i]
ans += b[i]
print(ans)
|
size = int(input())
a,b = list(map(str,input().split()))
ans = ""
for i in range(size):
ans += a[i]
ans += b[i]
print(ans)
|
[
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 631,140
| 631,141
|
u269778596
|
python
|
p02830
|
# -*- coding: utf-8 -*-
N=int(input())
S, T=map(list, input().split())
W=""
for i in range(N):
W=W+S[i-1]
W=W+T[i-1]
print(W)
|
# -*- coding: utf-8 -*-
N=int(input())
S, T=map(list, input().split())
W=""
for i in range(N):
W=W+S[i]
W=W+T[i]
print(W)
|
[
"expression.operation.binary.remove"
] | 631,145
| 631,146
|
u662062459
|
python
|
p02830
|
n=input()
s, t=str(input()).split()
for i in range(n):
print(list(s)[i], list(t)[i], sep='', end='')
|
n=input()
s, t=str(input()).split()
for i in range(int(n)):
print(list(s)[i], list(t)[i], sep='', end='')
|
[
"call.add",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 631,147
| 631,148
|
u039370810
|
python
|
p02830
|
s = int(input())
str1, str2 = [s for s in input().split()]
ans=[]
for i in range(4):
ans += str1[i]
ans += str2[i]
print(''.join(ans))
|
s = int(input())
str1, str2 = [s for s in input().split()]
ans=[]
for i in range(s):
ans += str1[i]
ans += str2[i]
print(''.join(ans))
|
[
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 631,154
| 631,155
|
u849433300
|
python
|
p02830
|
N = input()
S, T = input().split()
A = ""
for s, t in zip(S, T):
A += s
A += t
|
N = input()
S, T = input().split()
A = ""
for s, t in zip(S, T):
A += s
A += t
print(A)
|
[
"call.add"
] | 631,156
| 631,157
|
u743374900
|
python
|
p02830
|
N = input()
S, T = input().split()
A = String()
for s, t in zip(S, T):
A += s
A += t
print(A)
|
N = input()
S, T = input().split()
A = ""
for s, t in zip(S, T):
A += s
A += t
print(A)
|
[] | 631,158
| 631,157
|
u743374900
|
python
|
p02830
|
n = list(input().split())
s, t = list(input().split())
ans = []
for i in range(0, int(len(n)+1)):
ans.append(s[i])
ans.append(t[i])
print(''.join(map(str,ans)))
|
n = list(input().split())
s, t = list(input().split())
ans = []
for i in range(0, int(n[0])):
ans.append(s[i])
ans.append(t[i])
print(''.join(map(str,ans)))
|
[
"call.remove"
] | 631,181
| 631,182
|
u089644470
|
python
|
p02830
|
n = int(input())
k = input().split()
print(k)
c = ""
for i in list(range(n)):
c += k[0][i]
c += k[1][i]
print(c)
|
n = int(input())
k = input().split()
c = ""
for i in list(range(n)):
c += k[0][i]
c += k[1][i]
print(c)
|
[
"call.remove"
] | 631,191
| 631,192
|
u674885373
|
python
|
p02830
|
n = int(input())
k = input().split()
c = ""
for i in list(range(2)):
c += k[0][i]
c += k[1][i]
print(c)
|
n = int(input())
k = input().split()
c = ""
for i in list(range(n)):
c += k[0][i]
c += k[1][i]
print(c)
|
[
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 631,193
| 631,192
|
u674885373
|
python
|
p02830
|
num = int(input())
s = input()
t = input()
u =[]
for _ in range(num):
u.append(s[_] + t[_])
ans = ''.join(u)
print(ans)
|
num = int(input())
s, t = input().split()
u =[]
for _ in range(num):
u.append(s[_] + t[_])
ans = ''.join(u)
print(ans)
|
[
"assignment.variable.change",
"call.remove",
"call.add"
] | 631,196
| 631,197
|
u386089098
|
python
|
p02830
|
N = int(input())
Input = input().split()
S = (list(Input[0]))
T = (list(Input[1]))
new = "a"
for i in range(N):
new += S[i]
new += T[i]
print(new[0:2*N])
|
N = int(input())
Input = input().split()
S = (list(Input[0]))
T = (list(Input[1]))
new = "a"
for i in range(N):
new += S[i]
new += T[i]
print(new[1:2*N+1])
|
[
"literal.number.integer.change",
"variable_access.subscript.index.change",
"call.arguments.change",
"io.output.change"
] | 631,206
| 631,207
|
u265213765
|
python
|
p02830
|
n=int(input())
s=list(input())
s,t=s[:n],s[n+1:]
ans=[0]*2*n
print(s,t)
for i,j in zip(s,t):
print(i,end="")
print(j,end="")
|
n=int(input())
s=list(input())
s,t=s[:n],s[n+1:]
ans=[0]*2*n
for i,j in zip(s,t):
print(i,end="")
print(j,end="")
|
[
"call.remove"
] | 631,216
| 631,217
|
u490489966
|
python
|
p02830
|
N = int(input())
A,B = input().split()
tmp = [[] for _ in range(N*2)]
print(A)
M = 2*N
for i in range(0,N):
tmp[2*i]=A[i]
tmp[2*i+1]=B[i]
ans = "".join(tmp)
print(ans)
|
N = int(input())
A,B = input().split()
tmp = [[] for _ in range(N*2)]
M = 2*N
for i in range(0,N):
tmp[2*i]=A[i]
tmp[2*i+1]=B[i]
ans = "".join(tmp)
print(ans)
|
[
"call.remove"
] | 631,220
| 631,221
|
u527993431
|
python
|
p02830
|
n = int(input())
l = list(input().split())
s = ""
for i in range(n):
s += (l[0][n] + l[1][n])
print(s)
|
n = int(input())
l = list(input().split())
s = ""
for i in range(n):
s += (l[0][i] + l[1][i])
print(s)
|
[
"identifier.change",
"variable_access.subscript.index.change",
"expression.operation.binary.change"
] | 631,235
| 631,236
|
u617659131
|
python
|
p02830
|
n = int(input())
l, r = input().split()
print(l)
s = ''
for i in range(len(r)):
s += l[i]
s += r[i]
print(s)
|
n = int(input())
l, r = input().split()
s = ''
for i in range(len(r)):
s += l[i]
s += r[i]
print(s)
|
[
"call.remove"
] | 631,243
| 631,244
|
u791013618
|
python
|
p02830
|
n=int(input())
s,t = input().split()
r=""
for i in range(n):
r=r+s[i]+t[0]
print(r)
|
n=int(input())
s,t = input().split()
r=""
for i in range(n):
r=r+s[i]+t[i]
print(r)
|
[
"assignment.value.change",
"identifier.replace.add",
"literal.replace.remove",
"variable_access.subscript.index.change",
"expression.operation.binary.change"
] | 631,253
| 631,254
|
u075155299
|
python
|
p02830
|
a=int(input())
s,t=[x for x in input().rstrip().split()]
print(s,t)
ans=""
for i in range(a):
ans+=s[i]
ans+=t[i]
print(ans)
|
a=int(input())
s,t=[x for x in input().rstrip().split()]
ans=""
for i in range(a):
ans+=s[i]
ans+=t[i]
print(ans)
|
[
"call.remove"
] | 631,255
| 631,256
|
u235376569
|
python
|
p02830
|
n = int(input())
s, t = input().split()
ans = ""
for i in range(n):
ans += s[i]
ans += s[i]
print(ans)
|
n = int(input())
s, t = input().split()
ans = ""
for i in range(n):
ans += s[i]
ans += t[i]
print(ans)
|
[
"identifier.change"
] | 631,277
| 631,278
|
u371132735
|
python
|
p02830
|
a=int(input())
s=input()
d=input()
z=""
for i in range(a):
z+=s[i]
z+=d[i]
print(z)
|
a=int(input())
s,d=input().split()
z=""
for i in range(a):
z+=s[i]
z+=d[i]
print(z)
|
[
"assignment.variable.change",
"call.remove",
"call.add"
] | 631,288
| 631,289
|
u762182313
|
python
|
p02830
|
# coding: utf-8
# Your code here!
N=int(input())
S,T=(input().split(" "))
S=list(S)
T=list(T)
#print(S,T)
ans=[]
for _ in range(N):
ans.append(S.pop(0))
ans.append(T.pop(-1))
print("".join(ans))
|
# coding: utf-8
# Your code here!
N=int(input())
S,T=(input().split(" "))
S=list(S)
T=list(T)
#print(S,T)
ans=[]
for _ in range(N):
ans.append(S.pop(0))
ans.append(T.pop(0))
print("".join(ans))
|
[
"call.arguments.change",
"expression.operation.unary.remove"
] | 631,290
| 631,291
|
u798818115
|
python
|
p02830
|
n = int(input())
things = input().split()
s = ""
for i in range(n):
s += thing[0][i]
s += thing[1][i]
print(s)
|
n = int(input())
things = input().split()
s = ""
for i in range(n):
s += things[0][i]
s += things[1][i]
print(s)
|
[
"identifier.change"
] | 631,319
| 631,320
|
u133303728
|
python
|
p02830
|
def p_b():
n = int(input())
s, t = input().split()
ans = ""
for i in range(n):
ans += s[i]
ans += t[i]
print(ans)
|
def p_b():
n = int(input())
s, t = input().split()
ans = ""
for i in range(n):
ans += s[i]
ans += t[i]
print(ans)
p_b()
|
[
"call.add"
] | 631,323
| 631,324
|
u756829954
|
python
|
p02831
|
import math
A,B=map(int,input())
print(A*B // math.gcd(A,B))
|
import math
A,B=map(int,input().split())
print(A*B // math.gcd(A,B))
|
[
"call.add"
] | 631,357
| 631,358
|
u075303794
|
python
|
p02831
|
import math
A, B =map(int, input().split())
print(A*B / gcd(A, B))
|
import math
A, B =map(int, input().split())
print(int(A*B / math.gcd(A, B)))
|
[
"call.arguments.add",
"call.arguments.change"
] | 631,395
| 631,396
|
u498136917
|
python
|
p02831
|
from math import gcd
a,b=int(input().split())
print(a*b/gcd(a,b))
|
from math import gcd
a,b=map(int,input().split())
print((a*b)//gcd(a,b))
|
[
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.add",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 631,401
| 631,400
|
u944325914
|
python
|
p02831
|
import math
A, B = map(int, input().split())
print(a*b//math.gcd(a, b))
|
import math
A, B = map(int, input().split())
print(A*B//math.gcd(A, B))
|
[
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 631,490
| 631,491
|
u626337957
|
python
|
p02831
|
def lcm(x, y):
return (x * y) // math.gcd(x, y)
def abc148c_snack():
a, b = map(int, input().split())
print(lcm(a, b))
abc148c_snack()
|
def lcm(x, y):
import math
return (x * y) // math.gcd(x, y)
def abc148c_snack():
a, b = map(int, input().split())
print(lcm(a, b))
abc148c_snack()
|
[] | 631,509
| 631,510
|
u252405453
|
python
|
p02831
|
A,B=map(int,input().split())
num=1
for i in range(1,max(A,B)+1):
if A%i==0 and B%i==0:
num*=i
print(int(A*B/num))
|
A,B=map(int,input().split())
num=1
for i in range(1,max(A,B)):
if A%i==0 and B%i==0:
num=i
print(int(A*B/num))
|
[
"expression.operation.binary.remove",
"assignment.value.change"
] | 631,523
| 631,522
|
u432453907
|
python
|
p02831
|
a, b = map(int, input().split())
ans = 10**10
for i in range(min(a, b), 2, -1):
if a % i == 0 and b % i == 0:
ans = i * (a // i) * (b // i)
break
print(min(a * b, ans))
|
a, b = map(int, input().split())
ans = 10**100
for i in range(min(a, b), 1, -1):
if a % i == 0 and b % i == 0:
ans = i * (a // i) * (b // i)
break
print(min(a * b, ans))
|
[
"literal.number.integer.change",
"assignment.value.change",
"expression.operation.binary.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 631,569
| 631,570
|
u537976628
|
python
|
p02831
|
from math import gcd
a,b = map(int,input().split())
print(gcd(a,b))
|
from math import gcd
a,b = map(int,input().split())
print(a*b//gcd(a,b))
|
[
"identifier.change"
] | 631,571
| 631,572
|
u175590965
|
python
|
p02831
|
def lcm(x, y):
return (x * y) // math.gcd(x, y)
a,b=map(int,input(),split())
print(lcm(a, b))
|
import math
def lcm(x, y):
return (x * y) // math.gcd(x, y)
a,b=map(int,input().split())
print(lcm(a, b))
|
[
"assignment.value.change",
"call.arguments.change"
] | 631,574
| 631,575
|
u836311327
|
python
|
p02831
|
a,b = map(int,input().split())
print(a*b//math.gcd(a,b))
|
import math
a,b = map(int,input().split())
print(a*b//math.gcd(a,b))
|
[] | 631,590
| 631,591
|
u405733072
|
python
|
p02831
|
import franctions
a, b = map(int, input().split())
def lcm(a,b):
return (a*b)//franctions.gcd(a,b)
print(lcm(a,b))
|
import math
a, b = map(int, input().split())
def lcm(a,b):
return (a*b)//math.gcd(a,b)
print(lcm(a,b))
|
[
"identifier.change",
"function.return_value.change",
"expression.operation.binary.change"
] | 631,611
| 631,612
|
u693173434
|
python
|
p02831
|
from fractions import math
from math import gcd
from math import gcd
a, b = map(int, input().split())
def lcm(a, b):
return (a * b) // fractions.gcd(a, b)
print(lcm(a, b))
|
import math
a, b = map(int, input().split())
def lcm(a,b):
return (a*b)//math.gcd(a,b)
print(lcm(a,b))
|
[] | 631,614
| 631,612
|
u693173434
|
python
|
p02831
|
a, b = map(int, input().split())
ans = 0
if a > b:
for i in range(b, a + 1):
if b * i % a == 0:
ans = b * i
break
else:
for i in range(a, b + 1):
if a * i % b == 0:
ans = a * i
break
print(ans)
|
a, b = map(int, input().split())
ans = 0
if a > b:
for i in range(1, a + 1):
if b * i % a == 0:
ans = b * i
break
else:
for i in range(1, b + 1):
if a * i % b == 0:
ans = a * i
break
print(ans)
|
[
"identifier.replace.remove",
"literal.replace.add",
"call.arguments.change",
"control_flow.loop.range.bounds.lower.change"
] | 631,619
| 631,620
|
u934119021
|
python
|
p02831
|
from math import gcd
A, B = map(int, input().split())
print(gcd(A, B))
|
from math import gcd
A, B = map(int, input().split())
print(A*B//gcd(A, B))
|
[
"identifier.change"
] | 631,696
| 631,695
|
u095384238
|
python
|
p02831
|
from fractions import Fraction
from math import gcd
a,b = map(int,input().split())
def lcm(x, y):
return (x * y) // fractions.gcd(x, y)
print(lcm(a, b))
|
from math import gcd
a,b = map(int,input().split())
def lcm(x, y):
return (x * y) // gcd(x, y)
print(lcm(a, b))
|
[
"identifier.change"
] | 631,701
| 631,702
|
u566574814
|
python
|
p02831
|
import math
A, B = map(int, input().split())
lcm = A * B * math.gcd(A, B)
print(lcm)
|
import math
A, B = map(int, input().split())
lcm = A * B // math.gcd(A, B)
print(lcm)
|
[
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 631,761
| 631,762
|
u163783894
|
python
|
p02831
|
import math
A, B = map(int, input().split())
print(A * B / gcd(A, B))
|
import math
A, B = map(int, input().split())
print(int(A * B / math.gcd(A, B)))
|
[
"identifier.change",
"call.add",
"call.arguments.change"
] | 631,792
| 631,793
|
u536034761
|
python
|
p02831
|
a,b = map(int,input().split())
from math import gcd
c = math.gcd(a,b)
answer = a*b/c
print(int(answer))
|
a,b = map(int,input().split())
from math import gcd
c = gcd(a,b)
answer = a*b/c
print(int(answer))
|
[] | 631,834
| 631,835
|
u054931633
|
python
|
p02831
|
a,b = map(int,input().split())
from math import gcd
c = math.gcd(a,b)
answer = a*b/c
print(int(answer))
|
a,b = map(int,input().split())
from math import gcd
c = gcd(a,b)
answer = a*b/c
print(int(answer))
|
[
"identifier.change"
] | 631,836
| 631,835
|
u054931633
|
python
|
p02831
|
p, q = map(int, input().split())
import fraction
def lcm(a, b):
return (a * b) // fraction.gcd(a, b)
print(lcm(p, q))
|
p, q = map(int, input().split())
import math
def lcm(a, b):
return (a * b) // math.gcd(a, b)
print(lcm(p, q))
|
[
"identifier.change",
"function.return_value.change",
"expression.operation.binary.change"
] | 631,840
| 631,839
|
u175746978
|
python
|
p02831
|
import math
def lcm(a, b):
return a * b / gcd(a, b)
A, B = map(int,input().split())
print(lcm(A,B))
|
from math import gcd
def lcm(a, b):
return a * b / gcd(a, b)
A, B = map(int,input().split())
print(int(lcm(A,B)))
|
[
"identifier.change",
"call.add",
"call.arguments.change"
] | 631,864
| 631,865
|
u516949135
|
python
|
p02831
|
a,b=list(map(int,input().split()))
from math import gcd
res=a*b/math.gcd(a,b)
print(int(res))
|
a,b=list(map(int,input().split()))
from math import gcd
res=a*b/gcd(a,b)
print(int(res))
|
[] | 631,919
| 631,920
|
u574590381
|
python
|
p02831
|
import math
a,b=map(int,input().split())
c=a*b/gcd(a,b)
print(c)
|
import math
a,b=map(int,input().split())
c=a*b/math.gcd(a,b)
print(int(c))
|
[
"identifier.change",
"call.add",
"call.arguments.change"
] | 631,928
| 631,929
|
u798093965
|
python
|
p02831
|
import sys
import math
a, b = map(int, sys.stdin.raedline())
gcd = math.gcd(a, b)
print(a * b // gcd)
|
import sys
import math
a, b = map(int, sys.stdin.readline().split())
gcd = math.gcd(a, b)
print(a * b // gcd)
|
[
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 632,041
| 632,042
|
u823885866
|
python
|
p02831
|
def lcm(x, y):
return (x * y) // math.gcd(x, y)
a,b = map(int,input().split())
print(lcm(a, b))
|
import math
def lcm(x, y):
return (x * y) // math.gcd(x, y)
a,b = map(int,input().split())
print(lcm(a, b))
|
[
"identifier.change",
"function.return_value.change",
"expression.operation.binary.change"
] | 632,115
| 632,113
|
u624613992
|
python
|
p02831
|
from fraction import gcd
def main():
a, b = map(int, input().split())
print(a * b // gcd(a, b))
if __name__ == "__main__":
main()
|
from math import gcd
def main():
a, b = map(int, input().split())
print(a * b // gcd(a, b))
if __name__ == "__main__":
main()
|
[
"identifier.change"
] | 632,150
| 632,151
|
u945200821
|
python
|
p02831
|
from math import gcd
def lcm(x, y):
return (x // math.gcd(x, y) *y)
a,b = map(int,input().split())
ans = lcm(a, b)
print(ans)
|
from math import gcd
def lcm(x, y):
return (x // gcd(x, y) *y)
a,b = map(int,input().split())
ans = lcm(a, b)
print(ans)
|
[] | 632,176
| 632,177
|
u601825761
|
python
|
p02831
|
A, B = map(int, input().split())
from fraction import gcd
print(A * B // gcd(A, B))
|
A, B = map(int, input().split())
from math import gcd
print(A * B // gcd(A, B))
|
[
"identifier.change"
] | 632,197
| 632,196
|
u796842765
|
python
|
p02831
|
import fraction
X,Y = map(int, input().split())
def lcm(x, y):
return (x * y) // fraction.gcd(x, y)
print(lcm(X,Y))
|
import math
X,Y = map(int, input().split())
def lcm(x, y):
return (x * y) // math.gcd(x, y)
print(lcm(X,Y))
|
[
"identifier.change",
"function.return_value.change",
"expression.operation.binary.change"
] | 632,235
| 632,236
|
u531813438
|
python
|
p02831
|
a, b = map(int, input().split())
ans = a*b/math.gcd(a, b)
print(int(ans))
|
import math
a, b = map(int, input().split())
ans = a*b/math.gcd(a, b)
print(int(ans))
|
[
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 632,260
| 632,261
|
u991567869
|
python
|
p02831
|
import fractions
# 入力
A,B = map(int,input().split())
print(int((A * B) // math.fractions(A, B)))
|
import math
# 入力
A,B = map(int,input().split())
print(int((A * B) // math.gcd(A, B)))
|
[] | 632,270
| 632,271
|
u471593927
|
python
|
p02831
|
from math import gcd
A,B=map(int,input().split())
print(A*B//fractions.gcd(A,B))
|
import math
A,B=map(int,input().split())
print(A*B//math.gcd(A,B))
|
[] | 632,315
| 632,316
|
u686036872
|
python
|
p02831
|
from math import gcd
A,B=map(int,input().split(' '))
print(gcd(A,B))
|
from math import gcd
A,B=map(int,input().split(' '))
print(A*B//gcd(A,B))
|
[
"expression.operation.binary.add"
] | 632,365
| 632,366
|
u474423089
|
python
|
p02831
|
from math import gcd
#import math
a, b = map(int, input().split())
print(a * b // math.gcd(a, b))
|
from math import gcd
#from math import gcd
a, b = map(int, input().split())
print(a * b // gcd(a, b))
|
[] | 632,367
| 632,368
|
u622570247
|
python
|
p02831
|
import fraction
def lcm(x,y):
return x*y/math.gcd(x,y)
a,b=map(int, input().split(' '))
print(int(lcm(a,b)))
|
import math
def lcm(x,y):
return x*y/math.gcd(x,y)
a,b=map(int, input().split(' '))
print(int(lcm(a,b)))
|
[
"identifier.change",
"function.return_value.change",
"expression.operation.binary.change"
] | 632,372
| 632,373
|
u401341173
|
python
|
p02831
|
import sys
input = sys.stdin.readline
A,B = map(int,input().split())
abs = 1
for i in list(range(1,min(A,B)+1))[::-1]:
if A%i==0 and B%i==0:
print(i)
abs = i
break
print(int(A*B/abs))
|
import sys
input = sys.stdin.readline
A,B = map(int,input().split())
abs = 1
for i in list(range(1,min(A,B)+1))[::-1]:
if A%i==0 and B%i==0:
abs = i
break
print(int(A*B/abs))
|
[
"call.remove"
] | 632,418
| 632,419
|
u656391577
|
python
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.