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 |
|---|---|---|---|---|---|---|---|
p02687 | S = input()
if s == 'ABC':
print("ARC")
elif s == 'ARC':
print('ABC') | S = input()
if S == 'ABC':
print("ARC")
elif S == 'ARC':
print('ABC') | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 417,950 | 417,951 | u342062419 | python |
p02687 | x=input()
print('ABC' if x == 'ARC' else 'ABC') | x=input()
print('ABC' if x == 'ARC' else 'ARC') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 417,954 | 417,955 | u535258729 | python |
p02687 | x=input()
print('ABC' if x == 'ABC' else 'ARC') | x=input()
print('ABC' if x == 'ARC' else 'ARC') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 417,956 | 417,955 | u535258729 | python |
p02687 | s = str(input())
if s == ABC:
print('ARC')
else:
if s == ARC:
print('ABC') | s = str(input())
if s == 'ABC':
print('ARC')
else:
if s == 'ARC':
print('ABC') | [
"control_flow.branch.if.condition.change"
] | 417,974 | 417,975 | u287660527 | python |
p02687 | S = input()
if S == 'ABC':
print ('ARC')
else:
print('ARC') | S = input()
if S == 'ABC':
print ('ARC')
else:
print('ABC') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 417,976 | 417,977 | u960956996 | python |
p02687 | printt('ARC' if input()=='ABC' else 'ABC') | print('ARC' if input()=='ABC' else 'ABC') | [
"identifier.change",
"call.function.change",
"io.output.change"
] | 417,978 | 417,979 | u060793972 | python |
p02687 | s=str(input())
if s=="ABC":
print("ARC")
else:
print("ARC")
| s=str(input())
if s=="ABC":
print("ARC")
else:
print("ABC")
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 417,980 | 417,981 | u313111801 | python |
p02687 | # A - A?C
S = int(input())
if S=='ABC':
print('ARC')
else:
print('ABC') | # A - A?C
S = input()
if S=='ABC':
print('ARC')
else:
print('ABC') | [
"call.remove",
"call.arguments.change"
] | 417,984 | 417,985 | u980205854 | python |
p02687 | a = ["ABC","ARC"]
print(a[input() == "ARC"]) | a = ["ABC","ARC"]
print(a[input() == "ABC"])
| [
"literal.string.change",
"variable_access.subscript.index.change",
"call.arguments.change",
"io.output.change"
] | 417,988 | 417,989 | u283929013 | python |
p02687 | a=input()
if a=="ABC":
print("ABC")
if a=="ARC":
print("ARC") | a=input()
if a=="ARC":
print("ABC")
if a=="ABC":
print("ARC") | [
"literal.string.change",
"control_flow.branch.if.condition.change"
] | 417,996 | 417,997 | u388703798 | python |
p02687 | s = input()
output = "ABC"
if s == output:
output = "ARC"
print(s) | s = input()
output = "ABC"
if s == output:
output = "ARC"
print(output) | [
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 418,016 | 418,017 | u745861782 | python |
p02687 | if S == 'ABC':
S = 'ARC'
else:
S = 'ABC'
print(S) | S = input()
if S == 'ABC':
S = 'ARC'
else:
S = 'ABC'
print(S) | [
"assignment.add"
] | 418,020 | 418,021 | u650932312 | python |
p02687 | N=input()
print("ABC" if S=="ARC" else "ARC")
| N=input()
print("ABC" if N=="ARC" else "ARC")
| [
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 418,037 | 418,038 | u199356004 | python |
p02686 | # **************************************************************************** #
# #
# __ __ .____ .__ __. ____ #
# F-bracketSequencing.py | | | || _ \ | \/ | / | ... | # **************************************************************************** #
# #
# __ __ .____ .__ __. ____ #
# F-bracketSequencing.py | | | || _ \ | \/ | / | ... | [] | 418,056 | 418,057 | u144540235 | python |
p02686 | N = int(input())
memo1 = []
memo2 = []
memo3 = []
memo4 = []
for i in range(N):
S = input()
sum_n = sum([1 if s=='(' else -1 for s in S])
if sum_n >= 0:
sum_n = 0
min_n = 1
for s in S:
if s == ')':
sum_n -= 1
min_n = min(min_n, sum_n)
else:
sum_n += 1
if min_n ... | N = int(input())
memo1 = []
memo2 = []
memo3 = []
memo4 = []
for i in range(N):
S = input()
sum_n = sum([1 if s=='(' else -1 for s in S])
if sum_n >= 0:
sum_n = 0
min_n = 1
for s in S:
if s == ')':
sum_n -= 1
min_n = min(min_n, sum_n)
else:
sum_n += 1
if min_n ... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 418,080 | 418,081 | u922449550 | python |
p02686 | import sys
n = int(input())
ss =[]
for _ in range(n):
ss.apend(input())
cnt_p = []
cnt_m = []
for i in range(n):
left = 0
right = 0
for s in ss[i]:
if(s == '('):
left += 1
elif(s == ')'):
if(left > 0):
left -= 1
else:
ri... | import sys
n = int(input())
ss =[]
for _ in range(n):
ss.append(input())
cnt_p = []
cnt_m = []
for i in range(n):
left = 0
right = 0
for s in ss[i]:
if(s == '('):
left += 1
elif(s == ')'):
if(left > 0):
left -= 1
else:
r... | [
"identifier.change"
] | 418,111 | 418,112 | u349091349 | python |
p02686 | N = int(input())
s = [input() for i in range(N)]
S = [[0]*len(s[i]) for i in range(N)]
for i, x in enumerate(s):
res = []
q = 0
for j in range(len(x)):
if x[j] == ')':
S[i][j] = -1
else:
S[i][j] = 1
s = [0]*N
m = [len(S[i]) for i in range(N)]
for i, x in enumerate(S):... | N = int(input())
s = [input() for i in range(N)]
S = [[0]*len(s[i]) for i in range(N)]
for i, x in enumerate(s):
res = []
q = 0
for j in range(len(x)):
if x[j] == ')':
S[i][j] = -1
else:
S[i][j] = 1
s = [0]*N
m = [len(S[i]) for i in range(N)]
for i, x in enumerate(S):... | [
"identifier.change"
] | 418,122 | 418,123 | u814986259 | python |
p02686 | N = int(input())
s = [input() for i in range(N)]
S = [[0]*len(s[i]) for i in range(N)]
for i, x in enumerate(s):
res = []
q = 0
for j in range(len(x)):
if x[j] == ')':
S[i][j] = -1
else:
S[i][j] = 1
s = [0]*N
m = [len(S[i]) for i in range(N)]
for i, x in enumerate(S):... | N = int(input())
s = [input() for i in range(N)]
S = [[0]*len(s[i]) for i in range(N)]
for i, x in enumerate(s):
res = []
q = 0
for j in range(len(x)):
if x[j] == ')':
S[i][j] = -1
else:
S[i][j] = 1
s = [0]*N
m = [len(S[i]) for i in range(N)]
for i, x in enumerate(S):... | [
"identifier.change"
] | 418,124 | 418,123 | u814986259 | python |
p02686 | def check(pt, brackets):
brackets.sort(reverse=True)
for m, t in brackets:
if pt + m < 0:
return False
pt += t
return pt
n = int(input())
brackets_p = [] # (始めを0として、( = +1, ) = -1 として、最後はいくつか, 途中の最小値はいくつか)
brackets_m = []
pt = 0
mt = 0
for _ in range(n):
s = input()
to... | def check(pt, brackets):
brackets.sort(reverse=True)
for m, t in brackets:
if pt + m < 0:
return -1
pt += t
return pt
n = int(input())
brackets_p = [] # (始めを0として、( = +1, ) = -1 として、最後はいくつか, 途中の最小値はいくつか)
brackets_m = []
pt = 0
mt = 0
for _ in range(n):
s = input()
total... | [
"function.return_value.change",
"expression.operation.unary.add",
"control_flow.branch.if.condition.change"
] | 418,135 | 418,136 | u340781749 | python |
p02686 | import sys
input = sys.stdin.readline
N = int(input())
S = [input()[:-1] for _ in range(N)]
high = []
low = []
for i in range(N):
cnt = 0
m = 0
for j in range(len(S[i])):
if S[i][j] == "(":
cnt += 1
else:
cnt -= 1
m = min(m, cnt)
if cnt > 0:
high.... | import sys
input = sys.stdin.readline
N = int(input())
S = [input()[:-1] for _ in range(N)]
high = []
low = []
for i in range(N):
cnt = 0
m = 0
for j in range(len(S[i])):
if S[i][j] == "(":
cnt += 1
else:
cnt -= 1
m = min(m, cnt)
if cnt > 0:
high.... | [
"call.arguments.keyword_argument.add"
] | 418,149 | 418,150 | u135346354 | python |
p02686 | import sys
input=sys.stdin.readline
def count(s):
m=0
e=0
for t in s:
if t=='(':
e+=1
else:
e-=1
m=min(m,e)
return (e,m)
def count_reverse(s):
m=0
e=0
for t in s:
if t==')':
e+=1
else:
e-=1
m=min... | import sys
input=sys.stdin.readline
def count(s):
m=0
e=0
for t in s:
if t=='(':
e+=1
else:
e-=1
m=min(m,e)
return (e,m)
def count_reverse(s):
m=0
e=0
for t in s[::-1]:
if t==')':
e+=1
else:
e-=1
... | [] | 418,167 | 418,168 | u766684188 | python |
p02686 | def main():
## IMPORT MODULE
#import sys
#sys.setrecursionlimit(100000)
#input=lambda :sys.stdin.readline().rstrip()
#f_inf=float("inf")
#MOD=10**9+7
if 'get_ipython' in globals():
## SAMPLE INPUT
n = 4
S = ['((()))', '((((((', '))))))', '()()()']
else:
## INPUT
n = int(input... | def main():
## IMPORT MODULE
#import sys
#sys.setrecursionlimit(100000)
#input=lambda :sys.stdin.readline().rstrip()
#f_inf=float("inf")
#MOD=10**9+7
if 'get_ipython' in globals():
## SAMPLE INPUT
n = 4
S = ['((()))', '((((((', '))))))', '()()()']
else:
## INPUT
n = int(input... | [] | 418,199 | 418,200 | u968404618 | python |
p02686 | def main():
## IMPORT MODULE
#import sys
#sys.setrecursionlimit(100000)
#input=lambda :sys.stdin.readline().rstrip()
#f_inf=float("inf")
#MOD=10**9+7
if 'get_ipython' in globals():
## SAMPLE INPUT
n = 4
S= ['((()))', '((((((', '))))))', '()()()']
else:
##INPUT
n = int(input()... | def main():
## IMPORT MODULE
#import sys
#sys.setrecursionlimit(100000)
#input=lambda :sys.stdin.readline().rstrip()
#f_inf=float("inf")
#MOD=10**9+7
if 'get_ipython' in globals():
## SAMPLE INPUT
n = 4
S = ['((()))', '((((((', '))))))', '()()()']
else:
## INPUT
n = int(input... | [] | 418,201 | 418,200 | u968404618 | python |
p02686 | def main():
## IMPORT MODULE
#import sys
#sys.setrecursionlimit(100000)
#input=lambda :sys.stdin.readline().rstrip()
#f_inf=float("inf")
#MOD=10**9+7
if 'get_ipython' in globals():
## SAMPLE INPUT
n = 4
S= ['((()))', '((((((', '))))))', '()()()']
else:
##INPUT
n = input()
... | def main():
## IMPORT MODULE
#import sys
#sys.setrecursionlimit(100000)
#input=lambda :sys.stdin.readline().rstrip()
#f_inf=float("inf")
#MOD=10**9+7
if 'get_ipython' in globals():
## SAMPLE INPUT
n = 4
S = ['((()))', '((((((', '))))))', '()()()']
else:
## INPUT
n = int(input... | [
"call.add",
"call.arguments.change"
] | 418,202 | 418,200 | u968404618 | python |
p02686 | import sys
n=int(input())
jsum=0
gjlist=[]
ejlist=[]
esum=0
def jouka(t):
global jsum
global gjlist
global ejlist
global esum
tmpj=0
tmpe=0
for i in range(len(t)):
if t[i] == "(":
tmpj += 1
else:
if tmpj == 0:
tmpe +=1
else:
tmpj -=1
if tmpe == 0:
jsum += tmpj
elif tmpj == 0:
e... | import sys
n=int(input())
jsum=0
gjlist=[]
ejlist=[]
esum=0
def jouka(t):
global jsum
global gjlist
global ejlist
global esum
tmpj=0
tmpe=0
for i in range(len(t)):
if t[i] == "(":
tmpj += 1
else:
if tmpj == 0:
tmpe +=1
else:
tmpj -=1
if tmpe == 0:
jsum += tmpj
elif tmpj == 0:
e... | [
"identifier.change",
"expression.operation.binary.change"
] | 418,205 | 418,206 | u485979475 | python |
p02686 | import sys
sys.setrecursionlimit(10**7)
INTMAX = 9223372036854775807
INTMIN = -9223372036854775808
DVSR = 1000000007
def POW(x, y): return pow(x, y, DVSR)
def INV(x, d=DVSR): return pow(x, d - 2, d)
def DIV(x, y, d=DVSR): return (x * INV(y, d)) % d
def LI(): return [int(x) for x in input().split()]
def LF(): return [fl... | import sys
sys.setrecursionlimit(10**7)
INTMAX = 9223372036854775807
INTMIN = -9223372036854775808
DVSR = 1000000007
def POW(x, y): return pow(x, y, DVSR)
def INV(x, d=DVSR): return pow(x, d - 2, d)
def DIV(x, y, d=DVSR): return (x * INV(y, d)) % d
def LI(): return [int(x) for x in input().split()]
def LF(): return [fl... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 418,222 | 418,223 | u895515293 | python |
p02686 | from itertools import chain
N = int(input())
zenhan = []
kouhan = []
for _ in range(N):
si = input()
last = 0
low = last
high = last
for s in si:
if s == "(":
last += 1
else:
last -= 1
low = min(low, last)
high = max(high, last)
if high + ... | from itertools import chain
N = int(input())
zenhan = []
kouhan = []
for _ in range(N):
si = input()
last = 0
low = last
high = last
for s in si:
if s == "(":
last += 1
else:
last -= 1
low = min(low, last)
high = max(high, last)
if last >=... | [
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 418,269 | 418,268 | u839188633 | python |
p02686 | import sys
input = sys.stdin.readline
N = int(input())
S = [input()[:-1] for _ in range(N)]
rl1, rl2 = [], []
for Si in S:
l, r = 0, 0
for i in range(len(Si)):
if Si[i]=='(':
l += 1
else:
if l==0:
r += 1
else:
l -= 1
... | import sys
input = sys.stdin.readline
N = int(input())
S = [input()[:-1] for _ in range(N)]
rl1, rl2 = [], []
for Si in S:
l, r = 0, 0
for i in range(len(Si)):
if Si[i]=='(':
l += 1
else:
if l==0:
r += 1
else:
l -= 1
... | [
"call.arguments.change"
] | 418,285 | 418,286 | u047796752 | python |
p02686 | # +1/-1の折れ線で表したとき
# 「0で終わる」かつ「途中で0未満にならない」を満たせば良い
# あとは貪欲を上手い事使う
def main():
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**7)
from collections import Counter, deque
from itertools import combinations, permutations, accumulate, groupby, product
from bisect import bisect_left,... | # +1/-1の折れ線で表したとき
# 「0で終わる」かつ「途中で0未満にならない」を満たせば良い
# あとは貪欲を上手い事使う
def main():
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**7)
from collections import Counter, deque
from itertools import combinations, permutations, accumulate, groupby, product
from bisect import bisect_left,... | [] | 418,294 | 418,295 | u863442865 | python |
p02686 | # +1/-1の折れ線で表したとき
# 「0で終わる」かつ「途中で0未満にならない」を満たせば良い
# あとは貪欲を上手い事使う
def main():
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**7)
from collections import Counter, deque
from itertools import combinations, permutations, accumulate, groupby, product
from bisect import bisect_left,... | # +1/-1の折れ線で表したとき
# 「0で終わる」かつ「途中で0未満にならない」を満たせば良い
# あとは貪欲を上手い事使う
def main():
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**7)
from collections import Counter, deque
from itertools import combinations, permutations, accumulate, groupby, product
from bisect import bisect_left,... | [
"identifier.change"
] | 418,296 | 418,295 | u863442865 | python |
p02686 | n = int(input())
s = []
for i in range(n):
s.append(input())
ls = []
rs = []
tot = 0
for si in s:
b = 0
h = 0
for c in si:
if c == '(':
h += 1
else:
h -= 1
b = min(h,b)
if h > 0:
ls.append((b,h))
else:
rs.append((b-h,-h))
tot += h
ls.sort(reverse = True)
rs.sort(reverse = ... | n = int(input())
s = []
for i in range(n):
s.append(input())
ls = []
rs = []
tot = 0
for si in s:
b = 0
h = 0
for c in si:
if c == '(':
h += 1
else:
h -= 1
b = min(h,b)
if h > 0:
ls.append((b,h))
else:
rs.append((b-h,-h))
tot += h
ls.sort(reverse = True)
rs.sort(reverse = ... | [
"identifier.change"
] | 418,321 | 418,322 | u009348313 | python |
p02686 | n=int(input())
s=[0]*n
info=[0]*n
for i in range(n):
ss=list(input())
now=0
mi=0
for sss in ss:
if sss=="(":
now+=1
else:
now-=1
mi=min(mi,now)
info[i]=(mi,now)
#info.sort(key=lambda x:(x[1]>=0)*2+(x[0]>=0),reverse=True )
info0 = []
info1 = []
for... | n=int(input())
s=[0]*n
info=[0]*n
for i in range(n):
ss=list(input())
now=0
mi=0
for sss in ss:
if sss=="(":
now+=1
else:
now-=1
mi=min(mi,now)
info[i]=(mi,now)
#info.sort(key=lambda x:(x[1]>=0)*2+(x[0]>=0),reverse=True )
info0 = []
info1 = []
for... | [
"call.arguments.add"
] | 418,327 | 418,328 | u586759271 | python |
p02686 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
sys.setrecursionlimit(10**7)
from pprint import pprint as pp
from pprint import pformat as pf
# @pysnooper.snoop()
#import pysnooper # debug
import math
#from sortedcontainers import SortedList, SortedDict, SortedSet # no in atcoder
import bisect
class Part:
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
sys.setrecursionlimit(10**7)
from pprint import pprint as pp
from pprint import pformat as pf
# @pysnooper.snoop()
#import pysnooper # debug
import math
#from sortedcontainers import SortedList, SortedDict, SortedSet # no in atcoder
import bisect
class Part:
... | [
"identifier.change"
] | 418,351 | 418,352 | u060894033 | python |
p02686 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
sys.setrecursionlimit(10**7)
from pprint import pprint as pp
from pprint import pformat as pf
# @pysnooper.snoop()
#import pysnooper # debug
import math
#from sortedcontainers import SortedList, SortedDict, SortedSet # no in atcoder
import bisect
class Part:
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
sys.setrecursionlimit(10**7)
from pprint import pprint as pp
from pprint import pformat as pf
# @pysnooper.snoop()
#import pysnooper # debug
import math
#from sortedcontainers import SortedList, SortedDict, SortedSet # no in atcoder
import bisect
class Part:
... | [
"control_flow.branch.if.condition.change",
"identifier.change"
] | 418,353 | 418,352 | u060894033 | python |
p02687 | import sys
#import cython
def main():
read = lambda: sys.stdin.readline().rstrip()
#N: cython.longlong = 0
N = read()
print("ABC" if N[1]=="B" else "ARC")
if __name__ == "__main__":
main() | import sys
#import cython
def main():
read = lambda: sys.stdin.readline().rstrip()
#N: cython.longlong = 0
N = read()
print("ABC" if N[1]=="R" else "ARC")
if __name__ == "__main__":
main() | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 418,412 | 418,413 | u591295155 | python |
p02687 | a= input()
if a == "ABC":
print("ARC")
else:
print("ARC") | a= input()
if a == "ABC":
print("ARC")
else:
print("ABC") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 418,419 | 418,420 | u717762991 | python |
p02687 | s = input()
if s[1] == "B":
print("R")
else:
print("B")
| s = input()
if s[1] == "B":
print("ARC")
else:
print("ABC")
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 418,431 | 418,432 | u444732068 | python |
p02687 | def main():
s = input()
if s == 'ABC':
print('ARC')
else:
print(s)
if __name__ == '__main__':
main() | def main():
s = input()
if s == 'ABC':
print('ARC')
else:
print('ABC')
if __name__ == '__main__':
main() | [
"call.arguments.change",
"io.output.change"
] | 418,435 | 418,434 | u243312682 | python |
p02687 | S = input()
if S == 'ABC':
print(ARC)
else:
print(ABC) | S = input()
if S == 'ABC':
print('ARC')
else:
print('ABC') | [
"call.arguments.change"
] | 418,438 | 418,439 | u289288647 | python |
p02687 | s = input()
print('ABC' if s == 'ARC' else 'ABC') | s = input()
print('ABC' if s == 'ARC' else 'ARC') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 418,445 | 418,446 | u015993380 | python |
p02687 | s=str(input())
if s[1]==B:
print('ARC')
else:
print('ABC') | s=str(input())
if s[1]=='B':
print('ARC')
else:
print('ABC') | [
"control_flow.branch.if.condition.change"
] | 418,449 | 418,450 | u095844416 | python |
p02687 | S = input()
if S[1] == 'R':
print('ARC')
else:
print('ABC') | S = input()
if S[1] == 'R':
print('ABC')
else:
print('ARC') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 418,451 | 418,452 | u193880030 | python |
p02687 | s = input()
if s is "ABC": print("ARC")
else: print("ABC")
| s = input()
if s == "ABC": print("ARC")
else: print("ABC")
| [
"control_flow.branch.if.condition.change"
] | 418,461 | 418,462 | u630281418 | python |
p02687 | import sys
readline = sys.stdin.readline
def main():
print("A" + ("R" if readline().rstrip()[1] == "B" else "R") + "C")
if __name__ == '__main__':
main()
| import sys
readline = sys.stdin.readline
def main():
print("A" + ("R" if readline().rstrip()[1] == "B" else "B") + "C")
if __name__ == '__main__':
main()
| [
"literal.string.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 418,473 | 418,474 | u395202850 | python |
p02687 | S = input()
if S=='ABC':
print('ARC')
else:
print('ARC') | S = input()
if S=='ABC':
print('ARC')
else:
print('ABC') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 418,478 | 418,479 | u506689504 | python |
p02687 | S=input()
if S is'ABC':
print('ARC')
else:
print('ABC') | s=input()
if s=='ABC':
print('ARC')
else:
print('ABC')
| [
"misc.typo",
"assignment.variable.change",
"identifier.change"
] | 418,482 | 418,483 | u373858851 | python |
p02687 | S = input()
if(S is 'ARC'):
print("ABC")
else:
print("ARC") | S = input()
if(S == 'ARC'):
print("ABC")
else:
print("ARC") | [
"control_flow.branch.if.condition.change"
] | 418,502 | 418,503 | u974896275 | python |
p02687 | s=input()
if s==ABC:
print('ARC')
elif s==ARC:
print('ABC')
| s=input()
if s=='ABC':
print('ARC')
elif s=='ARC':
print('ABC')
| [
"control_flow.branch.if.condition.change"
] | 418,504 | 418,505 | u350093546 | python |
p02687 | s=string(input())
print('ARC') if s=='ABC' else print('ABC') | s=input()
print('ARC') if s=='ABC' else print('ABC')
| [
"call.remove",
"call.arguments.change"
] | 418,549 | 418,550 | u422633119 | python |
p02687 | s = input()
print("ABC" if s=="ARC" else "ABC") | s = input()
print("ABC" if s=="ARC" else "ARC") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 418,553 | 418,554 | u189326411 | python |
p02687 | s=input()
if s == 'ARC':
print('ABC')
else:
print('ABC')
| s=input()
if s == 'ARC':
print('ABC')
else:
print('ARC')
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 418,555 | 418,556 | u590846632 | python |
p02687 | last_name = input()
last_type = last_name[:3]
if last_type == "ABC":
return "ARC"
else:
return "ABC" | last_name = input()
last_type = last_name[:3]
if last_type == "ABC":
print("ARC")
else:
print("ABC") | [
"function.return_value.change",
"call.arguments.change"
] | 418,590 | 418,591 | u029785897 | python |
p02687 | S = input()
print('ARC`' if S == 'ABC' else 'ABC')
| S = input()
print('ARC' if S == 'ABC' else 'ABC')
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 418,592 | 418,593 | u259755734 | python |
p02687 | S = input()
print('ARC`' if S == 'ABC' else 'ARC')
| S = input()
print('ARC' if S == 'ABC' else 'ABC')
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 418,594 | 418,593 | u259755734 | python |
p02687 | s=input()
if(s[1]=='B'):
print('ARC')
else:
print('ARC') | s=input()
if(s[1]=='B'):
print('ARC')
else:
print('ABC')
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 418,613 | 418,614 | u260291412 | python |
p02687 | str = input()
if str == "ABC":
print(ARC)
else:
print(ABC)
| str = input()
if str == "ABC":
print("ARC")
else:
print("ABC")
| [
"call.arguments.change"
] | 418,615 | 418,616 | u792243917 | python |
p02687 | S = input().split()
if S == 'ARC':
print('ABC')
else:
print('ARC') | S = input()
if S == 'ARC':
print('ABC')
else:
print('ARC') | [
"call.remove"
] | 418,626 | 418,627 | u326470887 | python |
p02687 | import sys
s = input()
if s == " ARC":
print("ABC")
else :
print("ARC")
| import sys
s = input()
if s == "ARC":
print("ABC")
else :
print("ARC")
| [
"literal.string.change",
"control_flow.branch.if.condition.change"
] | 418,637 | 418,638 | u576927476 | python |
p02687 | S = stdin.readline().rstrip()
if S == 'ABC':
print('ARC')
else:
print('ABC')
| from sys import stdin
S = stdin.readline().rstrip()
if S == 'ABC':
print('ARC')
else:
print('ABC') | [] | 418,655 | 418,656 | u948050032 | python |
p02687 | S == input()
if S[1] == 'R':
print('ABC')
else:
print('ARC') | S = input()
if S[1] == 'R':
print('ABC')
else:
print('ARC') | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 418,668 | 418,669 | u376591216 | python |
p02687 | s = input()
ans = "ABC" if s == "ARC" else s
print(ans) | s = input()
ans = "ABC" if s == "ARC" else "ARC"
print(ans)
| [
"assignment.value.change"
] | 418,678 | 418,679 | u897328029 | python |
p02687 | import sys
sys.setrecursionlimit(10 ** 7)
rl = sys.stdin.readline
def solve():
s = list(input())
a = ('ABC')
if s == a:
print('ARC')
else:
print('ABC')
if __name__ == '__main__':
solve()
| import sys
sys.setrecursionlimit(10 ** 7)
rl = sys.stdin.readline
def solve():
s = list(input())
a = list('ABC')
if s == a:
print('ARC')
exit()
else:
print('ABC')
if __name__ == '__main__':
solve()
| [
"call.add"
] | 418,688 | 418,689 | u736443076 | python |
p02687 | import sys
sys.setrecursionlimit(10 ** 7)
rl = sys.stdin.readline
def solve():
s = list(input())
a = ('ABC')
if s == a:
print('ARC')
exit()
else:
print('ABC')
if __name__ == '__main__':
solve()
| import sys
sys.setrecursionlimit(10 ** 7)
rl = sys.stdin.readline
def solve():
s = list(input())
a = list('ABC')
if s == a:
print('ARC')
exit()
else:
print('ABC')
if __name__ == '__main__':
solve()
| [
"call.add"
] | 418,690 | 418,689 | u736443076 | python |
p02687 | S = str(input())
if S == "ABC":
print("ARC")
else:
print("ARC") | S = str(input())
if S == "ABC":
print("ARC")
else:
print("ABC") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 418,697 | 418,698 | u268268624 | python |
p02687 | x=string(input())
if x=="ABC":
print("ARC")
else:
print("ABC") | x=input()
if x=="ABC":
print("ARC")
else:
print("ABC")
| [
"call.remove",
"call.arguments.change"
] | 418,708 | 418,707 | u629747832 | python |
p02687 | S = input()
if (S == 'ABC'):
print('ARC')
print('ABC') | S = input()
if(S == 'ABC'):
print('ARC')
else:
print('ABC')
| [] | 418,715 | 418,716 | u192797994 | python |
p02687 | contest= input()
if contest[1]=='B':
print("ARC")
elif contest[2]=='R':
print("ABC") | contest= input()
if contest[1]=='B':
print("ARC")
elif contest[1]=='R':
print("ABC") | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 418,726 | 418,727 | u132266749 | python |
p02687 | s = input("S : ")
if s == "ABC":
print('ARC')
elif s == "ARC":
print('ABC') | s = input()
if s == "ABC":
print('ARC')
elif s == "ARC":
print('ABC') | [] | 418,730 | 418,731 | u359752656 | python |
p02687 | a = raw_input()
if a == "ABC":
print("ARC")
elif a == "ARC":
print("ABC") | a = input()
if a == "ABC":
print("ARC")
elif a == "ARC":
print("ABC") | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 418,738 | 418,739 | u315121179 | python |
p02687 | x = input()
if x == ABC:
print('ARC')
else:
print('ABC') | x = input()
if x == 'ABC':
print('ARC')
else:
print('ABC') | [
"control_flow.branch.if.condition.change"
] | 418,747 | 418,748 | u849647454 | python |
p02687 | N=input()
def contest(N):
if N=="ABC":
return "ARC"
else:
return "ABC"
contest(N)
| N=input()
def contest(N):
if N=="ABC":
return "ARC"
else:
return "ABC"
print(contest(N)) | [
"call.add",
"call.arguments.change"
] | 418,764 | 418,765 | u296082800 | python |
p02687 | s = int(input())
if s =='ABC':
print('ARC')
else:
print('ABC') | s = input()
if s =='ABC':
print('ARC')
else:
print('ABC') | [
"call.remove",
"call.arguments.change"
] | 418,768 | 418,769 | u843318346 | python |
p02687 | S = str(input())
if S =="ABC":
print("ARC")
else:
print(S)
| S = str(input())
if S =="ABC":
print("ARC")
else:
print("ABC")
| [
"call.arguments.change",
"io.output.change"
] | 418,770 | 418,771 | u314089899 | python |
p02687 | s = input()
if s == 'ABC':
print('ABC')
if s == 'ARC':
print('ARC')
| s = input()
if s == 'ABC':
print('ARC')
if s == 'ARC':
print('ABC')
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 418,772 | 418,773 | u603843432 | python |
p02687 | import sys
input = sys.stdin.readline
def main():
S = input()
if S == 'ARC':
print("ABC")
else:
print("ARC")
if __name__ == '__main__':
main() | import sys
input = sys.stdin.readline
def main():
S = input().rstrip()
if S == 'ARC':
print("ABC")
else:
print("ARC")
if __name__ == '__main__':
main() | [
"call.add"
] | 418,782 | 418,783 | u538817603 | python |
p02687 | s=input()
if s=="ARC":
print("ABC")
else:
print("ABC") | s=input()
if s=="ARC":
print("ABC")
else:
print("ARC")
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 418,787 | 418,789 | u122428774 | python |
p02687 | S = str(input())
if S == 'ABC':
return 'ARC'
else:
return 'ABC' | S = str(input())
if S == 'ABC':
print('ARC')
else:
print('ABC') | [
"function.return_value.change",
"call.arguments.change"
] | 418,792 | 418,793 | u826557401 | python |
p02687 | S = input()
assert S == ("ABC" or "ARC"), "Sは、ABCまたはARCです"
if S == "ABC":
print("ARC")
else:
print("ABC") | S = input()
assert S == "ABC" or "ARC", "Sは、ABCまたはARCです"
if S == "ABC":
print("ARC")
else:
print("ABC")
| [] | 418,796 | 418,797 | u838959206 | python |
p02687 | S = input()
if(S == ABC):
print("ARC")
elif(S == ARC):
print("ABC")
| S = input()
if(S == "ABC"):
print("ARC")
elif(S == "ARC"):
print("ABC")
| [
"control_flow.branch.if.condition.change"
] | 418,798 | 418,799 | u858196335 | python |
p02687 | s = input()
if s[1] == "B":
print("ARC")
else:
print("ARC") | s = input()
if s[1] == "B":
print("ARC")
else:
print("ABC")
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 418,803 | 418,804 | u740284863 | python |
p02687 | a = input()[1]
print(f'A{"B" if a=="B" else "R"}C') | a = input()[1]
print(f'A{"R" if a=="B" else "B"}C')
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 418,807 | 418,808 | u409064224 | python |
p02687 | s=input()
if s=='ABC':
output='ARC'
else:
output='ARC'
print(output) | s=input()
if s=='ABC':
output='ARC'
else:
output='ABC'
print(output)
| [
"literal.string.change",
"assignment.value.change"
] | 418,842 | 418,843 | u642668851 | python |
p02687 | print('ABC') if input() == 'AGC' else print('AGC')
| print('ABC') if input() == 'ARC' else print('ARC')
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 418,870 | 418,871 | u530473641 | python |
p02687 | def nextweek(S):
if( S == "ABC"):
return "ARC"
else:
return "ABC"
S = input()
nextweek(S) | def nextweek(S):
if( S == "ABC"):
return "ARC"
else:
return "ABC"
S = input()
print (nextweek(S)) | [
"call.add",
"call.arguments.change"
] | 418,901 | 418,902 | u315759831 | python |
p02687 | S = input()
if S == 'ABC':
print('ARC')
else:
print('ARC')
| S = input()
if S == 'ABC':
print('ARC')
else:
print('ABC')
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 418,904 | 418,905 | u526094365 | python |
p02687 | if S == ("ABC"):
print("ARC")
else:
print("ABC") | S = input()
if S ==("ABC"):
print("ARC")
else:
print("ABC")
| [
"assignment.add"
] | 418,921 | 418,922 | u752114241 | python |
p02687 | contest = int(input())
if contest == "ABC":
print("ARC")
else:
print("ABC")
| contest = str(input())
if contest == "ABC":
print("ARC")
else:
print("ABC") | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 418,930 | 418,931 | u729083717 | python |
p02687 | S = input()
if S == "ABC":
print(ARC)
if S == "ARC":
print(ABC) | S = input()
if S == "ABC":
print("ARC")
if S == "ARC":
print("ABC") | [
"call.arguments.change"
] | 418,932 | 418,933 | u430336181 | python |
p02687 | string = input()
if string == "ARC":
print("ABC")
else:
print("ABC") | string = input()
if string == "ARC":
print("ABC")
else:
print("ARC") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 418,983 | 418,984 | u194696430 | python |
p02687 | str = input()
if str == 'ABC':
print(str.replace('B','R'))
else:
print(str.replace('B','R')) | str = input()
if str == 'ABC':
print(str.replace('B','R'))
else:
print(str.replace('R','B')) | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 418,994 | 418,995 | u301444029 | python |
p02687 | S=intput()
if S=="ABC":
print("ARC")
else:
print("ABC")
| S=input()
if S=="ABC":
print("ARC")
else:
print("ABC")
| [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 419,017 | 419,018 | u842964692 | python |
p02687 | input()
ans = 'ABC' if s == 'ARC' else 'ARC'
print(ans)
| s = input()
ans = 'ABC' if s == 'ARC' else 'ARC'
print(ans)
| [
"assignment.add"
] | 419,019 | 419,020 | u644516473 | python |
p02687 | if S == "ABC" :
print("ARC")
else:
print("ABC")
| S = input()
if S == "ABC" :
print("ARC")
else :
print("ABC") | [
"assignment.add"
] | 419,050 | 419,047 | u841585822 | python |
p02687 | s = input()
print("ARC" if input()=="ABC" else "ABC") | s = input()
print("ABC" if s== "ARC" else "ARC") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 419,052 | 419,053 | u996665352 | python |
p02687 | S == input()
if S == "ABC":
print("ARC")
else:
print("ABC") | S = input()
if S == "ABC":
print("ARC")
else:
print("ABC") | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 419,057 | 419,058 | u097069712 | python |
p02687 | S = input().split()
if S=='ARC':
print('ABC')
else:
print('ARC') | S = input()
if S=='ARC':
print('ABC')
else:
print('ARC') | [
"call.remove"
] | 419,069 | 419,070 | u154403054 | python |
p02687 | # coding: utf-8
S = input()
arc = "ABR"
abc = "ABC"
if S == arc:
print(abc)
elif S == abc:
print(arc)
| # coding: utf-8
S = input()
arc = "ARC"
abc = "ABC"
if S == arc:
print(abc)
elif S == abc:
print(arc)
| [
"literal.string.change",
"assignment.value.change"
] | 419,075 | 419,076 | u098848480 | python |
p02687 | print('ABC' if s[1] == 'R' else 'ARC') | print('ABC' if input()[1] == 'R' else 'ARC')
| [
"call.arguments.change",
"io.output.change",
"call.add"
] | 419,091 | 419,092 | u723790132 | python |
p02687 | s = input()
if s == "arc":
print("abc")
else :
print("arc") | s = input()
if s == "ARC":
print("ABC")
else :
print("ARC") | [
"literal.string.change",
"literal.string.case.change",
"control_flow.branch.if.condition.change",
"call.arguments.change",
"io.output.change"
] | 419,100 | 419,101 | u192221858 | python |
p02687 | print("ARC") if input() == "ABC" else print("ARC") | print("ARC") if input() == "ABC" else print("ABC") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 419,121 | 419,122 | u517447467 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.