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 |
|---|---|---|---|---|---|---|---|
p02753 |
s = input()
for i in range(2):
if s[i]==s[i+1] :
print("No")
exit()
print("Yes")
|
s = input()
for i in range(2):
if s[i]!=s[i+1] :
print("Yes")
exit()
print("No")
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 528,538 | 528,539 | u707030679 | python |
p02753 | import sys
print('Yes' if set(sys.stdin.read().strip()) >= 2 else 'No') | import sys
print('Yes' if len(set(sys.stdin.read().strip())) >= 2 else 'No') | [
"call.add",
"call.arguments.change"
] | 528,540 | 528,541 | u317423698 | python |
p02753 | s=input()
print('YES' if len(set(s))>1 else 'NO')
| s=input()
print('Yes' if len(set(s))>1 else 'No')
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 528,559 | 528,560 | u218834617 | python |
p02753 | s=input()
if s[0]==s[1] and s[0]==s[1]:
print("No")
else:
print("Yes") | s=input()
if s[0]==s[1] and s[0]==s[2]:
print("No")
else:
print("Yes") | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 528,569 | 528,570 | u094534261 | python |
p02753 | S = input().split()
if S[0] == S[1] == S[2]:
print('No')
else:
print('Yes') | S = input()
if S[0] == S[1] == S[2]:
print('No')
else:
print('Yes') | [
"call.remove"
] | 528,571 | 528,572 | u685971021 | python |
p02753 | S = input()
if S == 'AAA' or 'BBB':
print('No')
else:
print('Yes') | S = input()
if S=='AAA' or S=='BBB':
print('No')
else:
print('Yes')
| [
"control_flow.branch.if.condition.change"
] | 528,577 | 528,578 | u804711544 | python |
p02753 | s=input()
if s.count("A")==3 or s.count("B")==3:
print("Yes")
else:
print("No") | s=input()
if s.count("A")==3 or s.count("B")==3:
print("No")
else:
print("Yes") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 528,581 | 528,582 | u962423738 | python |
p02753 | S=input()
if (S!="AAA") or (S!="BBB"):
print("Yes")
else:
print("No")
| S=input()
if (S=="AAA") or (S=="BBB"):
print("No")
else:
print("Yes")
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 528,585 | 528,586 | u438189153 | python |
p02753 | s = raw_input()
if(s == 'AAA' or s == 'BBB'):
print("No")
else:
print("Yes")
| s = input()
if(s == 'AAA' or s == 'BBB'):
print("No")
else:
print("Yes")
| [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 528,619 | 528,620 | u867616076 | python |
p02753 | S = str(input())
if S == 'AAA' or 'BBB':
print('No')
else:
print('Yes') | S = input()
if S == 'AAA' or S == 'BBB':
print('No')
else:
print('Yes') | [
"call.remove",
"call.arguments.change",
"control_flow.branch.if.condition.change"
] | 528,623 | 528,624 | u496280557 | python |
p02753 | moji = str(input())
print(("No","yes")[("B" in moji) and ("A" in moji)]) | moji = str(input())
print(("No","Yes")[("B" in moji) and ("A" in moji)]) | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 528,626 | 528,627 | u773686010 | python |
p02753 | S = input()
if "AAA" or "BBB":
print("No")
else:
print("Yes")
| S = input()
if S == "AAA" or S == "BBB":
print("No")
else:
print("Yes")
| [
"control_flow.branch.if.condition.change"
] | 528,657 | 528,658 | u530169312 | python |
p02753 | S = str(input())
if S[0] == S[1] == S[2]:
print("Yes")
else:
print("No") | S = str(input())
if S[0] == S[1] == S[2]:
print("No")
else:
print("Yes") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 528,670 | 528,671 | u526818929 | python |
p02753 |
def main():
s = input()
if s[0]==s[1]==s[2]:
print("Yes")
else:
print("No")
if __name__ == "__main__":
main() |
def main():
s = input()
if s[0]==s[1]==s[2]:
print("No")
else:
print("Yes")
if __name__ == "__main__":
main() | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 528,678 | 528,679 | u872271866 | python |
p02753 | import bisect, collections, copy, heapq, itertools, math, string
import sys
def I(): return int(sys.stdin.readline().rstrip())
def MI(): return map(int, sys.stdin.readline().rstrip().split())
def LI(): return list(map(int, sys.stdin.readline().rstrip().split()))
def S(): return sys.stdin.readline().rstrip()
def LS(): r... | import bisect, collections, copy, heapq, itertools, math, string
import sys
def I(): return int(sys.stdin.readline().rstrip())
def MI(): return map(int, sys.stdin.readline().rstrip().split())
def LI(): return list(map(int, sys.stdin.readline().rstrip().split()))
def S(): return sys.stdin.readline().rstrip()
def LS(): r... | [
"control_flow.branch.if.condition.change"
] | 528,692 | 528,693 | u364693468 | python |
p02753 | s=set(input().split())
if len(s)==2:print('Yes')
else:print('No')
| s=set(input())
if len(s)==2:print('Yes')
else:print('No') | [
"call.remove"
] | 528,696 | 528,695 | u941644149 | python |
p02753 | S = str(input())
if S[0]==S[1] and S[1]==S[2]:
print('Yes')
else:
print('No') | S = str(input())
if S[0]==S[1] and S[1]==S[2]:
print('No')
else:
print('Yes')
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 528,706 | 528,707 | u370721525 | python |
p02753 | S = input()
sort(S)
a = 'Yes'
if S[0] == S[-1]:
a = 'No'
print(a) | S = input()
S = sorted(S)
a = 'Yes'
if S[0] == S[-1]:
a = 'No'
print(a) | [
"assignment.variable.change"
] | 528,723 | 528,724 | u476038506 | python |
p02753 | s = list(input())
s.sort()
print(s)
if s[0] == s[2]:
print('No')
else:
print('Yes') | s = list(input())
s.sort()
if s[0] == s[2]:
print('No')
else:
print('Yes') | [
"call.remove"
] | 528,727 | 528,728 | u920694585 | python |
p02753 | S=input()
s=set(S)
if len(s)==3:
print("Yes")
else:
print("No") | S=input()
s=set(S)
if len(s)==2:
print("Yes")
else:
print("No")
| [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 528,729 | 528,730 | u674588203 | python |
p02753 | print('NYoe s'[len(set(input().split()))==2::2]) | print('NYoe s'[len(set(input()))==2::2]) | [
"call.remove"
] | 528,731 | 528,732 | u446711904 | python |
p02753 | S=input()
list(S)
if S[0]==S[1]==s[2]:
print('No')
else:
print('Yes') | S=input()
list(S)
if S[0]==S[1] and S[1]==S[2]:
print('No')
else:
print('Yes') | [
"control_flow.branch.if.condition.change",
"identifier.change"
] | 528,733 | 528,734 | u136284779 | python |
p02753 | s = input()
if s[0]==s[1] and S[0]==s[2]:
print('No')
else:
print('Yes') | s = input()
if s[0]==s[1] and s[0]==s[2]:
print('No')
else:
print('Yes') | [
"misc.typo",
"identifier.change",
"control_flow.branch.if.condition.change"
] | 528,735 | 528,736 | u085329544 | python |
p02753 | S = input()
if S[0] == S[1] and S[0] == S[2]:
print('Yes')
else:
print('No') | S = input()
if S[0] == S[1] and S[0] == S[2]:
print('No')
else:
print('Yes') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 528,737 | 528,738 | u962718741 | python |
p02753 | s=list(input())
if (A not in s) or (B not in s):
print("No")
else:
print("Yse") | s=list(input())
if ("A" not in s) or ("B" not in s):
print("No")
else:
print("Yes") | [
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 528,765 | 528,766 | u437351386 | python |
p02753 | import sys
str=input()
if str == "AAA" or str == "BBB":
print ("NO")
else:
print ("YES")
| import sys
str=input()
if str == "AAA" or str == "BBB":
print ("No")
else:
print ("Yes")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 528,771 | 528,772 | u169042722 | python |
p02753 | S = input()
if S == "AAA" or S == "BBB":
print("Yes")
else:
print("No") | S = input()
if S == "AAA" or S == "BBB":
print("No")
else:
print("Yes")
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 528,773 | 528,774 | u871841829 | python |
p02753 | S = input()
if S == "AAA" or S == "BBB":
print("no")
else:
print("yes")
| S = input()
if S == "AAA" or S == "BBB":
print("No")
else:
print("Yes") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 528,781 | 528,782 | u250381674 | python |
p02753 | s = input()
if s == 'AAA' or 'BBB':
print('Yes')
else:
print('No') | s = input()
if s == 'AAA' or s == 'BBB':
print('No')
else:
print('Yes')
| [
"control_flow.branch.if.condition.change",
"call.remove",
"call.add"
] | 528,805 | 528,806 | u850779832 | python |
p02753 | S = list(input())
a = S.count("A")
b = S.count("B")
if a == 3 or b == 3:
print("Yes")
else:
print("No") | S = list(input())
a = S.count("A")
b = S.count("B")
if a == 3 or b == 3:
print("No")
else:
print("Yes") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 528,815 | 528,816 | u689835643 | python |
p02753 | S = input()
pritn("Yes" if "AB" in S or "BA" in S else "No") | S = input()
print("Yes" if "AB" in S or "BA" in S else "No")
| [
"identifier.change",
"call.function.change"
] | 528,821 | 528,822 | u122428774 | python |
p02753 | S = input()
pritn("Yes" if "AB" in S or "BA" in S else "No") | S = input()
print("Yes" if "AB" in S or "BA" in S else "No") | [
"identifier.change",
"call.function.change"
] | 528,821 | 528,823 | u122428774 | python |
p02753 | s=input()
if s=='AAA' or s=='BBB':
print ('No')
else:
('Yes')
| s=input()
if s=='AAA' or s=='BBB':
print ('No')
else:
print('Yes')
| [
"io.output.change",
"call.add"
] | 528,824 | 528,825 | u350093546 | python |
p02753 | S=input().split()
if S.count('A') == 3 or S.count('B') == 3:
print('No')
else:
print('Yes') | S=input()
if S.count('A') == 3 or S.count('B') == 3:
print('No')
else:
print('Yes') | [
"call.remove"
] | 528,830 | 528,831 | u463281863 | python |
p02753 | # -*- coding: utf-8 -*-
# 標準入力の取得
S = input()
# 求解処理
result = str()
if S == "AAA" or S == "BBB":
result = "Yes"
else:
result = "No"
# 結果出力
print(result)
| # -*- coding: utf-8 -*-
# 標準入力の取得
S = input()
# 求解処理
result = str()
if S == "AAA" or S == "BBB":
result = "No"
else:
result = "Yes"
# 結果出力
print(result)
| [
"literal.string.change",
"assignment.value.change"
] | 528,834 | 528,835 | u416011173 | python |
p02753 | S = input()
print('Yes' if S != 'AAA' or S != 'BBB' else 'No') | S = input()
print('Yes' if S != 'AAA' and S != 'BBB' else 'No') | [
"call.arguments.change",
"io.output.change"
] | 528,850 | 528,851 | u670397449 | python |
p02753 | n=input()
cnta=0
cntb=0
for e in n:
if e=="A":
cnta+=1
elif e=="B":
cntb+=1
if cnta==3 or cntb==3:
print('Yes')
else:
print('Yes') | n=input()
cnta=0
cntb=0
for e in n:
if e=="A":
cnta+=1
elif e=="B":
cntb+=1
if cnta==0 or cntb==0:
print('No')
else:
print('Yes') | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 528,859 | 528,860 | u997393081 | python |
p02753 | S=input()
if S[0:1]==S[1:2]==S[2:3]:
print('Yes')
else:
print('No') | S=input()
if S[0:1]==S[1:2]==S[2:3]:
print('No')
else:
print('Yes') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 528,864 | 528,865 | u726154863 | python |
p02753 | s=str(input())
s=list(set(s))
if len(s)!=3:
print("Yes")
else:
print("No") | s=str(input())
s=list(set(s))
if len(s)!=1:
print("Yes")
else:
print("No") | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 528,870 | 528,871 | u629350026 | python |
p02753 | s = input()
a = s.count('A')
b = s.count('B')
if(a==3):
print('Yes')
elif(b==3):
print('Yes')
else:
print('No') | s = input()
a = s.count('A')
b = s.count('B')
if(a==3):
print('No')
elif(b==3):
print('No')
else:
print('Yes') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 528,888 | 528,889 | u092387689 | python |
p02753 | n=input()
if n=="AAA" or "BBB":
print("No")
else:
print("Yes") | n=input()
if n=="AAA" or n=="BBB":
print("No")
else:
print("Yes") | [
"control_flow.branch.if.condition.change"
] | 528,892 | 528,893 | u901598613 | python |
p02753 | n=input()
if n=="AAA" or "BBB":
print("No")
else:
print("Yes") | n=input()
if n=="AAA" or n=="BBB":
print("No")
else:
print("Yes") | [
"control_flow.branch.if.condition.change"
] | 528,894 | 528,893 | u901598613 | python |
p02753 | import sys
input = sys.stdin.readline
S = input().strip()
print('No') if S == 'AAA' or 'BBB' else print('Yes')
| import sys
input = sys.stdin.readline
S = input().strip()
print('No') if S == 'AAA' or S == 'BBB' else print('Yes')
| [] | 528,895 | 528,896 | u371385198 | python |
p02753 | a = list(input().count("A"))
if a == 3:
print("No")
elif a == 0:
print("No")
else:
print("Yes") | a = input().count("A")
if a == 3:
print("No")
elif a == 0:
print("No")
else:
print("Yes") | [
"call.remove",
"call.arguments.change"
] | 528,897 | 528,898 | u209275335 | python |
p02753 | s=input()
a=0
b=0
for i in s:
if i=="A":
a+=1
elif i=="B":
b+=1
if (a+b)!=3 and (a==0 or b==0):
print("No")
else:
print("Yes") | s=input()
a=0
b=0
for i in s:
if i=="A":
a+=1
elif i=="B":
b+=1
if (a+b)!=3 or (a==0 or b==0):
print("No")
else:
print("Yes") | [
"control_flow.branch.if.condition.change"
] | 528,904 | 528,905 | u017415492 | python |
p02753 | S = input()
a = list(set(S))
print("Yes" if len(a) != 1 else "NO") | S = input()
a = list(set(S))
print("Yes" if len(a) != 1 else "No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 528,913 | 528,914 | u241159583 | python |
p02753 | S = input()
A = 0
B = 0
for i in S:
if i == A:
A+=1
elif i == "B":
B += 1
if A == 3 or B == 3:
print("No")
else:
print("Yes") | S = input()
A = 0
B = 0
for i in S:
if i == "A":
A+=1
elif i == "B":
B += 1
if A == 3 or B == 3:
print("No")
else:
print("Yes") | [
"control_flow.branch.if.condition.change"
] | 528,915 | 528,916 | u355371431 | python |
p02753 | print('No' if len(set(input())) == 0 else 'Yes')
| print('No' if len(set(input())) == 1 else 'Yes')
| [
"literal.number.integer.change",
"call.arguments.change",
"io.output.change"
] | 528,921 | 528,922 | u606878291 | python |
p02753 | from sys import stdin
S = list(stdin.readline().rstrip())
print('No' if S == 'AAA' or S == 'BBB' else 'Yes') | from sys import stdin
S = stdin.readline().rstrip()
print('No' if S == 'AAA' or S == 'BBB' else 'Yes')
| [
"call.remove",
"call.arguments.change"
] | 528,923 | 528,924 | u948050032 | python |
p02753 | from sys import stdin
S = list(stdin.readline().rstrip())
print('No' if S == 'AAA' or 'BBB' else 'Yes') | from sys import stdin
S = stdin.readline().rstrip()
print('No' if S == 'AAA' or S == 'BBB' else 'Yes')
| [
"call.remove",
"call.arguments.change"
] | 528,925 | 528,924 | u948050032 | python |
p02753 | S = input()
print('No' if S == 'AAA' or 'BBB' else 'Yes') | S = input()
print('No' if S == 'AAA' or S== 'BBB' else 'Yes')
| [] | 528,934 | 528,935 | u857673087 | python |
p02753 | # -*- coding: utf-8 -*-
S = input()
a = "AAA"
b = "BBB"
if S == a:
print("No")
elif S == b:
print("NO")
else:
print("Yes") | # -*- coding: utf-8 -*-
S = input()
a = "AAA"
b = "BBB"
if S == a:
print("No")
elif S == b:
print("No")
else:
print("Yes") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 528,948 | 528,949 | u767438459 | python |
p02753 | # -*- coding: utf-8 -*-
S = input()
a = "AAA"
b = "BBB"
if S == a:
print("NO")
elif S == b:
print("NO")
else:
print("YES") | # -*- coding: utf-8 -*-
S = input()
a = "AAA"
b = "BBB"
if S == a:
print("No")
elif S == b:
print("No")
else:
print("Yes") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 528,950 | 528,949 | u767438459 | python |
p02753 |
S = input()
print("Yes" if S.count("A")==2 and S.count("B")==2 else "No")
|
S = input()
print("Yes" if S.count("A")==2 or S.count("B")==2 else "No")
| [
"call.arguments.change",
"io.output.change"
] | 528,953 | 528,954 | u165268875 | python |
p02753 |
S = input()
pritn("Yes" if S.count("A")==2 and S.count("B")==2 else "No")
|
S = input()
print("Yes" if S.count("A")==2 or S.count("B")==2 else "No")
| [
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 528,955 | 528,954 | u165268875 | python |
p02753 |
S = input()
pritn("Yes" if S.count(A)==2 and S.count(B)==2 else "No")
|
S = input()
print("Yes" if S.count("A")==2 or S.count("B")==2 else "No")
| [
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 528,956 | 528,954 | u165268875 | python |
p02753 | s=input()
if s[0]==s[1] and s[1]==s[2]:
print("Yes")
else:
print("No") | s=input()
if s[0]==s[1] and s[1]==s[2]:
print("No")
else:
print("Yes")
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 528,974 | 528,975 | u588794534 | python |
p02753 | a = input()
print('Yes' if 'A' in a else 'No')
| a = input()
print('Yes' if 'A' in a and 'B' in a else 'No')
| [] | 528,991 | 528,992 | u246127272 | python |
p02753 | S=[x for x in input()]
s=len(list(set(S)))
if s==3:
print("No")
else:
print("Yes") | S=[x for x in input()]
s=len(list(set(S)))
if s==1:
print("No")
else:
print("Yes") | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 529,001 | 529,002 | u235376569 | python |
p02753 | s = input()
if "A" and "B" not in s:
print("No")
else:
print("Yes")
| s = input()
if "A" in s and "B" in s:
print("Yes")
else:
print("No")
| [
"control_flow.branch.if.condition.change",
"call.remove",
"call.add"
] | 529,007 | 529,008 | u751539777 | python |
p02753 | s = input()
if "A" and "B" not in s:
print("No")
else:
print("Yes")
| s = input()
if "A" in s and "B" in s:
print("Yes")
else:
print("No")
| [
"control_flow.branch.if.condition.change",
"call.remove",
"call.add"
] | 529,009 | 529,008 | u751539777 | python |
p02753 | s = input()
if "A" and "B" not in s:
print("NO")
else:
print("YESA") | s = input()
if "A" in s and "B" in s:
print("Yes")
else:
print("No")
| [
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,010 | 529,008 | u751539777 | python |
p02753 | s=input()
if(s[0]==s[1] and s[1]==s[2]):
print("Yes")
else:
print("No") | s=input()
if(s[0]==s[1] and s[1]==s[2]):
print("No")
else:
print("Yes") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,011 | 529,012 | u810066979 | python |
p02753 | s=input()
if s=="AAA" or "BBB":
print("No")
else:
print("Yes") | s=input()
if s=="AAA" or s=="BBB":
print("No")
else:
print("Yes") | [
"control_flow.branch.if.condition.change"
] | 529,020 | 529,021 | u449473917 | python |
p02753 | S = input()#.strip()
if S[0] == S[1] == S[2]: #and S[0] == S[2]:
print("Yes")
else:
print("No")
#print(S[0]) | # coding: utf-8
# Your code here!
S = input()#.strip()
if S[0] == S[1] == S[2]: #and S[0] == S[2]:
print("No")
else:
print("Yes")
#print(S[0] | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,024 | 529,025 | u859241851 | python |
p02753 | i = input()
if i[-1]==i[-2] and i[-2]==i[-3]:
print("Yes")
else:
print("No") | i = input()
if i[-1]==i[-2] and i[-2]==i[-3]:
print("No")
else:
print("Yes") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,033 | 529,034 | u694402282 | python |
p02753 | S = input().split()
if "A" in S and "B" in S:
print("Yes")
else:
print("No") | S = input()
if "A" in S and "B" in S:
print("Yes")
else:
print("No") | [
"call.remove"
] | 529,037 | 529,038 | u697758384 | python |
p02753 | S = input().split()
if "A" and "B" in S:
print("Yes")
else:
print("No") | S = input()
if "A" in S and "B" in S:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 529,039 | 529,038 | u697758384 | python |
p02753 | S = input()
if "A" and "B" in S:
print("Yes")
else:
print("No") | S = input()
if "A" in S and "B" in S:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 529,040 | 529,038 | u697758384 | python |
p02753 | s=input()
print("YNeos"[s=="AAA" or s=="BBB"]) | s=input()
print("YNeos"[s=="AAA" or s=="BBB"::2]) | [] | 529,043 | 529,044 | u999482355 | python |
p02753 | def main():
s = input()
if s != "AAA" or s != "BBB":
print("Yes")
else:
print("No")
if __name__ == "__main__":
main()
| def main():
s = input()
if s != "AAA" and s != "BBB":
print("Yes")
else:
print("No")
if __name__ == "__main__":
main()
| [
"control_flow.branch.if.condition.change"
] | 529,045 | 529,046 | u411353821 | python |
p02753 | stations = input()
if "A" in stations and "B" in stations:
print("Yes")
else:
print("NO") | stations = input()
if "A" in stations and "B" in stations:
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,056 | 529,057 | u956223466 | python |
p02753 | S = list(input())
if len(set(S))==2 :
print('Yse')
else:
print('No') | S = list(input())
if len(set(S))==2:
print('Yes')
else:
print('No') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,060 | 529,061 | u890416508 | python |
p02753 | s = str(input())
if s is "AAA":
print("No")
elif s is "BBB":
print("No")
else:
print("Yes") | s = str(input())
if s == "AAA":
print("No")
elif s == "BBB":
print("No")
else:
print("Yes") | [
"control_flow.branch.if.condition.change"
] | 529,062 | 529,063 | u482522932 | python |
p02753 | import sys
s = sys.stdin.readline()
if s == 'AAA' or s == 'BBB':
print('No')
else:
print('Yes')
| import sys
s = sys.stdin.readline().rstrip()
if s == 'AAA' or s == 'BBB':
print('No')
else:
print('Yes')
| [
"call.add"
] | 529,068 | 529,069 | u823885866 | python |
p02753 | import sys
s = str(sys.stdin.readline())
if s == 'AAA' or s == 'BBB':
print('No')
else:
print('Yes')
| import sys
s = sys.stdin.readline().rstrip()
if s == 'AAA' or s == 'BBB':
print('No')
else:
print('Yes')
| [
"call.remove",
"call.add"
] | 529,070 | 529,069 | u823885866 | python |
p02753 | x=input()
if x=='AAA' or x=='BBB':
print('Yes')
else :
print('No') | x=input()
if x=='AAA' or x=='BBB':
print('No')
else :
print('Yes') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,080 | 529,081 | u487288850 | python |
p02753 | S=input()
if S[0]==S[1]:
print('Yes')
elif S[1]==S[2]:
print('Yes')
elif S[0]==S[2]:
print('Yes')
else:
print('No')
| S=input()
if S[0]!=S[1]:
print('Yes')
elif S[1]!=S[2]:
print('Yes')
elif S[0]!=S[2]:
print('Yes')
else:
print('No')
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 529,084 | 529,085 | u497188176 | python |
p02753 | S=int(input())
if S[0]==S[1]:
print('Yes')
elif S[1]==S[2]:
print('Yes')
elif S[0]==S[2]:
print('Yes')
else:
print('No')
| S=input()
if S[0]!=S[1]:
print('Yes')
elif S[1]!=S[2]:
print('Yes')
elif S[0]!=S[2]:
print('Yes')
else:
print('No')
| [
"call.remove",
"call.arguments.change",
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 529,086 | 529,085 | u497188176 | python |
p02753 | S=input()
if S[0]==S[1]:
print('Yes')
elif S[1]==S[2]:
print('Yes')
elif S[0]==S[2]:
print('Yes')
else:
print('No')
| S=input()
if S[0]!=S[1]:
print('Yes')
elif S[1]!=S[2]:
print('Yes')
elif S[0]!=S[2]:
print('Yes')
else:
print('No')
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 529,087 | 529,085 | u497188176 | python |
p02753 | a=list(input())
if a[0]==a[1]==a[2]:
print('no')
else:
print('yes') | a= list(input())
if a[0]==a[1]==a[2]:
print('No')
else:
print('Yes') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,092 | 529,093 | u950337877 | python |
p02753 | S=input()
if s[0] == s[1] and s[1] == s[2]:
print('No')
else:
print('yes') | s=input()
if s[0] == s[1] and s[1] == s[2]:
print('No')
else:
print('Yes') | [
"misc.typo",
"assignment.variable.change",
"identifier.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,096 | 529,097 | u815218584 | python |
p02753 | s = input()
if s[0] == s[1] or s[1] == s[2]: print('No')
else: print('Yes') | s=input()
if s[0] == s[1] and s[1] == s[2]:
print('No')
else:
print('Yes') | [
"control_flow.branch.if.condition.change"
] | 529,098 | 529,097 | u815218584 | python |
p02753 | s=input()
if s[0] == s[1] and s[1] == s[2]:
print('No')
else:
print('yes') | s=input()
if s[0] == s[1] and s[1] == s[2]:
print('No')
else:
print('Yes') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,099 | 529,097 | u815218584 | python |
p02753 | s = input()
if s == 'AAA':
print('No')
if s == 'BBB':
print('No')
else:
print('Yes') | s = input()
if s == 'AAA':
print('No')
elif s == 'BBB':
print('No')
else:
print('Yes')
| [
"control_flow.branch.if.replace.remove",
"control_flow.branch.else_if.replace.add"
] | 529,102 | 529,103 | u989089752 | python |
p02753 | str = input()
a = False
b = False
for ch in str:
if ch == 'A':
a = True
else:
b = True
if a and b:
print("YES")
else:
print("NO")
| str = input()
a = False
b = False
for ch in str:
if ch == 'A':
a = True
else:
b = True
if a and b:
print("Yes")
else:
print("No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,104 | 529,105 | u170960568 | python |
p02753 | s = input()
num = len(set(s)) # set型に変換するとダブりが消えるので、lenで種類数がわかる
if num > 1:
print("No")
else:
print("Yes") | s = input()
num = len(set(s)) # set型に変換するとダブりが消えるので、lenで種類数がわかる
if num == 1:
print("No")
else:
print("Yes") | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 529,116 | 529,117 | u261103969 | python |
p02753 | a = input()
if a == 'AAA' or 'BBB':
print('No')
else:
print('Yes') | a = input()
if a in ('AAA','BBB'):
print('No')
else:
print('Yes') | [
"control_flow.branch.if.condition.change"
] | 529,120 | 529,121 | u619398783 | python |
p02753 | def station(comp):
if(len(set(comp))==0):
print("No")
else:
print("Yes")
station(input()) | def station(comp):
if(len(set(comp)) == 1):
print("No")
else:
print("Yes")
station(input()) | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 529,135 | 529,136 | u089230684 | python |
p02753 | S=input()
if(len(Sset)==2):
print('Yes')
else:
print('No') | S=input()
Sset=set(S)
if(len(Sset)==2):
print('Yes')
else:
print('No') | [
"assignment.add"
] | 529,147 | 529,148 | u051218477 | python |
p02753 | # import module
import sys
import math
import numpy as np
S = input()
if S.find("A") != -1 and S.find("B") != 0:
print("Yes")
else:
print("No") | # import module
import sys
import math
import numpy as np
S = input()
if S.find("A") != -1 and S.find("B") != -1:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change",
"expression.operation.unary.add"
] | 529,149 | 529,150 | u192042624 | python |
p02753 | # import module
import sys
import math
import numpy as np
S = input()
if S.find(A) != -1 and S.find("B") != 0:
print("Yes")
else:
print("No") | # import module
import sys
import math
import numpy as np
S = input()
if S.find("A") != -1 and S.find("B") != -1:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change",
"expression.operation.unary.add"
] | 529,151 | 529,150 | u192042624 | python |
p02753 | S=input()
same=["AAA","BBB"]
if S in same:
print("Yes")
else:
print("No") | S=input()
same=["AAA","BBB"]
if S in same:
print("No")
else:
print("Yes") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,162 | 529,163 | u429029348 | python |
p02753 | chaine = input()
repA = 0
repB = 0
for i in chaine:
if i=='A':
repA += 1
else:
repB += 1
if repB==3 or repA==3:
print("No")
else:
print("yes") | chaine = input()
repA = 0
repB = 0
for i in chaine:
if i=='A':
repA += 1
else:
repB += 1
if repB==3 or repA==3:
print("No")
else:
print("Yes") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,164 | 529,165 | u993656019 | python |
p02753 | S = list(input())
if S[0] == S[1] & S[1] == S[2]:
print('No')
else:
print("Yes") | S = list(input())
if (S[0] == S[1]) & (S[1] == S[2]):
print('No')
else:
print("Yes") | [
"control_flow.branch.if.condition.change"
] | 529,171 | 529,172 | u044220565 | python |
p02753 | def Main(S):
return "Yes" if 'A' in S and 'B' in S else "No"
def main():
S = str(input())
print(Main(N))
if __name__ == '__main__':
main() | def Main(S):
return "Yes" if 'A' in S and 'B' in S else "No"
def main():
S = str(input())
print(Main(S))
if __name__ == '__main__':
main() | [
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 529,179 | 529,180 | u132687480 | python |
p02753 | S = list(input())
if set(S) == 2:
print("Yes")
else:
print("No") | S = input()
if len(set(S)) == 2:
print("Yes")
else:
print("No") | [
"call.remove",
"call.arguments.change",
"control_flow.branch.if.condition.change",
"call.add"
] | 529,183 | 529,184 | u906501980 | python |
p02753 | S = input()
if set(S) == 2:
print("Yes")
else:
print("No") | S = input()
if len(set(S)) == 2:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change",
"call.add"
] | 529,185 | 529,184 | u906501980 | python |
p02753 | S = input();
if S == "AAA" or "BBB":
print("No");
else:
print("Yes");
| S = input();
if S == "AAA" or S == "BBB":
print("No");
else:
print("Yes"); | [
"control_flow.branch.if.condition.change"
] | 529,197 | 529,198 | u508061226 | python |
p02753 | S = input();
if S == "AAA" or "BBB":
print("No");
else:
print("Yes"); | S = input();
if S == "AAA" or S == "BBB":
print("No");
else:
print("Yes"); | [
"control_flow.branch.if.condition.change"
] | 529,199 | 529,198 | u508061226 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.