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 | string = str(input())
if ( (string[0]=='A' or string[1]=='A' and string[2]=='A') and (string[0]=='B' or string[1]=='B' and string[2]=='B')):
print('Yes')
else:
print('No') | string = str(input())
if ( (string[0]=='A' or string[1]=='A' or string[2]=='A') and (string[0]=='B' or string[1]=='B' or string[2]=='B')):
print('Yes')
else:
print('No') | [
"control_flow.branch.if.condition.change"
] | 529,204 | 529,205 | u691446391 | python |
p02753 | x = input()
if x[0]==x[1]==x[2]:
print("Yes")
else:
print("No")
| x = input()
if x[0]==x[1]==x[2]:
print("No")
else:
print("Yes")
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,208 | 529,209 | u796044734 | python |
p02753 | lit = str(input())
print("Yes" if "A" in lit and "B" in lit else "B") | lit = str(input())
print("Yes" if "A" in lit and "B" in lit else "No") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,226 | 529,227 | u619809897 | python |
p02753 | S = input()
tList = list(S)
firstStation = tList[0]
Monopoly = 0
for str in tList:
if(str == firstStation):
Monopoly = 0
else:
Monopoly = 1
break
if(Monopoly == 0):
print('NO')
else:
print('YES') | S = input()
tList = list(S)
firstStation = tList[0]
Monopoly = 0
for str in tList:
if(str == firstStation):
Monopoly = 0
else:
Monopoly = 1
break
if(Monopoly == 0):
print('No')
else:
print('Yes')
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,244 | 529,245 | u083874202 | python |
p02753 | s = list(input())
if s[0] == s[1] and s[1] == s[2] and s[0] == s[2]:
print('Yes')
else:
print('No')
| s = list(input())
if s[0] == s[1] and s[1] == s[2] and s[0] == s[2]:
print('No')
else:
print('Yes')
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,250 | 529,251 | u065578867 | python |
p02753 | x = input()
print(["Yes","No"][x == "AAA" | x == "BBB"]) | x = input()
print(["Yes","No"][(x == "AAA") | (x == "BBB")])
| [
"call.arguments.change"
] | 529,259 | 529,260 | u259268066 | 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"
] | 529,261 | 529,262 | u238084414 | python |
p02753 | S = input()
if "AB" in S or "BA" in S:
print("yes")
else:
print("no") | S = input()
if "AB" in S or "BA" in S:
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,263 | 529,264 | u133583235 | python |
p02753 | Si = input()
if "AB" in Si or "BA" in Si:
print("yes")
else:
print("no") | S = input()
if "AB" in S or "BA" in S:
print("Yes")
else:
print("No") | [
"assignment.variable.change",
"identifier.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,265 | 529,264 | u133583235 | 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"
] | 529,266 | 529,267 | u961945062 | python |
p02753 | a,b,c = input().split()
print("No") if a == b and b == c and c == a else print("Yes") | a,b,c = list(input())
print("No") if a==b and b==c and c==a else print("Yes") | [
"call.add",
"call.remove"
] | 529,276 | 529,277 | u738287470 | python |
p02753 | def judge(S):
if S=="AAA" or S=="BBB":
return "Yes"
else:
return "No"
S=input()
print(judge(S)) | def judge(S):
if S=="AAA" or S=="BBB":
return "No"
else:
return "Yes"
S=input()
print(judge(S)) | [
"literal.string.change",
"function.return_value.change"
] | 529,278 | 529,279 | u516949135 | python |
p02753 | S = str(input())
flag=1
if S[0]==S[1]:
if S[1]==S[2]:
flag=0
if flag==0:
print('Yes')
else:
print('No') | S = str(input())
flag=1
if S[0]==S[1]:
if S[1]==S[2]:
flag=0
if flag==1:
print('Yes')
else:
print('No')
| [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 529,280 | 529,281 | u046158516 | python |
p02753 | s = input()
if s.count(s[0]) == 3:
print("Yes")
else:
print("No") | s = input()
if s.count(s[0]) == 3:
print("No")
else:
print("Yes") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,288 | 529,289 | u138781768 | python |
p02753 | S = input()
if S != "AAA" or "BBB":
print("Yes")
else:
print("No") | S = input()
if S != "AAA" and S != "BBB":
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 529,300 | 529,301 | u796842765 | python |
p02753 | S = input()
c = S.count('A')
if s == 3 or s == 0:
print('No')
else:
print('Yes') | S = input()
c = S.count('A')
if c == 3 or c == 0:
print('No')
else:
print('Yes')
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 529,308 | 529,309 | u152891327 | 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") | [
"control_flow.branch.if.condition.change"
] | 529,312 | 529,313 | u445670279 | 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') | [
"assignment.variable.change",
"identifier.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,317 | 529,318 | u455642216 | python |
p02753 | s = input()
As = s.count("A")
Bs = s.count("B")
if As == 3 or Bs == 3:
print("NO")
else:
print("YES") | s = input()
As = s.count("A")
Bs = s.count("B")
if As == 3 or Bs == 3:
print("No")
else:
print("Yes") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,319 | 529,320 | u706908631 | python |
p02753 | station = list(input())
message = ""
print(station)
for i in range(0, len(station)-1):
if (station[i] != station[i + 1]):
message = 'Yes'
break
else:
message = 'No'
print(message)
| station = list(input())
message = ""
for i in range(0, len(station)-1):
if (station[i] != station[i + 1]):
message = 'Yes'
break
else:
message = 'No'
print(message)
| [
"call.remove"
] | 529,327 | 529,328 | u913863402 | python |
p02753 | station = list(input())
message = ""
print(station)
for i in range(0, len(station)-1):
if (station[i] != station[i + 1]):
message = 'Yes'
break
else:
message = ' No'
print(message)
| station = list(input())
message = ""
for i in range(0, len(station)-1):
if (station[i] != station[i + 1]):
message = 'Yes'
break
else:
message = 'No'
print(message)
| [
"call.remove",
"literal.string.change",
"assignment.value.change"
] | 529,329 | 529,328 | u913863402 | python |
p02753 | s = str(input())
if s == "AAA" or S == "BBB":
print('No')
else:
print('Yes') | s = str(input())
if s == "AAA" or s == "BBB":
print('No')
else:
print('Yes') | [
"misc.typo",
"identifier.change",
"control_flow.branch.if.condition.change"
] | 529,335 | 529,336 | u066551652 | python |
p02753 | S = input()
ans = 'Yes'
if S[0] != S[1]:
ans = 'No'
elif S[1] != S[2]:
ans = 'No'
print(ans) | S = input()
ans = 'No'
if S[0] != S[1]:
ans = 'Yes'
elif S[1] != S[2]:
ans = 'Yes'
print(ans) | [
"literal.string.change",
"assignment.value.change"
] | 529,358 | 529,359 | u696969901 | python |
p02753 | s=input()
print("Yes" if s[0]==s[1]==s[2] else "No") | s=input()
print("No" if s[0]==s[1]==s[2] else "Yes") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,361 | 529,362 | u920103253 | python |
p02753 | # encoding:utf-8
import copy
import random
import bisect #bisect_left これで二部探索の大小検索が行える
import fractions #最小公倍数などはこっち
import math
import sys
import collections
mod = 10**9+7
sys.setrecursionlimit(mod) # 再帰回数上限はでdefault1000
d = collections.deque()
def LI(): return list(map(int, sys.stdin.readline().split()))
S = str(i... | # encoding:utf-8
import copy
import random
import bisect #bisect_left これで二部探索の大小検索が行える
import fractions #最小公倍数などはこっち
import math
import sys
import collections
mod = 10**9+7
sys.setrecursionlimit(mod) # 再帰回数上限はでdefault1000
d = collections.deque()
def LI(): return list(map(int, sys.stdin.readline().split()))
S = str(i... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,363 | 529,364 | u059210959 | 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,383 | 529,384 | u509725329 | python |
p02753 | S = input()
if S.count(A) >= 1 and S.count(B) >= 1 :
print("Yes")
else :
print("No") | S = input()
if S.count("A") >= 1 and S.count("B") >= 1 :
print("Yes")
else :
print("No") | [
"control_flow.branch.if.condition.change"
] | 529,395 | 529,396 | u453623947 | python |
p02753 | S = input()
if S.count(A) >= 1 and S.count(B) >= 0 :
print("Yes")
else :
print("No") | S = input()
if S.count("A") >= 1 and S.count("B") >= 1 :
print("Yes")
else :
print("No") | [
"control_flow.branch.if.condition.change",
"literal.number.integer.change"
] | 529,397 | 529,396 | u453623947 | python |
p02753 | n=input()
a=0
for i in n:
if i=="A":
a+=1
if a%3!=0:
print('Yes')
else:
print('NO')
| n=input()
a=0
for i in n:
if i=="A":
a+=1
if a%3!=0:
print('Yes')
else:
print('No')
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,408 | 529,409 | u051843295 | python |
p02753 | n=input()
a=0
for i in n:
print(i)
if i=="A":
a+=1
if a%3!=0:
print('Yes')
else:
print('NO')
| n=input()
a=0
for i in n:
if i=="A":
a+=1
if a%3!=0:
print('Yes')
else:
print('No')
| [
"call.remove",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,410 | 529,409 | u051843295 | python |
p02753 | n=input()
a=0
for i in n:
if i=="A":
a+=1
if a%3==0:
print('Yes')
else:
print('NO')
| n=input()
a=0
for i in n:
if i=="A":
a+=1
if a%3!=0:
print('Yes')
else:
print('No')
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,411 | 529,409 | u051843295 | python |
p02753 | s=input()
if s[0]==s[1]==s[2]:
print("Yes")
else:
print("No") | s=input()
if s[0]==s[1]==s[2]:
print("No")
else:
print("Yes") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,414 | 529,415 | u187995923 | python |
p02753 | S = input()
if len(set(list(S))) == 1:
print('Yes')
else:
print('No')
| S = input()
if len(set(list(S))) != 1:
print('Yes')
else:
print('No')
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 529,422 | 529,421 | u663710122 | python |
p02753 | if len(set(input()))==1:
print('Yes')
else:
print('No') | if not len(set(input()))==1:
print('Yes')
else:
print('No')
| [
"control_flow.branch.if.condition.change"
] | 529,434 | 529,435 | u798675549 | python |
p02753 | s = str(input())
print("No") if s=="AAA" or s=="BBB" else print("No") | s = str(input())
print("No") if s=="AAA" or s=="BBB" else print("Yes")
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,443 | 529,444 | u636665812 | python |
p02753 | S=str(input())
if S==AAA or S==BBB:
print('No')
else:
print('Yes') | S=str(input())
if S=='AAA' or S=='BBB':
print('No')
else:
print('Yes') | [
"control_flow.branch.if.condition.change"
] | 529,456 | 529,457 | u735175408 | python |
p02753 | S=input()
if S=="AAA" or S=="BBB":
print("No")
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"
] | 529,460 | 529,461 | u011277545 | python |
p02753 | n=input()
if n=="AAA" or n=="BBB":
print("Yes")
else:
print("No") | S=input()
if S=="AAA" or S=="BBB":
print("No")
else:
print("Yes") | [
"assignment.variable.change",
"identifier.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,462 | 529,461 | u011277545 | python |
p02753 | n=input()
if n=="AAA" or n=="BBB":
print("Yes")
else:
print("No") | n=input()
if n=="AAA" or n=="BBB":
print("No")
else:
print("Yes") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,462 | 529,464 | u011277545 | python |
p02753 | S=input()
if(S[0]==S[1]==S[2]):
print("Yes")
else:
print("No") | S=input()
if(S[0]==S[1]==S[2]):
print("No")
else:
print("Yes") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,478 | 529,479 | u923712635 | python |
p02753 | n = input()
if n[0] ==n[1] and n[1] == n[2]:
print('Yes')
else:
print('No')
| n = input()
if n[0] ==n[1] and n[1] == n[2]:
print('No')
else:
print('Yes')
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,484 | 529,485 | u044138790 | 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')
| [
"control_flow.branch.if.condition.change"
] | 529,486 | 529,487 | u044138790 | python |
p02753 | print ("Yes" if input() in ("AAA", "BBB") else "No") | print ("No" if input() in ("AAA", "BBB") else "Yes") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,490 | 529,491 | u360515075 | python |
p02753 | from Collections import Counter
s=input()
c=Counter(s)
if(len(c.keys())==1):
print ("No")
else:
print ("Yes") | from collections import Counter
s=input()
c=Counter(s)
if(len(c.keys())==1):
print ("No")
else:
print ("Yes") | [
"identifier.change"
] | 529,494 | 529,495 | u981309686 | python |
p02753 | print('Yes' if len(set(input())) else 'No') | print('Yes' if len(set(input()))==2 else 'No') | [] | 529,496 | 529,497 | u963164554 | python |
p02753 | S = list(input())
if S[0]==S[1] and S[0]==S[3]:
print('No')
else:
print('Yes') | S = list(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"
] | 529,498 | 529,499 | u963164554 | python |
p02753 | n=input()
if n[0]==n[1] and n[1]==n[2]:
print("Yes")
else:
print("No") | n=input()
if n[0]==n[1] and n[1]==n[2]:
print("No")
else:
print("Yes") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,509 | 529,510 | u281796054 | python |
p02753 | s = input()
if s[0] == s[1] == s[2]:
print("Yes")
else:
print("No")
| s = input()
if s[0] == s[1] == s[2]:
print("No")
else:
print("Yes")
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,525 | 529,526 | u015418292 | python |
p02753 | s = input("")
s = list(s)
if s[0] != s[1] or s[1] != s[2]:
print("YES")
else:
print("NO")
| s = input("")
s = list(s)
if s[0] != s[1] or s[1] != s[2]:
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,547 | 529,548 | u215203926 | python |
p02753 | a=input()
if a=="AAA" or "BBB":
print("No")
else:
print("Yes") | a=input()
if a=="AAA" or a=="BBB":
print("No")
else:
print("Yes")
| [
"control_flow.branch.if.condition.change"
] | 529,551 | 529,552 | u376450099 | python |
p02753 | S=input()
count=0
for i in range(2):
S[i]==S[i+1]
count+=1
bleak
if count==2:
print("No")
else:
print("Yes") | S=input()
count=0
for i in range(2):
if S[i]==S[i+1]:
count+=1
if count==2:
print("No")
else:
print("Yes") | [] | 529,562 | 529,563 | u718411265 | python |
p02753 | S=input()
count=0
for i in range(2):
S[i]==S[i+1]
count+=1
if count==2:
print("No")
else:
print("Yes") | S=input()
count=0
for i in range(2):
if S[i]==S[i+1]:
count+=1
if count==2:
print("No")
else:
print("Yes") | [] | 529,566 | 529,563 | u718411265 | python |
p02753 | S=input()
count=0
for i in range(3):
S[i]==S[i+1]
count+=1
if count==2:
print("No")
else:
print("Yes") | S=input()
count=0
for i in range(2):
if S[i]==S[i+1]:
count+=1
if count==2:
print("No")
else:
print("Yes") | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 529,567 | 529,563 | u718411265 | python |
p02753 | n = input()
if n == "AAA" or n == "BBB":
print("NO")
else:
print("YES") | n = input()
if n == "AAA" or n == "BBB":
print("No")
else:
print("Yes") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,570 | 529,571 | u831835224 | python |
p02753 | s = input()
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')
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,591 | 529,592 | u084261177 | python |
p02753 | S=input()
station=set(S)
if len(station)>1:
print('No')
else:
print('Yes') | S=input()
station=set(S)
if len(station)>1:
print('Yes')
else:
print('No') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,593 | 529,594 | u229518917 | python |
p02753 | X = input()
Y = X.count("A")
Z = X.count("B")
if (Y == 3 or Z ==3):
print("Yes")
else:
print("No") | X = input()
Y = X.count("A")
Z = X.count("B")
if (Y == 3 or Z == 3):
print("No")
else:
print("Yes") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,602 | 529,603 | u331997680 | python |
p02753 | t = input()
l = [i for i in t]
print(l)
if "A" in l and "B" in l:
print("Yes")
else:
print("No")
| t = input()
l = [i for i in t]
if "A" in l and "B" in l:
print("Yes")
else:
print("No")
| [
"call.remove"
] | 529,620 | 529,621 | u610856690 | python |
p02753 | S=str(input())
if S!='AAA' or S!='BBB':
print('Yes')
else:
print('No') | S=str(input())
if S=='AAA' or S=='BBB':
print('No')
else:
print('Yes') | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"call.remove",
"call.add"
] | 529,638 | 529,635 | u748311048 | python |
p02753 | S=str(input())
if S!='AAA' or S!='BBB':
print('Yes')
else:
print('No') | S=str(input())
if S!='AAA' and S!='BBB':
print('Yes')
else:
print('No') | [
"control_flow.branch.if.condition.change"
] | 529,638 | 529,639 | u748311048 | python |
p02753 | # -*- coding: utf-8 -*-
"""
Challenge A
"""
def bus(stations):
a = np.array(("","",""))
for i in range(3):
a[i] = stations[i]
s = np.unique(a)
if len(s)==1:
return "No"
elif len(s) > 1:
return "Yes"
else:
return "Problem"
"""
my_strings = np.array(("AAA"... | # -*- coding: utf-8 -*-
"""
Challenge A
"""
import numpy as np
def bus(stations):
a = np.array(("","",""))
for i in range(3):
a[i] = stations[i]
s = np.unique(a)
if len(s)==1:
return "No"
elif len(s) > 1:
return "Yes"
else:
return "Problem"
"""
my_string... | [] | 529,643 | 529,644 | u946110577 | 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,657 | 529,658 | u729836751 | 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",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,659 | 529,658 | u729836751 | python |
p02753 | states = input()
if states.find('A') < 0 or states.find('B') < 0:
print('Yes')
else:
print('No') | states = input()
if states.find('A') < 0 or states.find('B') < 0:
print('No')
else:
print('Yes') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,673 | 529,674 | u064728503 | python |
p02753 | states = input()
if states.find('A') < 0 or states.find('b') < 0:
print('Yes')
else:
print('No') | states = input()
if states.find('A') < 0 or states.find('B') < 0:
print('No')
else:
print('Yes') | [
"literal.string.change",
"literal.string.case.change",
"control_flow.branch.if.condition.change",
"call.arguments.change",
"io.output.change"
] | 529,675 | 529,674 | u064728503 | 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,692 | 529,693 | u309423187 | 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,692 | 529,694 | u309423187 | python |
p02753 | s = input()
if s == "AAA":
yn = "Yes"
elif s == "BBB":
yn = "Yes"
else:
yn = "No"
print(yn)
| s = input()
if s == "AAA":
yn = "No"
elif s == "BBB":
yn = "No"
else:
yn = "Yes"
print(yn)
| [
"literal.string.change",
"assignment.value.change"
] | 529,696 | 529,697 | u038887660 | python |
p02753 | stations = input()
if (not "A" in stations) or ("B" in stations):
print("No")
else:
print("Yes") | stations = input()
if (not "A" in stations) or (not "B" in stations):
print("No")
else:
print("Yes") | [
"control_flow.branch.if.condition.change"
] | 529,705 | 529,706 | u103520789 | python |
p02753 | unkoujyokyo=input()
if unkoujyokyo == 'AAA':
print('Yes')
elif unkoujyokyo == 'BBB':
print('Yes')
else:
print('No') | unkoujyokyo=input()
if unkoujyokyo == 'AAA':
print('No')
elif unkoujyokyo == 'BBB':
print('No')
else:
print('Yes') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,716 | 529,717 | u391819434 | python |
p02753 | a,b,c=input()
if a==b and b==c:
print("NO")
else:
print("YES")
| a,b,c=input()
if a==b and b==c:
print("No")
else:
print("Yes")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,727 | 529,728 | u425236751 | python |
p02753 | a,b,c=input()
if a==b and b==c:
print("YES")
else:
print("NO")
| a,b,c=input()
if a==b and b==c:
print("No")
else:
print("Yes")
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,729 | 529,728 | u425236751 | python |
p02753 | a,b,c=input()
if a==b and b==C:
print("YES")
else:
print("NO") | a,b,c=input()
if a==b and b==c:
print("No")
else:
print("Yes")
| [
"identifier.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,730 | 529,728 | u425236751 | python |
p02753 | s=input()
if s=="AAA" or s=="BBB":
print("Yes\n")
else:
print("No\n") | s=input()
if s=="AAA" or s=="BBB":
print("No\n")
else:
print("Yes\n") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,733 | 529,734 | u088895504 | python |
p02753 | a = input()
if a=="AAA" or "BBB":
print("No")
else:
print("Yes")
| a = input()
if a=="AAA" or a=="BBB":
print("No")
else:
print("Yes") | [
"control_flow.branch.if.condition.change"
] | 529,743 | 529,744 | u267029978 | python |
p02753 | a = input()
b = a[0]
c = False
for i in range(len(a)):
if a[i] != b:
c = True
print("Yes")
return
print("No") | a = input()
b = a[0]
c = False
for i in range(len(a)):
if a[i] != b:
c = True
if c:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.add",
"function.return_value.change"
] | 529,745 | 529,746 | u617228707 | python |
p02753 | s=str(input())
if s=="AAA" or s=="BBB":
print("no")
else :
print("yes") | s=str(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"
] | 529,747 | 529,748 | u674959030 | python |
p02753 | s = input()
s = set(list(s))
if len(s) == 1:
print('Yes')
else:
print('No') | s = input()
s = set(list(s))
if len(s) != 1:
print('Yes')
else:
print('No') | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 529,757 | 529,758 | u314585898 | python |
p02753 | s = input()
s = set(s)
if len(s) == 1:
print('Yes')
else:
print('No') | s = input()
s = set(list(s))
if len(s) != 1:
print('Yes')
else:
print('No') | [
"call.add",
"call.arguments.change",
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 529,759 | 529,758 | u314585898 | python |
p02753 | S=input()
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') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,769 | 529,770 | u076306174 | python |
p02753 | S = input()
print("No" if S.count(A) == 3 or S.count(B) ==3 else "Yes") | S = input()
print("No" if S.count("A") == 3 or S.count("B") ==3 else "Yes")
| [
"call.arguments.change"
] | 529,771 | 529,772 | u360085167 | python |
p02753 | s = input()
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")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,777 | 529,778 | u010439424 | python |
p02753 | s=input()
s=list(s)
print(s)
if "A" not in s or "B" not in s:
print("No")
else:
print("Yes") | s=input()
s=list(s)
if "A" not in s or "B" not in s:
print("No")
else:
print("Yes") | [
"call.remove"
] | 529,815 | 529,816 | u049725710 | python |
p02753 | s= input()
if "AB" in s or "BA" in s:
print("YES")
else:
print("NO") | s= input()
if "AB" in s or "BA" in s:
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,834 | 529,835 | u674190122 | 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"
] | 529,836 | 529,837 | u309753263 | python |
p02753 | a=input()
p1=a[0]
p2=a[1]
p3=a[3]
if p1==p2==p3:
print("No")
else:
print("Yes") | a=input()
p1=a[-1]
p2=a[0]
p3=a[1]
if p1==p2==p3:
print("No")
else:
print("Yes") | [
"assignment.variable.change",
"identifier.change"
] | 529,844 | 529,845 | u912672208 | python |
p02753 | a=input()
p1=a[0]
p2=a[1]
p3=a[3]
if p1==p2==p3:
print("No")
else:
print("Yes") | a=input()
p1=a[-1]
p2=a[0]
p3=a[1]
if p1==p2==p3:
print("No")
else:
print("Yes") | [
"assignment.variable.change",
"identifier.change"
] | 529,846 | 529,845 | u912672208 | python |
p02753 | a=input()
p1=a[0]
p2=a[1]
p3=a[3]
if p1==p2==p3:
print("No")
else:
print("Yes") | a=input()
p1=a[-1]
p2=a[0]
p3=a[1]
if p1==p2==p3:
print("No")
else:
print("Yes") | [
"assignment.variable.change",
"identifier.change"
] | 529,847 | 529,845 | u912672208 | python |
p02753 | a, b, c = input()
s=set([a, b, c])
if len(s)==1:
print("NO")
else:
print("YES") | a, b, c = input()
s=set([a, b, c])
if len(s)==1:
print("No")
else:
print("Yes") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,852 | 529,853 | u604269317 | python |
p02753 | a=input()
if a.count("A")>=1 & a.count("B")>=1:
print("Yes")
else:
print("No") | a=input()
if a.count("A")>=1 and a.count("B")>=1:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 529,857 | 529,858 | u133091725 | python |
p02753 | def resolve():
import sys
input = sys.stdin.readline
s = input()
print("No" if s == "AAA" or s == "BBB" else "Yes")
resolve() | def resolve():
import sys
input = sys.stdin.readline
s = input().rstrip()
print("No" if s == "AAA" or s == "BBB" else "Yes")
resolve() | [
"call.add"
] | 529,870 | 529,871 | u585672587 | python |
p02753 | s=set(input())
if not len(s)%2==0:
print("NO")
else:
print("YES") | s=set(input())
if not len(s)%2==0:
print("No")
else:
print("Yes") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,872 | 529,873 | u071361440 | 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')
| [
"control_flow.branch.if.condition.change"
] | 529,885 | 529,886 | u609093494 | python |
p02753 | s = list(input().split())
if s[0] == s[1] and s[1] == s[2]:
print('No')
else:
print('Yes') | s = list(input())
if s[0] == s[1] and s[1] == s[2]:
print('No')
else:
print('Yes')
| [
"call.remove"
] | 529,894 | 529,895 | u479638406 | python |
p02753 | x = input()
if len(set(x))==1:
print("NO")
else:
print("YES")
| x = input()
if len(set(x))==1:
print("No")
else:
print("Yes")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,896 | 529,897 | u291132512 | python |
p02753 | s = input()
if (s[0] != s[1] or s[0] != s[2]):
print("yes")
else:
print("no") | s = input()
if (s[0] != s[1] or s[0] != s[2]):
print("Yes")
else:
print("No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,904 | 529,905 | u306878731 | python |
p02753 | s = input()
if s == 'B'*len(s) or s == 'A'*len(s):
print("NO")
else:
print("YES") | s = input()
if s == 'B'*len(s) or s == 'A'*len(s):
print("No")
else:
print("Yes")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,936 | 529,937 | u844028869 | python |
p02753 | s = input()
if s == 'B'*len(s) or s == 'A'*len(s):
print("NO")
else:
print("YES")
| s = input()
if s == 'B'*len(s) or s == 'A'*len(s):
print("No")
else:
print("Yes")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 529,938 | 529,937 | u844028869 | python |
p02753 | import math
import string
import itertools
import fractions
import heapq
import collections
import re
import array
import bisect
import sys
import random
import time
inf = 10**9
def main():
s = input()
if s == 'AAA' or s == 'BBB':
print("Yes")
else:
print('No')
if __name__ == '__main__':... | import math
import string
import itertools
import fractions
import heapq
import collections
import re
import array
import bisect
import sys
import random
import time
inf = 10**9
def main():
s = input()
if s == 'AAA' or s == 'BBB':
print("No")
else:
print('Yes')
if __name__ == '__main__':... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,955 | 529,956 | u217556271 | python |
p02753 | import math
import string
import itertools
import fractions
import heapq
import collections
import re
import array
import bisect
import sys
import random
import time
inf = 10**9
def main():
s = input()
if s == 'AAA' or 'BBB':
print("Yes")
else:
print('No')
if __name__ == '__main__':
... | import math
import string
import itertools
import fractions
import heapq
import collections
import re
import array
import bisect
import sys
import random
import time
inf = 10**9
def main():
s = input()
if s == 'AAA' or s == 'BBB':
print("No")
else:
print('Yes')
if __name__ == '__main__':... | [
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 529,957 | 529,956 | u217556271 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.