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 |
|---|---|---|---|---|---|---|---|
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"
] | 594,972 | 594,973 | u245870380 | python |
p02789 | a, b = map(int, input().split())
if a == b:
print("AC")
else:
print("WA") | a, b = map(int, input().split())
if a == b:
print("Yes")
else:
print("No") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 594,984 | 594,985 | u791013618 | python |
p02789 | N, M = map(int, input().split())
if N == M:
print(Yes)
elif N != M:
print(No) | N, M = map(int, input().split())
if N == M:
print("Yes")
elif N != M:
print("No") | [
"call.arguments.change"
] | 594,992 | 594,993 | u867826040 | python |
p02789 | #
A,B=map(int,input().split())
#print(A,B)
if A==B:
print("AC")
else:
print("WA") | #
A,B=map(int,input().split())
#print(A,B)
if A==B:
print("Yes")
else:
print("No") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 595,002 | 595,003 | u469574680 | python |
p02789 | N, M = [int(i) for i in input().split()]
if (N == M):
print(Yes)
else:
print(No) | N, M = [int(i) for i in input().split()]
if (N == M):
print('Yes')
else:
print('No')
| [
"call.arguments.change"
] | 595,020 | 595,021 | u522185720 | python |
p02789 | n, m = [int(v) for v in input().split()]
print("AC" if n == m else "WA") | n, m = [int(v) for v in input().split()]
print("Yes" if n == m else "No") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 595,033 | 595,034 | u569280127 | 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"
] | 595,043 | 595,044 | u747309718 | python |
p02789 | a,b = map(intinput().split())
#L = list(map(int,input().split()))
if a==b:
print("Yes")
else:
print("No") | a,b = map(int,input().split())
#L = list(map(int,input().split()))
if a==b:
print("Yes")
else:
print("No") | [
"assignment.value.change",
"call.arguments.change",
"call.arguments.add"
] | 595,045 | 595,046 | u252828980 | python |
p02789 | N = input()
M = input()
N = int(N)
M = int(M)
if N == M:
print('Yes')
else:
print('No') | N,M = input().split()
N = int(N)
M = int(M)
if N == M:
print('Yes')
else:
print('No') | [
"assignment.variable.change",
"call.remove",
"call.add"
] | 595,055 | 595,056 | u958210291 | 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"
] | 595,088 | 595,089 | u574189773 | 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"
] | 595,102 | 595,103 | u123814723 | 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"
] | 595,115 | 595,116 | u721425712 | python |
p02789 | x, y = input().split()
if x == y:
print('Yes')
elif x > y:
print('No') | x, y = input().split()
if x == y:
print('Yes')
else:
print('No') | [] | 595,152 | 595,153 | u231776587 | python |
p02789 | N, M=map(int, input().split())
if N==M:
print("Yes")
print("No") | N, M=map(int, input().split())
if N==M:
print("Yes")
else:
print("No") | [] | 595,175 | 595,176 | u662062459 | 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"
] | 595,177 | 595,178 | u684204084 | python |
p02789 | # = int(input())
# = map(int, input().split())
# = list(map(int, input().split()))
# = list(input())
# = [tuple(map(int, input().split())) for _ in range(n)]
n, m = map(int, input().split())
if n == m:
print('AC')
else:
print('WA') | # = int(input())
# = map(int, input().split())
# = list(map(int, input().split()))
# = list(input())
# = [tuple(map(int, input().split())) for _ in range(n)]
n, m = map(int, input().split())
if n == m:
print('Yes')
else:
print('No')
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 595,179 | 595,180 | u824237520 | python |
p02789 | a,b = map(lambda x: int(x),input().split())
if n == m :
print('Yes')
else :
print('No')
| n,m = map(lambda x: int(x),input().split())
if n == m :
print('Yes')
else :
print('No')
| [
"assignment.variable.change",
"identifier.change"
] | 595,181 | 595,182 | u907668975 | python |
p02789 | n,m = map(lambda x: int(x),input().split())
if n == m :
print('AC')
else :
print('WA')
| n,m = map(lambda x: int(x),input().split())
if n == m :
print('Yes')
else :
print('No')
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 595,183 | 595,182 | u907668975 | python |
p02789 | n, m = [ int(v) for v in input().split() ]
ans = "WA"
if n == m:
ans = "AC"
print(ans) | n, m = [ int(v) for v in input().split() ]
ans = "No"
if n == m:
ans = "Yes"
print(ans)
| [
"literal.string.change",
"assignment.value.change"
] | 595,186 | 595,187 | u399721252 | python |
p02789 | #100
N, M = map(int,input().split())
if N == M:
print("AC")
else:
print("WA") | #100
N, M = map(int,input().split())
if N == M:
print("Yes")
else:
print("No") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 595,192 | 595,193 | u940061594 | 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"
] | 595,209 | 595,210 | u474423089 | python |
p02789 | N,M = 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",
"identifier.change",
"call.function.change",
"call.arguments.add",
"call.arguments.change"
] | 595,211 | 595,212 | u281494025 | python |
p02789 | def main():
n, m = list(map(int, input().split()))
if n == m:
print("YES")
else:
print("NO")
if __name__ == "__main__":
main() | def main():
n, m = list(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"
] | 595,213 | 595,214 | u361841553 | python |
p02789 | n,m = map(int,input().split)
print("Yes" if m==n else "No") | n,m = map(int,input().split())
print("Yes" if m==n else "No")
| [
"call.add"
] | 595,215 | 595,216 | u398355880 | 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"
] | 595,231 | 595,232 | u054473438 | python |
p02789 | m,n = map(int,input().split())
if(m == n):
print(Yes)
else:
print(No) | m,n = map(int,input().split())
if(m == n):
print('Yes')
else:
print('No') | [
"call.arguments.change"
] | 595,241 | 595,242 | u291028869 | 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"
] | 595,249 | 595,250 | u875600867 | python |
p02790 |
a, b = map(str, input().split())
A = int(a * int(b))
B = int(b * int(a))
if A > B:
print(A)
else:
print(B)
print(B) | a, b = map(str, input().split())
A = int(a * int(b))
B = int(b * int(a))
if A > B:
print(A)
else:
print(B)
| [
"call.remove"
] | 595,271 | 595,272 | u508934152 | python |
p02790 | a, b = map(str, input().split())
A = int(a * int(b))
B = int(b + int(a))
if A > B:
print(A)
else:
print(B) | a, b = map(str, input().split())
A = int(a * int(b))
B = int(b * int(a))
if A > B:
print(A)
else:
print(B)
| [
"expression.operator.arithmetic.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 595,273 | 595,272 | u508934152 | python |
p02790 | a, b = input().split()
A = int(a * int(b))
B = int(b + int(a))
if A > B:
print(A)
else:
print(B) | a, b = map(str, input().split())
A = int(a * int(b))
B = int(b * int(a))
if A > B:
print(A)
else:
print(B)
| [
"call.add",
"call.arguments.change",
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 595,274 | 595,272 | u508934152 | python |
p02790 | a,b = map(str,input().split())
c=a*int(b)
d=b*int(b)
print(min(c,d)) | a,b = map(str,input().split())
c=a*int(b)
d=b*int(a)
print(min(c,d)) | [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 595,288 | 595,289 | u433380437 | python |
p02790 | a,b=map(int,input().split())
b=max(a,b)
s=min(a,b)
print(str(s)*b) | a,b=map(int,input().split())
bg=max(a,b)
sm=min(a,b)
print(str(sm)*bg)
| [
"assignment.variable.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 595,290 | 595,291 | u425762225 | python |
p02790 | a,b=map(int,input().split())
a_string=a*int(b)
b_string=b*int(a)
answer=sorted([a_string,b_string])
print(answer[0]) | a,b=input().split()
a_string=a*int(b)
b_string=b*int(a)
answer=sorted([a_string,b_string])
print(answer[0]) | [
"call.remove",
"call.arguments.change"
] | 595,304 | 595,305 | u629607744 | python |
p02790 | a,b=map(int, input().split())
A=str(a);B=str(b);
if a>=b:
print(A*b)
else :
print(B*a) | a,b=map(int, input().split())
A=str(a);B=str(b);
if a<=b:
print(A*b)
else :
print(B*a) | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 595,306 | 595,307 | u799428010 | python |
p02790 | a,b=input().split()
if a*int(b)>=b*int(a):
print(b*int(a))
else:
print(b*int(a)) | a,b=input().split()
if a*int(b)>=b*int(a):
print(b*int(a))
else:
print(a*int(b)) | [
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 595,312 | 595,313 | u611239490 | python |
p02790 | a,b = map(int,input().split())
A = ""
B = ""
for i in range(0,b):
A += str(b)
for j in range(0,a):
B += str(a)
print(sorted([A,B])[0]) | a,b = map(int,input().split())
A = ""
B = ""
for i in range(0,b):
A += str(a)
for j in range(0,a):
B += str(b)
print(sorted([A,B])[0]) | [
"identifier.change",
"call.arguments.change"
] | 595,314 | 595,315 | u539123425 | python |
p02790 | a, b = input().split()
if a < b:
print(b * int(a))
elif a > b:
print(a * int(b))
else:
print(a * int(a)) | a, b = input().split()
if a < b:
print(a * int(b))
elif a > b:
print(b * int(a))
else:
print(a * int(a)) | [
"call.remove",
"call.add"
] | 595,320 | 595,321 | u439063038 | python |
p02790 | a, b = input().split()
x = int(a * int(b))
y = int(b * int(a))
print(min(x, y))
| a, b = input().split()
x = a * int(b)
y = b * int(a)
print(min(x, y))
| [
"call.remove",
"call.arguments.change"
] | 595,336 | 595,337 | u297574184 | python |
p02790 | a,b=map(str,input().split())
if int(a)<=int(b):
s=a
for i in range(b-1):
s+=a
print (s)
else:
s=b
for j in range(a-1):
s+=b
print(s)
| a,b=map(str,input().split())
if int(a)<=int(b):
s=a
for i in range(int(b)-1):
s+=a
print (s)
else:
s=b
for j in range(int(a)-1):
s+=b
print(s)
| [
"call.add",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 595,342 | 595,343 | u333700164 | python |
p02790 | a,b = map(int,input().split())
ans = ''
if a <= b:
for _ in range(b):
ans.join(a)
else:
for _ in range(a):
ans.join(b)
print(ans)
| a,b = map(int,input().split())
ans = ''
if a <= b:
for _ in range(b):
ans+=str(a)
else:
for _ in range(a):
ans+=str(b)
print(ans)
| [] | 595,346 | 595,347 | u564770050 | python |
p02790 | a,b = map(int,input().split())
if a >= b:
print(b*int(a))
else:
print(a*int(b)) | a,b = map(str,input().split())
if a >= b:
print(b*int(a))
else:
print(a*int(b))
| [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 595,348 | 595,349 | u626228246 | python |
p02790 | a=input().split(" ")
x1=""
x2=""
for j in range(int(a[0])):
x1=x1+a[0]
for y in range(int(a[1])):
x2=x2+a[1]
z1=int(x1)
z2=int(x2)
if x1>x2:
print(x1)
elif x1<x2:
print(x2)
else:
print(x1)
| a=input().split(" ")
x1=""
x2=""
for j in range(int(a[0])):
x1=x1+a[1]
for y in range(int(a[1])):
x2=x2+a[0]
z1=int(x1)
z2=int(x2)
if x1<x2:
print(x1)
elif x1>x2:
print(x2)
else:
print(x1)
| [
"literal.number.integer.change",
"assignment.value.change",
"variable_access.subscript.index.change",
"expression.operation.binary.change",
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 595,354 | 595,355 | u900848560 | python |
p02790 | a,b = map(input().split())
num_a = int(a)
num_b = int(b)
if num_a < num_b:
print(a*num_b)
else:
print(b*num_a) | a,b = input().split()
num_a = int(a)
num_b = int(b)
if num_a < num_b:
print(a*num_b)
else:
print(b*num_a) | [
"call.remove",
"call.arguments.change"
] | 595,360 | 595,361 | u841568901 | python |
p02790 | a, b = input().split()
an, bn = int(a), int(b)
ab = a * bn
ba = b * an
if ab >= ba:
print(ab)
else:
print(ba)
| a, b = input().split()
an, bn = int(a), int(b)
ab = a * bn
ba = b * an
if ab >= ba:
print(ba)
else:
print(ab) | [
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 595,373 | 595,374 | u364774090 | python |
p02790 | a,b=map(int,input().split())
a_=a*b
b_=b*a
s=[a_,b_]
s.sort()
print(s[0]) | a,b=map(int,input().split())
a_=str(a)*b
b_=str(b)*a
s=[a_,b_]
s.sort()
print(s[0]) | [
"call.add",
"call.arguments.change"
] | 595,385 | 595,386 | u768256617 | python |
p02790 | a,b=map(int,input().split())
A=str(a)
B=str(b)
num_1=int(A*b)
num_2=int(B*a)
if num_1>num_2:
print(num_2)
elif num_1<num_2:
print(num_1)
elif num_1==num_2:
print(num_1) | a,b=map(int,input().split())
A=str(a)
B=str(b)
num_1=int(A*b)
num_2=int(B*a)
if num_1>num_2:
print(num_1)
elif num_1<num_2:
print(num_2)
elif num_1==num_2:
print(num_1) | [
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 595,395 | 595,396 | u112364985 | python |
p02790 | a,b=map(int,input().split())
if a<=b:
print('a'*b)
else:
print('b'*a) | a,b=map(int,input().split())
if a<=b:
print(str(a)*b)
else:
print(str(b)*a)
| [
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 595,411 | 595,412 | u350093546 | python |
p02790 | a,b = input().split()
ab=''
ba=''
for i in range(int(b)):
ab += a
for i in range(int(a)):
ba += b
l = [ab,ba]
sorted(l)
print(l[0]) | a,b = input().split()
ab=''
ba=''
for i in range(int(b)):
ab += a
for i in range(int(a)):
ba += b
l = [ab,ba]
ll = sorted(l)
print(ll[0]) | [
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 595,413 | 595,414 | u571832343 | python |
p02790 | # -*- coding: utf-8 -*-
a,b = list(map(int, input().split()))
print(max(str(a)*b, str(b)*a)) | # -*- coding: utf-8 -*-
a,b = list(map(int, input().split()))
print(min(str(a)*b, str(b)*a)) | [
"misc.opposites",
"identifier.change",
"call.function.change",
"call.arguments.change",
"io.output.change"
] | 595,417 | 595,418 | u687574784 | python |
p02790 | a,b=map(int,input().split())
c=min(a,b)
d=max(a,b)
e=""
for i in range(d):
e+=str(d)
print(e+"\n") | a,b=map(int,input().split())
c=min(a,b)
d=max(a,b)
e=""
for i in range(d):
e+=str(c)
print(e+"\n") | [
"identifier.change",
"call.arguments.change"
] | 595,419 | 595,420 | u223504018 | python |
p02790 | num = list(map(int, input().split()))
if num[0] == num[1]:
max = num[0]
min = num[1]
else:
max = max(num[0],num[1])
min = min(num[0],num[1])
print(str(max)*min) | num = list(map(int, input().split()))
if num[0] == num[1]:
max = num[0]
min = num[1]
else:
max = max(num[0],num[1])
min = min(num[0],num[1])
print(str(min)*max) | [
"expression.operation.binary.remove",
"call.arguments.add"
] | 595,424 | 595,425 | u683956577 | python |
p02790 | a, b = input().split()
print(a * int(b) if a * int(b) > b * int(a) else b * int(a))
| a, b = input().split()
print(a * int(b) if a * int(b) < b * int(a) else b * int(a))
| [
"misc.opposites",
"expression.operator.compare.change",
"call.arguments.change",
"io.output.change"
] | 595,446 | 595,447 | u702208001 | python |
p02790 | a,b = map(int, input().split())
for i in range(max(a,b)):
print(min(a,b))
| a,b = map(int, input().split())
for i in range(max(a,b)):
print(min(a,b), end="")
| [
"call.arguments.add"
] | 595,448 | 595,449 | u589047182 | python |
p02790 | a, b = map(int, input().split())
if a == b:
print(str(a) * 7)
elif a > b:
print(str(b) * a)
else:
print(str(a) * b) | a, b = map(int, input().split())
if a == b:
print(str(a) * a)
elif a > b:
print(str(b) * a)
else:
print(str(a) * b) | [
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 595,450 | 595,451 | u174181999 | python |
p02790 | a, b = map(int, input().split())
s1 = "a" *b
s2 = "b" *a
if s1 < s2:
print(s1)
else:
print(s2) | a, b = map(int, input().split())
s1 = str(a) *b
s2 = str(b) *a
if s1 < s2:
print(s1)
else:
print(s2) | [
"assignment.value.change",
"expression.operation.binary.change",
"call.arguments.change"
] | 595,456 | 595,457 | u006880673 | python |
p02790 | a,b=map(int,input().split())
c=str("a")*b
d=str("b")*a
if a>=b:
print(d)
else:
print(c)
| a,b=map(int,input().split())
c=str(a)*b
d=str(b)*a
if a>=b:
print(d)
else:
print(c)
| [
"call.arguments.change"
] | 595,460 | 595,461 | u366886346 | python |
p02790 | n,m=map(int,input().split())
if n>m:
print(str(m)*n)
else:
print(str(n)*n) | n,m=map(int,input().split())
if n>m:
print(str(m)*n)
else:
print(str(n)*m) | [
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 595,487 | 595,488 | u440608859 | python |
p02790 | a,b=list(map(int,input().split()))
A=B=''
for i in range(b+1):
A=A+str(a)
for i in range(a+1):
B=B+str(b)
print(int(min(A,B)))
| a,b=list(map(int,input().split()))
A=B=''
for i in range(b):
A=A+str(a)
for i in range(a):
B=B+str(b)
print((min(A,B)))
| [
"expression.operation.binary.remove",
"call.arguments.change"
] | 595,500 | 595,501 | u464205401 | python |
p02790 | a,b=list(map(int,input().split()))
A=B=''
for i in range(b+1):
A=A+str(a)
for i in range(a+1):
B=B+str(b)
print(str(min(A,B))) | a,b=list(map(int,input().split()))
A=B=''
for i in range(b):
A=A+str(a)
for i in range(a):
B=B+str(b)
print((min(A,B)))
| [
"expression.operation.binary.remove",
"call.arguments.change"
] | 595,502 | 595,501 | u464205401 | python |
p02790 | a,b=list(map(int,input().split()))
A=B=''
for i in range(b+1):
A=A+str(a)
for i in range(a+1):
B=B+str(b)
print(min(A,B)) | a,b=list(map(int,input().split()))
A=B=''
for i in range(b):
A=A+str(a)
for i in range(a):
B=B+str(b)
print((min(A,B)))
| [
"expression.operation.binary.remove",
"call.arguments.change"
] | 595,503 | 595,501 | u464205401 | python |
p02790 | '''
INPUT SHORTCUTS
N, K = map(int,input().split())
N ,A,B = map(int,input().split())
string = str(input())
arr = list(map(int,input().split()))
N = int(input())
'''
a, b = map(int,input().split())
res = ''
if a<=b:
for _ in range(b):
res += 'a'
else:
for _ in range(a):
res += 'b'
print(res) | '''
INPUT SHORTCUTS
N, K = map(int,input().split())
N ,A,B = map(int,input().split())
string = str(input())
arr = list(map(int,input().split()))
N = int(input())
'''
a, b = map(int,input().split())
res = ''
if a<=b:
for _ in range(b):
res += str(a)
else:
for _ in range(a):
res += str(b)
print(res) | [
"call.arguments.change"
] | 595,508 | 595,509 | u691446391 | python |
p02790 | a=input()
b=input()
pre=a*int(b)
post=b*int(a)
print(pre if pre<=post else post) | a, b = input().split()
pre=a*int(b)
post=b*int(a)
print(pre if pre<=post else post) | [
"assignment.variable.change",
"call.remove",
"call.add"
] | 595,510 | 595,511 | u378691508 | python |
p02790 | a, b = map(int, input().split())
ss = []
ss.append(str(a) * b)
ss.append(str(b) * a)
print(sorted(ss))
| a, b = map(int, input().split())
ss = []
ss.append(str(a) * b)
ss.append(str(b) * a)
print(sorted(ss)[0]) | [] | 595,519 | 595,520 | u873839198 | python |
p02790 | #!/usr/bin/env python3
import sys
def solve(a: int, b: int):
if a>b:
print("".join(str(b)*a))
else:
print("".join(str(b)*a))
return
# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools (tips: You use the default template now. You can remove this line by using your custom ... | #!/usr/bin/env python3
import sys
def solve(a: int, b: int):
if a>b:
print("".join(str(b)*a))
else:
print("".join(str(a)*b))
return
# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools (tips: You use the default template now. You can remove this line by using your custom ... | [
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 595,528 | 595,529 | u915879510 | python |
p02790 | a,b=map(int, input().split())
ans = ""
for i in range(max([a,b])):
ans = ans + min([a,b])
print(ans) | a,b=map(int, input().split())
ans = ""
for i in range(max([a,b])):
ans = ans + str(min([a,b]))
print(ans) | [
"call.add",
"call.arguments.change"
] | 595,534 | 595,535 | u252964975 | python |
p02790 | a, b = map(int, input().split())
a= min(a,b)
b= max(a,b)
print(str(a)*b) | a, b = map(int, input().split())
x= min(a,b)
y= max(a,b)
print(str(x)*y) | [
"assignment.variable.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 595,536 | 595,537 | u142211940 | python |
p02790 | a,b=map(int,input().split())
if a>b:
for i in range(b):
print(a,end="")
elif a==b:
for i in range(b):
print(a,end="")
elif a<b:
for i in range(a):
print(b,end="") | a,b=map(int,input().split())
if a<b:
for i in range(b):
print(a,end="")
elif a==b:
for i in range(b):
print(a,end="")
elif a>b:
for i in range(a):
print(b,end="") | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 595,538 | 595,539 | u372670441 | python |
p02790 | a,b=map(int,input().split())
if a>=b:
print("b"*a)
else:
print("a"*b) | a,b=map(int,input().split())
if a>=b:
print(str(b)*a)
else:
print(str(a)*b) | [
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 595,548 | 595,549 | u440161695 | python |
p02790 | a,b=map(int,input().split())
if a>=b:
print(b*a)
else:
print(a*b) | a,b=map(int,input().split())
if a>=b:
print(str(b)*a)
else:
print(str(a)*b) | [
"call.add",
"call.arguments.change"
] | 595,562 | 595,563 | u917444023 | python |
p02790 | a,b = map(input().split())
ast = a * int(b)
bst = b * int(a)
print(ast if ast < bst else bst) | a,b = input().split()
ast = a * int(b)
bst = b * int(a)
print(ast if ast < bst else bst) | [
"call.remove",
"call.arguments.change"
] | 595,566 | 595,567 | u330661451 | python |
p02790 | a,b=map(int,open(0));print(str(min(a,b))*max(a,b))
| a,b = map(int, input().split())
print(str(min(a,b))*max(a,b)) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change",
"call.add"
] | 595,568 | 595,569 | u086503932 | python |
p02790 | a, b = map(int, input().split())
A = ''.join([str(a)] * a)
B = ''.join([str(b)] * b)
if A <= B:
print(A)
else:
print(B) | a, b = map(int, input().split())
A = ''.join([str(a)] * b)
B = ''.join([str(b)] * a)
if A <= B:
print(A)
else:
print(B) | [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 595,571 | 595,572 | u392319141 | python |
p02790 | a,b = input().split()
a_ = a * int(a)
b_ = b * int(b)
moji = sorted([a_ ,b_])
print(moji[0]) | a,b = input().split()
a_ = a * int(b)
b_ = b * int(a)
moji = sorted([a_ ,b_])
print(moji[0]) | [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 595,584 | 595,585 | u573234244 | python |
p02790 | a,b = input().split()
a_ = a * int(a)
b_ = b * int(b)
moji = sorted([a_ ,b_])
print(mojj[0]) | a,b = input().split()
a_ = a * int(b)
b_ = b * int(a)
moji = sorted([a_ ,b_])
print(moji[0]) | [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 595,586 | 595,585 | u573234244 | python |
p02790 | a, b = map(int, input().split())
ans = ""
if a < b:
for i in range(b):
ans += str(a)
elif b < a:
for i in range(a):
ans += str(b)
print(ans) | a, b = map(int, input().split())
ans = ""
if a <= b:
for i in range(b):
ans += str(a)
elif b < a:
for i in range(a):
ans += str(b)
print(ans) | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 595,591 | 595,592 | u856564576 | python |
p02790 | input_line=input().rstrip().slpit()
num1 = int(input_line[0])
num2 = int(input_line[1])
if (num1 > num2):
print(str(num2)*num1)
elif (num1 < num2):
print(str(num1)*num2)
elif (num1 == num2):
print(str(num1)*num2) | input_line=input().rstrip().split()
num1 = int(input_line[0])
num2 = int(input_line[1])
if (num1 > num2):
print(str(num2)*num1)
elif (num1 < num2):
print(str(num1)*num2)
elif (num1 == num2):
print(str(num1)*num2) | [
"assignment.value.change",
"identifier.change"
] | 595,596 | 595,597 | u926073965 | python |
p02790 | a_str, b_str = input.split()
a, b = int(a_str), int(b_str)
A = a_str*b
B = b_str*a
print(min(A, B)) | a_str, b_str = input().split()
a = int(a_str)
b = int(b_str)
A = a_str*b
B = b_str*a
print(min(A, B)) | [
"call.add",
"assignment.variable.change"
] | 595,604 | 595,605 | u309120194 | python |
p02790 | a,b=input().split()
c = str(a)**b
d = str(b)**a
if a<b:
print(c)
else:
print(d) | a,b=input().split()
c = str(a)*int(b)
d = str(b)*int(a)
if a<b:
print(c)
else:
print(d) | [
"assignment.value.change",
"expression.operation.binary.change",
"call.add",
"call.arguments.change"
] | 595,624 | 595,625 | u620846115 | python |
p02790 | a,b=input().split()
A=int(a)
B=int(b)
aa=a
bb=b
for i in range(B-1):
aa+=a
for j in range(A-1):
bb+=b
if int(aa) >= int(bb):
print(bb)
else:
print(aa) | a,b=input().split()
A=int(a)
B=int(b)
aa=a
bb=b
for i in range(B-1):
aa+=a
for j in range(A-1):
bb+=b
if aa >= bb:
print(bb)
else:
print(aa) | [
"call.remove",
"control_flow.branch.if.condition.change"
] | 595,628 | 595,629 | u977982384 | python |
p02790 | a, b = map(int, input().split())
if(a >= b):
print(str(a) * b)
else:
print(str(b) * a)
| a, b = map(int, input().split())
if(a <= b):
print(str(a) * b)
else:
print(str(b) * a)
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 595,630 | 595,631 | u327240208 | python |
p02790 | a, b = map(int, input().split())
print(str(a)*b if a>=b else str(b)*a) | a, b = map(int, input().split())
print(str(a)*b if a<=b else str(b)*a)
| [
"misc.opposites",
"expression.operator.compare.change",
"call.arguments.change",
"io.output.change"
] | 595,632 | 595,633 | u539367121 | python |
p02790 | n, m = input().split()
if n*int(m) > m*int(n):
print(n*int(m))
else:
print(m*int(n)) | n, m = input().split()
if n*int(m) < m*int(n):
print(n*int(m))
else:
print(m*int(n))
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 595,638 | 595,639 | u652081898 | python |
p02790 | a, b = map(int, input().split())
A = int(str(a)**b)
B = int(str(b)**a)
if A >= B:
print(A)
else:
print(B) | a, b = map(int, input().split())
A = int(str(a)*b)
B = int(str(b)*a)
if A >= B:
print(A)
else:
print(B)
| [
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 595,642 | 595,643 | u870518235 | python |
p02790 | a, b = map(int, input().split())
if a < b:
print(b*a)
else:
print(a*b) | a, b = map(int, input().split())
if a < b:
print(b*str(a))
else:
print(a*str(b)) | [
"call.add",
"call.arguments.change"
] | 595,647 | 595,648 | u975517333 | python |
p02790 | #スペース区切りの整数の入力
A, B = map(int, input().split())
ans = ""
if(A>B):
for i in range(A):
ans = ans + B
else:
for i in range(B):
ans = ans + A
print(ans) | #スペース区切りの整数の入力
A, B = map(int, input().split())
ans = ""
if(A>B):
for i in range(A):
ans = ans + str(B)
else:
for i in range(B):
ans = ans + str(A)
print(ans)
| [
"call.add",
"call.arguments.change"
] | 595,660 | 595,661 | u964521959 | python |
p02790 | A,B = map(int,input().split())
if A >= B :
out = str(A) * B
else:
out = str(B) * A
print(out)
| A,B = map(int,input().split())
if A <= B :
out = str(A) * B
else:
out = str(B) * A
print(out)
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 595,662 | 595,663 | u267029978 | python |
p02790 | a, b = map(int, input().split())
c = max(a, b)
d = min(a, b)
ans = str(c)*d
print(ans) | a, b = map(int, input().split())
c = max(a, b)
d = min(a, b)
ans = str(d)*c
print(ans) | [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 595,664 | 595,665 | u779073299 | python |
p02790 | a,b=map(str,input().split())
if a>=b:
print(b*a)
elif b>=a:
print(a*b)
| a,b=map(str,input().split())
if a>=b:
print(b*int(a))
elif b>=a:
print(a*int(b)) | [
"call.add",
"call.arguments.change"
] | 595,672 | 595,673 | u204260373 | python |
p02790 | A,B = map(str,input().split())
AB = A * int(B)
BA = B * int(A)
if A >= B:
print(AB)
elif A < B:
print(BA) | A,B = map(str,input().split())
AB = A * int(B)
BA = B * int(A)
if A <= B:
print(AB)
elif A > B:
print(BA)
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 595,676 | 595,677 | u562015767 | python |
p02790 | A,B = map(str,input().split())
AB = A * int(B)
BA = B * int(A)
if A >= B:
print(AB)
else:
print(BA) | A,B = map(str,input().split())
AB = A * int(B)
BA = B * int(A)
if A <= B:
print(AB)
elif A > B:
print(BA)
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 595,678 | 595,677 | u562015767 | python |
p02790 | A,B = map(str,input().split())
AB = A * int(B)
BA = B * int(A)
if A > B:
print(AB)
elif A < B:
print(BA)
else:
print(AB) | A,B = map(str,input().split())
AB = A * int(B)
BA = B * int(A)
if A < B:
print(AB)
elif A > B:
print(BA)
else:
print(AB) | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 595,679 | 595,680 | u562015767 | python |
p02790 | a,b = map(str, input().split())
x=a*int(b)
y=b*int(a)
keta=min(len(x),len(y))
if int(x[:3]) > int(y[:3]):
print(y)
elif int(x[:3]) < int(y[:3]):
print(x)
else:
print(x) | a,b = map(str, input().split())
x=a*int(b)
y=b*int(a)
keta=min(len(x),len(y))
if int(x[:keta]) > int(y[:keta]):
print(y)
elif int(x[:keta]) < int(y[:keta]):
print(x)
else:
print(x) | [
"identifier.replace.add",
"literal.replace.remove",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 595,691 | 595,692 | u680851063 | python |
p02790 | a,b = map(int,input().split())
print(str(max(a,b))*min(a,b)) | a,b = map(int,input().split())
print(str(min(a,b))*max(a,b)) | [
"expression.operation.binary.remove",
"call.arguments.add"
] | 595,711 | 595,712 | u934868410 | python |
p02790 | a = list(map(str, input().split()))
if a[0] >= a[1]:
print(a[0] * int(a[1]))
else:
print(a[1] * int(a[0])) | a = list(map(str, input().split()))
if a[0] <= a[1]:
print(a[0] * int(a[1]))
else:
print(a[1] * int(a[0])) | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 595,730 | 595,731 | u300457253 | python |
p02790 | M, N = map(int, input().split())
if M > N:
body = N
numm = M
else:
body = M
numm = N
ret = ''
for i in numm:
ret += str(body)
print(ret) | M, N = map(int, input().split())
if M > N:
body = N
numm = M
else:
body = M
numm = N
ret = ''
for i in range(numm):
ret += str(body)
print(ret) | [
"call.add",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 595,732 | 595,733 | u303739137 | python |
p02790 | ab = input().split(' ')
print(max(ab[0]*int(ab[1]), ab[1]*int(ab[0]))) | ab = input().split(' ')
print(min(ab[0]*int(ab[1]), ab[1]*int(ab[0]))) | [
"misc.opposites",
"identifier.change",
"call.function.change",
"call.arguments.change",
"io.output.change"
] | 595,734 | 595,735 | u114233208 | python |
p02790 | a,b = map(int,input().split())
numlist = []
if a > b:
for i in range(a):
numlist.append(str(a))
else:
for i in range(b):
numlist.append(str(b))
print("".join(numlist)) | a,b = map(int,input().split())
numlist = []
if b > a:
for i in range(b):
numlist.append(str(a))
else:
for i in range(a):
numlist.append(str(b))
print("".join(numlist)) | [
"control_flow.branch.if.condition.change",
"identifier.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 595,737 | 595,738 | u969211566 | python |
p02790 | a, b = map(int,input().split())
if a >= b:
print('b'*a)
else:
print('a'*b) | a, b = map(int,input().split())
if a >= b:
print(str(b)*a)
else:
print(str(a)*b)
| [
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 595,743 | 595,744 | u944643608 | python |
p02790 | a,b = input().split()
A = a*int(b)
B = b*int(a)
if A > B:
print(A)
elif A < B:
print(B)
else:
print(A) | a,b = input().split()
A = a*int(b)
B = b*int(a)
if A > B:
print(B)
elif A < B:
print(A)
else:
print(A)
| [
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 595,755 | 595,756 | u877428733 | python |
p02790 | a, b = map(int, input().split())
for i in range(min(a, b)):
print(max(a, b), end='')
| a, b = map(int, input().split())
for i in range(max(a, b)):
print(min(a, b), end='')
| [
"misc.opposites",
"identifier.change",
"call.function.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"io.output.change"
] | 595,772 | 595,773 | u207799478 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.