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())
l=[]
l.append(a)
l.append(b)
if '1' not in l:
print(1)
elif '2' not in l:
print(2)
else:
print(3) | a=int(input())
b=int(input())
l=[]
l.append(a)
l.append(b)
if 1 not in l:
print(1)
elif 2 not in l:
print(2)
else:
print(3)
| [
"control_flow.branch.if.condition.change"
] | 629,488 | 629,489 | u422977492 | python |
p02829 | S=set(int(input())for i in range(2))
print({1,2,3}-S) | S=set(int(input())for i in range(2))
print(list({1,2,3}-S)[0]) | [
"call.arguments.add"
] | 629,498 | 629,499 | u729119068 | python |
p02829 | a=int(input())
b=int(input())
s=[1,2,3]
s.remove(a)
s.remove(b)
print(s)
| a=int(input())
b=int(input())
s=[1,2,3]
s.remove(a)
s.remove(b)
print(s[0])
| [] | 629,505 | 629,506 | u437351386 | python |
p02829 | a = int(input())
b = int(input())
if a == 2 and b == 3 or b == 3 and a == 2:
print('1')
elif a == 1 and b == 2 or b == 1 and a == 2:
print('3')
else:
print('2')
| a = int(input())
b = int(input())
if a == 2 and b == 3 or b == 2 and a == 3:
print('1')
elif a == 1 and b == 2 or b == 1 and a == 2:
print('3')
else:
print('2')
| [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 629,511 | 629,512 | u409500730 | python |
p02829 | a = int(input())
b = int(input())
if a == 1:
if b == 2:
print(3)
else:
print(2)
if a == 2:
if b == 1:
print(3)
else:
print(1)
if a == 3:
if b == 1:
print(2)
else:
printj(1) | a = int(input())
b = int(input())
if a == 1:
if b == 2:
print(3)
else:
print(2)
if a == 2:
if b == 1:
print(3)
else:
print(1)
if a == 3:
if b == 1:
print(2)
else:
print(1) | [
"identifier.change",
"call.function.change",
"io.output.change"
] | 629,513 | 629,514 | u380669795 | python |
p02829 | ans = [1,2,3]
a = int(input())
b = int(input())
ans.remove(a)
ans.remove(b)
print(ans) | ans = [1,2,3]
a = int(input())
b = int(input())
ans.remove(a)
ans.remove(b)
print(ans[0]) | [] | 629,517 | 629,518 | u085329544 | python |
p02829 | A = int(input())
B = int(input())
L = A + B
print(5 - L) | A = int(input())
B = int(input())
L = A + B
print(5 - L + 1) | [
"expression.operation.binary.add"
] | 629,523 | 629,524 | u051496905 | 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 or b == 3):
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 or b == 2):
print(1) | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 629,533 | 629,534 | u794544096 | python |
p02829 | A=int(input())
B=int(input())
c=[1,2,3]
c.remove(A)
c.remove(B)
print(c) | A=int(input())
B=int(input())
c=[1,2,3]
c.remove(A)
c.remove(B)
print(c[0]) | [] | 629,539 | 629,540 | u038819082 | python |
p02829 | A = int(input())
B = int(input())
if A == 1 and B == 2:
print(3)
elif A == 1 and B == 3:
print(2)
elif A == 2 and B == 1:
print(3)
elif A == 2 and B == 3:
print(1)
elif A == 3 and B == 1:
print(2)
else:
print(3)
| A = int(input())
B = int(input())
if A == 1 and B == 2:
print(3)
elif A == 1 and B == 3:
print(2)
elif A == 2 and B == 1:
print(3)
elif A == 2 and B == 3:
print(1)
elif A == 3 and B == 1:
print(2)
else:
print(1)
| [
"literal.number.integer.change",
"call.arguments.change",
"io.output.change"
] | 629,541 | 629,542 | u685244071 | python |
p02829 | a=int(input())
b=int(input())
abc=[1,2,3]
abc.pop(a)
abc.pop(b)
print(abc[0])
| a=int(input())
b=int(input())
abc=[1,2,3]
abc.remove(a)
abc.remove(b)
print(abc[0]) | [
"identifier.change"
] | 629,543 | 629,544 | u905793676 | python |
p02829 | a = int(input());b = int(input())
ans = [1, 2, 3].delete(a).delete(b)
print(ans[0]) | a = int(input()); b=int(input())
ans = [1, 2, 3]
ans.remove(a)
ans.remove(b)
print(ans[0]) | [
"identifier.change"
] | 629,545 | 629,546 | u595952233 | python |
p02829 | A=input()
B=input()
print((6-A-B)) | A=int(input())
B=int(input())
print((6-A-B)) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 629,551 | 629,552 | u663089555 | python |
p02829 | a=input()
b=input()
l=[1,2,3]
l.remove(a)
l.remove(b)
ans=l[0]
print(ans) | a=int(input())
b=int(input())
l=[1,2,3]
l.remove(a)
l.remove(b)
ans=l[0]
print(ans) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 629,559 | 629,560 | u823585596 | python |
p02829 | A = int(input())
B = int(input())
for i in range(1,3):
if i != A and i != B:
print(i) | A = int(input())
B = int(input())
for i in range(1,4):
if i != A and i != B:
print(i) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 629,567 | 629,568 | u178079174 | python |
p02829 | A = int(input())
B = int(input())
for i in range (1, 4):
if i != A != B:
print(i) | A = int(input())
B = int(input())
for i in range (1, 4):
if i != A and i != B:
print(i)
break
| [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change",
"control_flow.break.add"
] | 629,571 | 629,572 | u331997680 | python |
p02829 | a=int(input())
b=int(input())
c=a+b
if c==3:
print("2")
elif c==4:
print("3")
else:
print("1") | a=int(input())
b=int(input())
c=a+b
if c==3:
print("3")
elif c==4:
print("2")
else:
print("1") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 629,577 | 629,578 | u039189422 | python |
p02829 | A = int(input())
B = int(input())
if A != B != 1:
print(1)
elif A != B != 2:
print(2)
else:
print(3) |
A = int(input())
B = int(input())
if A != 1 and B != 1:
print(1)
elif A != 2 and B != 2:
print(2)
else:
print(3) | [
"control_flow.branch.if.condition.change"
] | 629,583 | 629,584 | u581603131 | python |
p02829 | a=input()
b=input()
print(6-a-b) | a=int(input())
b=int(input())
print(6-a-b) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 629,585 | 629,586 | u235066013 | python |
p02829 | a = input()
b = input()
print(6-a-b)
| a = int(input())
b = int(input())
print(6-a-b)
| [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 629,594 | 629,595 | u796044734 | python |
p02829 | icase=0
if icase==0:
a=input()
b=input()
print(6-a-b)
| icase=0
if icase==0:
a=int(input())
b=int(input())
print(6-a-b)
| [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 629,604 | 629,605 | u576432509 | python |
p02829 | a=int(input())
b=int(input())
for i in range(1,3):
if i!=a and i!=b:
print(i) | a=int(input())
b=int(input())
for i in range(1,4):
if i!=a and i!=b:
print(i) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 629,608 | 629,609 | u324326379 | python |
p02829 | a = {1, 2, 3}
a.remove(int(input()))
a.remove(int(input()))
print(list(a)[2]) | val = {1, 2, 3}
val.remove(int(input()))
val.remove(int(input()))
print(list(val)[0]) | [
"assignment.variable.change",
"identifier.change",
"call.arguments.change",
"io.output.change",
"literal.number.integer.change",
"variable_access.subscript.index.change"
] | 629,610 | 629,611 | u201802797 | python |
p02829 | print(6-input()-input()) | print(6-int(input())-int(input())) | [
"identifier.change",
"call.function.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change",
"expression.operation.binary.remove",
"call.arguments.add"
] | 629,630 | 629,631 | u084320347 | python |
p02829 | a = int(input())
b = int(input())
List = {a, b}
if List == {1, 2}:
print(3)
if List == {2, 3}:
print(1)
if List == {3, 1}:
print(1)
| a = int(input())
b = int(input())
List = {a, b}
if List == {1, 2}:
print(3)
if List == {2, 3}:
print(1)
if List == {3, 1}:
print(2) | [
"literal.number.integer.change",
"call.arguments.change",
"io.output.change"
] | 629,632 | 629,633 | u289547799 | python |
p02829 | a_list=[1,2,3]
p,q= input().split()
a_list.remove(int(p))
a_list.remove(int(q))
print(a_list[0]) | a_list=[1,2,3]
p= input()
q=input()
a_list.remove(int(p))
a_list.remove(int(q))
print(a_list[0]) | [
"call.add",
"call.remove"
] | 629,636 | 629,637 | u224554402 | python |
p02829 | A = int(input())
B = int(input())
print(6-a-b)
| a = int(input())
b = int(input())
print(6-a-b)
| [
"assignment.variable.change",
"identifier.change"
] | 629,638 | 629,639 | u214936751 | python |
p02829 | A = int(input())
B = int(input())
for i in range(1,3):
if i != A and i != B:
print(i)
exit(0) | A = int(input())
B = int(input())
for i in range(1,4):
if i != A and i != B:
print(i) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"call.remove"
] | 629,749 | 629,750 | u699944218 | python |
p02829 | A = input()
B = input()
A = int(A)
B = int(B)
if A+B == 3:
ans = 3
elif A+B == 4:
ans == 2
elif A+B == 5:
ans == 1
print(ans) | A = input()
B = input()
A = int(A)
B = int(B)
if A+B == 3:
ans = 3
elif A+B == 4:
ans = 2
elif A+B == 5:
ans = 1
print(ans) | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 629,755 | 629,756 | u098165618 | python |
p02829 | A = input()
B = input()
A = int(A)
B = int(B)
if A+B == 3:
ans = 3
elif A+B == 4:
ans == 2
elif A+B == 5:
ans == 1 | A = input()
B = input()
A = int(A)
B = int(B)
if A+B == 3:
ans = 3
elif A+B == 4:
ans = 2
elif A+B == 5:
ans = 1
print(ans) | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo",
"call.add"
] | 629,757 | 629,756 | u098165618 | python |
p02829 | #a,b,c = map(int,input().split())
a = input()
b = input()
print(6-a-b)
| #a,b,c = map(int,input().split())
a = int(input())
b = int(input())
print(6-a-b)
| [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 629,760 | 629,761 | u765758367 | python |
p02829 | # -*- coding: utf-8 -*-
#############
# Libraries #
#############
import sys
input = sys.stdin.readline
import math
from collections import deque
from math import gcd
from functools import lru_cache
#############
# Constants #
#############
MOD = 10**9 +7
INF = float('inf')
#############
# Functions #
##########... | # -*- coding: utf-8 -*-
#############
# Libraries #
#############
import sys
input = sys.stdin.readline
import math
from collections import deque
from math import gcd
from functools import lru_cache
#############
# Constants #
#############
MOD = 10**9 +7
INF = float('inf')
#############
# Functions #
##########... | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 629,762 | 629,763 | u493130708 | python |
p02829 | ans = 6
for _ in range(2):
a = int(input())
ans += a
print(6 - ans) | ans = 0
for _ in range(2):
a = int(input())
ans += a
print(6 - ans) | [
"literal.number.integer.change",
"assignment.value.change"
] | 629,768 | 629,769 | u096616343 | python |
p02829 | ans = 6
for _ in rangr(2):
a = int(input())
ans += a
print(6 - ans) | ans = 0
for _ in range(2):
a = int(input())
ans += a
print(6 - ans) | [
"literal.number.integer.change",
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 629,770 | 629,769 | u096616343 | python |
p02829 | a = int(input())
b = int(input())
for i in (1,4):
if i not in [1,2,3]:
print(i) | a = int(input())
b = int(input())
for i in range(1,4):
if i not in [a, b]:
print(i) | [
"call.add",
"control_flow.loop.range.bounds.upper.change",
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 629,781 | 629,782 | u793868662 | python |
p02829 | a=int(input())
b=int(input())
list={a,b}
for i in range(1,3):
if i in list:
continue
else:
print(i) | a=int(input())
b=int(input())
list={a,b}
for i in range(1,4):
if i in list:
continue
else:
print(i) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 629,785 | 629,786 | u857330600 | python |
p02829 | n=int(input())
t=int(input())
print(3-n-t) | n=int(input())
t=int(input())
print(6-n-t) | [
"literal.number.integer.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 629,787 | 629,788 | u972416449 | python |
p02829 | a = int(input())
b = int(input())
print(1 if a!=1 and b!=1 else 2 if a!=1 and b!=1 else 3) | a = int(input())
b = int(input())
print(1 if a!=1 and b!=1 else 2 if a!=2 and b!=2 else 3) | [
"literal.number.integer.change",
"call.arguments.change",
"io.output.change"
] | 629,789 | 629,790 | u771167374 | python |
p02829 | A = int(input())
B = int(input())
ans = [1, 2, 3]
ans.pop(A)
ans.pop(B)
print(ans[0]) | A = int(input())
B = int(input())
ans = [1, 2, 3]
ans.remove(A)
ans.remove(B)
print(ans[0]) | [
"identifier.change"
] | 629,791 | 629,792 | u025501820 | python |
p02829 | a = int(input())
b = int(input())
al = [1,2,3]
remain = al.remove(a)
remain = al.remove(b)
print(remain[0])
| a = int(input())
b = int(input())
al = [1,2,3]
al.remove(a)
al.remove(b)
print(al[0])
| [
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 629,793 | 629,794 | u752522099 | python |
p02829 | A=int(input())
B=int(input())
L=[1,2,3]
L.remove(A)
L.remove(B)
print(L)
| A=int(input())
B=int(input())
L=[1,2,3]
L.remove(A)
L.remove(B)
print(L[0])
| [] | 629,797 | 629,798 | u216888678 | python |
p02829 | A=map(int,input())
B=map(int,input())
C=6-A-B
print(C) | A=int(input())
B=int(input())
C=6-A-B
print(C) | [
"call.remove",
"assignment.value.change",
"call.arguments.change"
] | 629,825 | 629,826 | u530883476 | python |
p02829 | A = int(input())
B = int(input())
ans = [1, 2, 3]
for i in ans:
if A == i:
ans.remove(i)
if B == i:
ans.remove(i)
print(ans[0])
| A = int(input())
B = int(input())
ans = [1, 2, 3]
for i in range(3):
if A == i:
ans.remove(i)
if B == i:
ans.remove(i)
print(ans[0])
| [
"call.arguments.add"
] | 629,827 | 629,828 | u670942818 | python |
p02829 | A=int(input())
B=int(input())
list[1,2,3]
list.remove(A)
list.remove(B)
print(list[0]) | A=int(input())
B=int(input())
list=[1,2,3]
list.remove(A)
list.remove(B)
print(list[0]) | [] | 629,829 | 629,830 | u718411265 | python |
p02829 | import sys
read=sys.stdin.buffer.read
A,B=map(int,read().split())
l=[1,2,3]
res = filter(lambda x:x!=A and x!=B, l)
print(res) | import sys
read=sys.stdin.buffer.read
A,B=map(int,read().split())
l=[1,2,3]
res = filter(lambda x:x!=A and x!=B, l)
print(next(res))
| [
"call.arguments.add",
"call.arguments.change"
] | 629,839 | 629,840 | u607729897 | python |
p02829 | A = input()
B = input()
print(6 - A - B)
| A = int(input())
B = int(input())
print(6 - A - B)
| [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 629,863 | 629,864 | u183200783 | python |
p02829 | A = int(input())
B = int(input())
C = [1,2,3]
C.remove(A)
C.remove(B)
print(C) | A = int(input())
B = int(input())
C = [1,2,3]
C.remove(A)
C.remove(B)
print(C[0]) | [] | 629,869 | 629,870 | u442877951 | python |
p02829 | i = [input() for i in range(2)]
if 1 not in i:
print("1")
elif 2 not in i:
print("2")
else:
print("3") | i = [int(input()) for i in range(2)]
if 1 not in i:
print("1")
elif 2 not in i:
print("2")
else:
print("3") | [
"call.add",
"call.arguments.change"
] | 629,877 | 629,878 | u919902859 | python |
p02829 | import sys
row = sys.stdin.readline
def read_int(row):
return int(row().rstrip())
A,B= [read_int(row) for i in range(2)]
print((set({1,2,3}) - set({1,2})).pop()) | import sys
row = sys.stdin.readline
def read_int(row):
return int(row().rstrip())
A,B= [read_int(row) for i in range(2)]
print((set({1,2,3}) - set({A,B})).pop()) | [
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"expression.operation.binary.change"
] | 629,881 | 629,882 | u274262034 | python |
p02829 | a = int(input())
b = int(input())
if a!=1 or b!=1:
print(1)
elif a!=2 or b!=2:
print(2)
else:
print(3)
| a = int(input())
b = int(input())
if a!=1 and b!=1:
print(1)
elif a!=2 and b!=2:
print(2)
else:
print(3) | [
"control_flow.branch.if.condition.change"
] | 629,888 | 629,889 | u451625046 | python |
p02829 | a = int(input())
b = int(input())
if a!=1 & b!=1:
print(1)
elif a!=2 & b!=2:
print(2)
else:
print(3) | a = int(input())
b = int(input())
if a!=1 and b!=1:
print(1)
elif a!=2 and b!=2:
print(2)
else:
print(3) | [
"control_flow.branch.if.condition.change"
] | 629,890 | 629,889 | u451625046 | python |
p02829 | A = int(input())
B = int(input())
print((set(range(1, 3 + 1)) - {A, B})[0]) | A = int(input())
B = int(input())
print(list(set(range(1, 3 + 1)) - {A, B})[0]) | [
"call.add",
"call.arguments.change"
] | 629,895 | 629,896 | u537859408 | python |
p02829 | n=int(input())
k=int(input())
print(6-n+k) | n=int(input())
k=int(input())
print(6-(n+k))
| [
"call.arguments.change"
] | 629,897 | 629,898 | u309753263 | python |
p02829 | print(6-int(input)-int(input)) | print(6-int(input())-int(input()))
| [
"call.add"
] | 629,901 | 629,902 | u547167033 | python |
p02829 | a = input()
b = input()
print(6 - a - b) | a = int(input())
b = int(input())
print(6 - a - b) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 629,905 | 629,906 | u072717685 | python |
p02829 | a=int(input())
b=int(input())
for i in range(4):
if i!=a and i!=b:
print(i)
| a=int(input())
b=int(input())
for i in range(1,4):
if i!=a and i!=b:
print(i)
| [
"call.arguments.add"
] | 629,918 | 629,919 | u628965061 | python |
p02829 | A = int(input())
B = int(input())
print(5-A-B) #和から誤答を引けば正答 | A = int(input())
B = int(input())
print(6-A-B) #和から誤答を引けば正答 | [
"literal.number.integer.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 629,927 | 629,928 | u699089116 | python |
p02829 | a = input("A")
b = input("B")
a = int(a)
b = int(b)
print(6-a-b) | a = input("")
b = input("")
a = int(a)
b = int(b)
print(6-a-b) | [
"literal.string.change",
"assignment.value.change",
"call.arguments.change"
] | 629,929 | 629,930 | u134441612 | python |
p02829 | a = int(input())
b = int(input())
print(6 - a + b) | a = int(input())
b = int(input())
print(6-a-b) | [
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 629,931 | 629,932 | u734603233 | python |
p02829 | a=int(input())
b=int(input())
print(6-a+b) | a=int(input())
b=int(input())
print(6-(a+b)) | [
"call.arguments.change"
] | 629,939 | 629,940 | u380284234 | python |
p02829 | a = int(input())
b = int(input())
print(6-a+b) | a=int(input())
b=int(input())
print(6-(a+b)) | [
"call.arguments.change"
] | 629,941 | 629,940 | u380284234 | python |
p02829 | a = list(int(input()))
a.append(int(input()))
for i in range(1,4):
if not(i in a):
print(i) | a = []
a.append(int(input()))
a.append(int(input()))
for i in range(1,4):
if not(i in a):
print(i) | [
"assignment.value.change"
] | 629,942 | 629,943 | u626468554 | python |
p02829 | A = input()
B = input()
print (6-A-B) | A = input()
B = input()
print(6-int(A)-int(B)) | [
"call.add",
"call.arguments.change"
] | 629,946 | 629,947 | u574590381 | python |
p02829 | #usr/bin/python3
a, b = input().split()
print(6-int(a)-int(b)) | #usr/bin/python3
a = input()
b = input()
print(6-int(a)-int(b)) | [
"call.add",
"call.remove"
] | 629,948 | 629,949 | u775681539 | 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"
] | 629,952 | 629,953 | u478132434 | 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"
] | 629,954 | 629,955 | u412832702 | python |
p02829 | a = int(input())
b = int(input())
ans = [i+1 for i in range(3) if i+1 not in [a,b]]
print(ans)
| a = int(input())
b = int(input())
ans = [i+1 for i in range(3) if i+1 not in [a,b]][0]
print(ans) | [] | 629,962 | 629,963 | u519123891 | python |
p02829 | print(6-int(input())+int(input())) | print(6-(int(input())+int(input()))) | [
"call.arguments.change"
] | 629,964 | 629,965 | u887924592 | python |
p02829 | A=int(input())
B=int(input())
if A==1 and B==2:
print(3)
elif A==2 and B==3:
print(1)
elif A==3 and B==1:
print(2)
elif A==1 and B==3:
print(2)
elif A==3 and B==1:
print(1)
else:
print(3) | A=int(input())
B=int(input())
if A==1 and B==2:
print(3)
elif A==2 and B==3:
print(1)
elif A==3 and B==1:
print(2)
elif A==1 and B==3:
print(2)
elif A==3 and B==2:
print(1)
else:
print(3) | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 629,966 | 629,967 | u144203608 | python |
p02829 | a = int(input())
b = int(input())
mul = int(a*b)
if mul == 2: print(3)
elif mul == 3: print(2)
else: print(6) | a = int(input())
b = int(input())
mul = int(a*b)
if mul == 2: print(3)
elif mul == 3: print(2)
else: print(1) | [
"literal.number.integer.change",
"call.arguments.change",
"io.output.change"
] | 629,971 | 629,972 | u454524105 | python |
p02829 | a=int(input())
b=int(input())
if a==1:
if b==2:
print(3)
else:
print(2)
elif a==2:
if b==1:
print(3)
else:
print(1)
else:
if a==1:
print(2)
else:
print(1) | a=int(input())
b=int(input())
if a==1:
if b==2:
print(3)
else:
print(2)
elif a==2:
if b==1:
print(3)
else:
print(1)
else:
if b==1:
print(2)
else:
print(1) | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 629,982 | 629,983 | u071916806 | python |
p02829 | from sys import stdin
A = int(stdin.readline().rstrip())
B = int(stdin.readline().rstrip())
if A == 1:
if B == 2:
print(3)
exit()
else:
print(2)
exit()
elif A == 2:
if B == 1:
print(3)
exit()
else:
print(1)
exit()
else:
if B == 1:
... | from sys import stdin
A = int(stdin.readline().rstrip())
B = int(stdin.readline().rstrip())
if A == 1:
if B == 2:
print(3)
exit()
else:
print(2)
exit()
elif A == 2:
if B == 1:
print(3)
exit()
else:
print(1)
exit()
else:
if B == 1:
... | [
"literal.number.integer.change",
"call.arguments.change",
"io.output.change"
] | 629,985 | 629,986 | u973744316 | python |
p02829 | A=int(input())
B=int(input())
l=[1,2,3]
l.remove(A)
l.remove(B)
int(l[0]) | A=int(input())
B=int(input())
l=[1,2,3]
l.remove(A)
l.remove(B)
print(int(l[0])) | [
"call.add",
"call.arguments.change"
] | 629,989 | 629,990 | u007299532 | python |
p02829 | A=int(input())
B=int(input())
s={1,2,3}
s.discard(A)
s.discard(B)
int(s.pop()) | A=int(input())
B=int(input())
s={1,2,3}
s.discard(A)
s.discard(B)
print(int(s.pop()))
| [
"call.add",
"call.arguments.change"
] | 629,991 | 629,992 | u007299532 | python |
p02829 | A=int(input())
B=int(input())
s={1,2,3}
s.discard(A)
s.discard(B)
s.pop() | A=int(input())
B=int(input())
s={1,2,3}
s.discard(A)
s.discard(B)
print(int(s.pop()))
| [
"call.add",
"call.arguments.add"
] | 629,993 | 629,992 | u007299532 | python |
p02829 | a=input()
b=input()
if a!=3 and b!=3:
print(3)
elif a!=2 and b!=2:
print(2)
else:
print(1) | a=int(input())
b=int(input())
if a!=3 and b!=3:
print(3)
elif a!=2 and b!=2:
print(2)
else:
print(1) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 629,994 | 629,995 | u800507623 | python |
p02829 | a=int(input())
b=int(input())
Z=[1,2,3]
Z.remove(a)
Z.remove(b)
print(Z)
| a=int(input())
b=int(input())
Z=[1,2,3]
Z.remove(a)
Z.remove(b)
print(Z[0])
| [] | 630,007 | 630,008 | u495863042 | python |
p02829 | a = int(input())
b = int(input())
for i in range(1, 4):
if i != a or i != b:
print(i) | a = int(input())
b = int(input())
for i in range(1, 4):
if i != a and i != b:
print(i) | [
"control_flow.branch.if.condition.change"
] | 630,009 | 630,010 | u314585898 | python |
p02829 | a, b = map(int, [input() for i in range(2)])
result = 6-a-b
return result | a, b = map(int, [input() for i in range(2)])
result = 6-a-b
print(result)
| [
"function.return_value.change",
"call.arguments.change"
] | 630,016 | 630,017 | u749640763 | python |
p02829 | ans = [1, 2, 3]
ans.romove(int(input()))
ans.romove(int(input()))
print(ans) | ans = [1, 2, 3]
ans.remove(int(input()))
ans.remove(int(input()))
print(ans.pop()) | [
"identifier.change",
"call.add",
"call.arguments.change"
] | 630,020 | 630,021 | u437860615 | python |
p02829 | #入力
a=input()
b=input()
#選別
print(6-a-b)
| a=int(input())
b=int(input())
print(6-a-b)
| [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 630,024 | 630,025 | u737825380 | python |
p02829 | l=[1,2,3]
a=int(input())
l.remove(a)
b=int(input())
l.remove(b)
print(l) | l=[1,2,3]
a=int(input())
l.remove(a)
b=int(input())
l.remove(b)
print(l[0]) | [] | 630,028 | 630,029 | u345483150 | python |
p02829 | a=int(input())
b=int(input())
c=[1,2,3]
c.remove(a)
c.remove(b)
print(c) | a=int(input())
b=int(input())
c=[1,2,3]
c.remove(a)
c.remove(b)
print(c[0]) | [] | 630,030 | 630,031 | u357230322 | python |
p02829 | a = input()
b = input()
ans = 6-a-b
print(ans)
| a = int(input())
b = int(input())
ans = 6-a-b
print(ans)
| [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 630,034 | 630,035 | u373882216 | python |
p02829 | a = it(input())
b = int(input())
if a > b:
if a-1 == b and b > 1:
print(a-b)
elif a-1 == b:
print(a+1)
else:
print(a-1)
else:
if b-1 == a and a > 1:
print(b-a)
elif b-1 == a:
print(b+1)
else:
print(b-1)
| a = int(input())
b = int(input())
if a > b:
if a-1 == b and b > 1:
print(a-b)
elif a-1 == b:
print(a+1)
else:
print(a-1)
else:
if b-1 == a and a > 1:
print(b-a)
elif b-1 == a:
print(b+1)
else:
print(b-1) | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 630,045 | 630,046 | u878545651 | python |
p02829 | A = input()
B = input()
print(6 - A - B) | A = int(input())
B = int(input())
print(6 - A - B) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 630,049 | 630,050 | u895536055 | python |
p02829 | a = input()
b = input()
if a+b==3:
print("3")
elif a+b==4:
print("2")
else:
print("1") | a = int(input())
b = int(input())
if a+b==3:
print("3")
elif a+b==4:
print("2")
else:
print("1") | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 630,051 | 630,052 | u608277538 | python |
p02829 | a = int(input())
b = int(input())
ans = {1, 2, 3}
not_ans = {a, b}
z = ans.difference(not_ans)
print(z) | a = int(input())
b = int(input())
ans = {1, 2, 3}
not_ans = {a, b}
for data in ans.difference(not_ans):
print(data) | [
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 630,053 | 630,054 | u041529470 | python |
p02829 | A = int(input())
B = int(input())
for i in range(3):
if (i != A) and (i != B):
print(i) | A = int(input())
B = int(input())
for i in range(1,4):
if (i != A) and (i != B):
print(i) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"call.arguments.add"
] | 630,070 | 630,071 | u857698093 | python |
p02829 | a = input()
b = input()
if (a != 1 and b != 1):
print(1)
elif (a != 2 and b != 2):
print(2)
else:
print(3) | a = int(input())
b = int(input())
if (a != 1 and b != 1):
print(1)
elif (a != 2 and b != 2):
print(2)
else:
print(3) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 630,077 | 630,078 | u458801986 | python |
p02829 | a=input()
b=input()
c=a+b
if c==3:
print(3)
elif c==4:
print(2)
else:
print(1) | a=int(input())
b=int(input())
c=a+b
if c==3:
print(3)
elif c==4:
print(2)
else:
print(1) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 630,120 | 630,121 | u852988862 | python |
p02829 | A=int(input())
B=int(input())
C=list(range(1,4))
C.pop(A)
C.pop(B)
print(C[0]) | A=int(input())
B=int(input())
C=list(range(1,4))
C.remove(A)
C.remove(B)
print(C[0]) | [
"identifier.change"
] | 630,132 | 630,133 | u255943004 | 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,142 | 630,143 | u668923019 | python |
p02829 | a=int(input())
b=int(input())
if a==1 and b==2:
print(3)
if a==2 and b==1:
print(3)
elif a>b:
print(a-b)
else:
print(b-a) | a=int(input())
b=int(input())
if a==1 and b==2:
print(3)
elif a==2 and b==1:
print(3)
elif a>b:
print(a-b)
else:
print(b-a) | [
"control_flow.branch.if.replace.remove",
"control_flow.branch.else_if.replace.add"
] | 630,144 | 630,145 | u071700442 | python |
p02829 | #!/usr/bin/env python3
from collections import defaultdict, deque
from heapq import heappush, heappop
from bisect import bisect_left, bisect_right
import sys
import random
import itertools
import math
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
sqrt = math.sqrt
def LI(): return list(map(int, input().split... | #!/usr/bin/env python3
from collections import defaultdict, deque
from heapq import heappush, heappop
from bisect import bisect_left, bisect_right
import sys
import random
import itertools
import math
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
sqrt = math.sqrt
def LI(): return list(map(int, input().split... | [
"literal.number.integer.change",
"assignment.value.change"
] | 630,146 | 630,147 | u423585790 | python |
p02829 | prirt(int(input())^int(input()))
| print(int(input())^int(input()))
| [
"identifier.change",
"call.function.change"
] | 630,152 | 630,153 | u057079894 | python |
p02829 | A = int(input())
B = int(input())
pirnt(6-A-B)
| A = int(input())
B = int(input())
print(6-A-B)
| [
"identifier.change",
"call.function.change"
] | 630,157 | 630,158 | u216136179 | python |
p02829 | q = [0,1,2]
A = int(input())
B = int(input())
q.remove(A)
q.remove(B)
print(q[0])
| q = [1,2,3]
A = int(input())
B = int(input())
q.remove(A)
q.remove(B)
print(q[0])
| [] | 630,159 | 630,160 | u048320062 | python |
p02829 | l=[1,2,3]
for i in range(2):
l.remove(int(input))
print(l[0]) | l=[1,2,3]
for i in range(2):
l.remove(int(input()))
print(l[0]) | [
"call.add"
] | 630,165 | 630,166 | u733738237 | python |
p02829 | a = int(input())
b = int(input())
for i in [1,2,3]:
if i 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",
"call.arguments.change",
"io.output.change"
] | 630,185 | 630,186 | u521866787 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.