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 | stations = input()
print('No') if len(set(stations)) == 0 else print('Yes') | stations = input()
print('No') if len(set(stations)) == 1 else print('Yes') | [
"literal.number.integer.change"
] | 530,688 | 530,689 | u652522621 | python |
p02753 | a = input()
if not a == "AAA" or a =="BBB":
print("Yes")
else:
print("No")
| a = input()
if not (a == "AAA" or a =="BBB"):
print("Yes")
else:
print("No")
| [
"control_flow.branch.if.condition.change"
] | 530,690 | 530,691 | u788337030 | python |
p02753 | word = input()
if word[0:0] == word[1:1] and word[0:0] == word[2:2] :
print("No")
else : print("Yes") | word = input()
if word[0:1] == word[1:2] and word[0:1] == word[2:] :
print("No")
else : print("Yes") | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 530,703 | 530,704 | u303117012 | python |
p02753 | Flag = 0
S = input()
SA = [str(c) for c in S]
#A = list(['A','A','A'])
#B = list(['B','B','B'])
S1 = SA[1]
S2 = SA[2]
S3 = SA[3]
if(S1 == S2 == S3):
print("No")
else:
print("Yes") | Flag = 0
S = input()
SA = [str(c) for c in S]
#A = list(['A','A','A'])
#B = list(['B','B','B'])
S1 = SA[0]
S2 = SA[1]
S3 = SA[2]
if(S1 == S2 == S3):
print("No")
else:
print("Yes") | [
"assignment.variable.change",
"identifier.change"
] | 530,709 | 530,710 | u076303440 | python |
p02753 | S = input()
g=input()
f = list(g)
h =set(f)
k = list(h)
if len(h)==1:
print('No')
else :
print('Yes') | g=input()
f = list(g)
h =set(f)
k = list(h)
if len(h)==1:
print('No')
else :
print('Yes') | [
"assignment.remove"
] | 530,721 | 530,722 | u283853418 | python |
p02753 | S = input().split()
if len(S)==3 and S.count('A')==2 or S.count('B')==2:
print('Yes')
else:
print('No') | S = input()
if len(S)==3 and S.count('A')==2 or S.count('B')==2:
print('Yes')
else:
print('No') | [
"call.remove"
] | 530,761 | 530,762 | u194637581 | 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"
] | 530,778 | 530,779 | u981206782 | python |
p02753 | S = input()
a = S.count("A")
if a == 3:
print("No")
else:
print("Yes") | S = input()
a = S.count("A")
if a == 3 or a == 0:
print("No")
else:
print("Yes") | [
"control_flow.branch.if.condition.change"
] | 530,796 | 530,797 | u257084573 | python |
p02753 | from sys import stdin
#T = int(stdin.readline())
S = stdin.readline().strip()
print(S)
if S == "AAA" or S == "BBB":
print('No')
else:
print('Yes') | from sys import stdin
#T = int(stdin.readline())
S = stdin.readline().strip()
if S == "AAA" or S == "BBB":
print('No')
else:
print('Yes') | [
"call.remove"
] | 530,811 | 530,812 | u789836448 | python |
p02753 | sta = input()
s1 = sta[0]
s2 = sta[1]
s3 = sta[2]
if s1 == s2 and s2 == s3:
print("Yes")
else:
print("No") | sta = input()
s1 = sta[0]
s2 = sta[1]
s3 = sta[2]
if s1 == s2 and s2 == s3:
print("No")
else:
print("Yes") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 530,820 | 530,821 | u508842013 | python |
p02753 | sta = input()
s1 = sta[0]
s2 = sta[1]
s3 = sta[2]
if s1 == s2 == s3:
print("Yes")
else:
print("No") | sta = input()
s1 = sta[0]
s2 = sta[1]
s3 = sta[2]
if s1 == s2 and s2 == s3:
print("No")
else:
print("Yes") | [
"control_flow.branch.if.condition.change",
"call.remove",
"call.add"
] | 530,823 | 530,821 | u508842013 | python |
p02753 | S = [x for x in input()]
if 'A' in S and 'B' in S:
print("YEs")
else:
print("No") | S = [x for x in 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"
] | 530,832 | 530,833 | u703155207 | python |
p02753 | S = input()
cnt = 0
for i in len(S):
if S[i] == 'A':
cnt = cnt +1
if cnt == 3 or cnt == 0:
print('No')
else:
print('Yes') | S = input()
cnt = 0
for i in range(3):
if S[i] == 'A':
cnt = cnt +1
if cnt == 3 or cnt == 0:
print('No')
else:
print('Yes') | [
"identifier.change",
"call.function.change",
"identifier.replace.remove",
"literal.replace.add",
"call.arguments.change"
] | 530,849 | 530,850 | u869917163 | 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"
] | 530,857 | 530,858 | u370331385 | python |
p02753 | print("No" if set(input())==1 else "Yes") | print("No" if len(set(input()))==1 else "Yes") | [
"call.add",
"call.arguments.change"
] | 530,900 | 530,901 | u702018889 | python |
p02753 | S=input()
a=[]
b=[]
for i in range(3):
if S[i]=="A":
a+=[S[i]]
else:
b+=["B"]
if len(a)==3 or len(b)==3:
print("Yes")
else:
print("No") | S=input()
a=[]
b=[]
for i in range(3):
if S[i]=="A":
a+=[S[i]]
else:
b+=["B"]
if len(a)==3 or len(b)==3:
print("No")
else:
print("Yes")
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 530,921 | 530,922 | u692311686 | python |
p02753 | S = input()
if S[0] == 'A' and S[1] == 'A' and S[2] == 'A':
print('NO')
elif S[0] == 'B' and S[1] == 'B' and S[2] == 'B':
print('NO')
else:
print('YES') | S = input()
if S[0] == 'A' and S[1] == 'A' and S[2] == 'A':
print('No')
elif S[0] == 'B' and S[1] == 'B' and S[2] == 'B':
print('No')
else:
print('Yes') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 530,955 | 530,956 | u098569005 | python |
p02753 | S = input()
if "AA" in S or "BB" in S:
print("No")
else:
print("Yes")
| S = input()
if "AAA" == S or "BBB" == S:
print("No")
else:
print("Yes")
| [
"literal.string.change",
"control_flow.branch.if.condition.change"
] | 530,957 | 530,958 | u513434790 | python |
p02753 | s=input()
print("Yes" if len(set(s))==1 else "No") | s=input()
print("Yes" if len(set(s))==2 else "No") | [
"literal.number.integer.change",
"call.arguments.change",
"io.output.change"
] | 531,015 | 531,016 | u374841433 | python |
p02753 | s=input()
print("Yes" if lens(set(s))==1 else "No") | s=input()
print("Yes" if len(set(s))==2 else "No") | [
"identifier.change",
"call.function.change",
"call.arguments.change",
"io.output.change",
"literal.number.integer.change"
] | 531,017 | 531,016 | u374841433 | python |
p02753 | SSS = input()
KKK = "NO"
NNN = []
NNN = list(SSS)
if NNN[0] != NNN[1] or NNN[0] != NNN[2]:
KKK = "YES"
print(KKK) | SSS = input()
KKK = "No"
NNN = []
NNN = list(SSS)
if NNN[0] != NNN[1] or NNN[0] != NNN[2]:
KKK = "Yes"
print(KKK) | [
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 531,024 | 531,025 | u529500825 | 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"
] | 531,028 | 531,029 | u246809151 | python |
p02753 | S=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')
| [
"call.add",
"call.arguments.change",
"literal.string.change",
"io.output.change"
] | 531,030 | 531,029 | u246809151 | python |
p02753 | S=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')
| [
"call.add",
"call.arguments.change",
"literal.string.change",
"io.output.change"
] | 531,031 | 531,029 | u246809151 | python |
p02753 | print("Yes" if len(set(input())) == 1 else "No") | print("Yes" if len(set(input())) != 1 else "No") | [
"misc.opposites",
"expression.operator.compare.change",
"call.arguments.change",
"io.output.change"
] | 531,036 | 531,037 | u889914341 | python |
p02753 | s = input()
if len(set(s)) == 1:
print("Yes")
else:
print("No")
| s = input()
if len(set(s)) == 1:
print("No")
else:
print("Yes") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 531,054 | 531,055 | u989157442 | 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"
] | 531,078 | 531,079 | u034459102 | python |
p02753 | inputs = list(input())
print(inputs)
if inputs[0] == inputs[1] and inputs[1] == inputs[2]:
print('No')
else:
print('Yes') | inputs = list(input())
if inputs[0] == inputs[1] and inputs[1] == inputs[2]:
print('No')
else:
print('Yes') | [
"call.remove"
] | 531,090 | 531,091 | u646244131 | python |
p02753 | abc=str(input())
a=abc[0]
b=abc[1]
c=abc[2]
if a == b and b==c and c==a:
print("Yes")
else:
print("No") | abc=str(input())
a=abc[0]
b=abc[1]
c=abc[2]
if a == b and b==c and c==a:
print("No")
else:
print("Yes") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 531,127 | 531,128 | u546104065 | 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"
] | 531,131 | 531,132 | u794910686 | python |
p02753 | #A
s = set(list(input()))
print(s)
print("Yes") if len(s) == 2 else print("No")
| #A
s = set(list(input()))
print("Yes") if len(s) == 2 else print("No")
| [
"call.remove"
] | 531,161 | 531,162 | u448659077 | python |
p02753 | # coding: utf-8
def main():
in_data = input()
if (in_data == 'AAA' or
in_data == 'BBB'):
print('NO')
else:
print('YES')
return 0
if __name__ == '__main__':
main()
| # coding: utf-8
def main():
in_data = input()
if (in_data == 'AAA' or
in_data == 'BBB'):
print('No')
else:
print('Yes')
return 0
if __name__ == '__main__':
main()
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 531,163 | 531,164 | u228026606 | python |
p02753 | s = input()
a = s[0]
if a == s[1] and a == s[2]:
print('Yes')
else:
print('No')
| s = input()
a = s[0]
if a == s[1] and a == s[2]:
print('No')
else:
print('Yes') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 531,169 | 531,170 | u952467214 | 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"
] | 531,190 | 531,191 | u305885563 | python |
p02753 | text = input()
if text == "AAA" or text == "BBB":
print("NO")
else:
print("YES") | text = str(input())
if text == "AAA" or text == "BBB":
print("No")
else:
print("Yes") | [
"call.add",
"call.arguments.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 531,216 | 531,217 | u082122024 | python |
p02753 | a = list(input())
print(a)
if a[0] == a[1] and a[1] == a[2]:
print('No')
else:
print('Yes') | a = list(input())
if a[0] == a[1] and a[1] == a[2]:
print('No')
else:
print('Yes') | [
"call.remove"
] | 531,247 | 531,248 | u441332760 | 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')
| [
"call.arguments.change"
] | 531,249 | 531,250 | u483331319 | python |
p02753 | s = input()
ans = 'Yes'
if s == "AAA" or a == "BBB":
ans = "No"
print(ans)
| s = input()
ans = 'Yes'
if s == "AAA" or s == "BBB":
ans = "No"
print(ans) | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 531,257 | 531,258 | u026002792 | python |
p02753 | s = input()
if s[0] == 'A' and s[1] == 'A' and s[2] == 'A':
print('No')
if s[0] == 'B' and s[1] == 'B' and s[2] == 'B':
print('No')
else:
print('Yes') |
s = input()
if s[0] == 'A' and s[1] == 'A' and s[2] == 'A':
print('No')
elif s[0] == 'B' and s[1] == 'B' and s[2] == 'B':
print('No')
else:
print('Yes') | [
"control_flow.branch.if.replace.remove",
"control_flow.branch.else_if.replace.add"
] | 531,275 | 531,276 | u934099192 | python |
p02753 | s = input()
res = "Yes" if len(set(s)) < 3 else 'No'
print(res) | s = input()
res = "Yes" if len(set(s)) != 1 else 'No'
print(res) | [] | 531,289 | 531,290 | u296759470 | python |
p02753 | n = list(input())
s = 'S'
ans = 'NO'
for i in range(3):
s = n[i]
if i <= 1:
if s != n[i+1]:
ans = 'YES'
print(ans)
| n = list(input())
s = 'S'
ans = 'No'
for i in range(3):
s = n[i]
if i <= 1:
if s != n[i+1]:
ans = 'Yes'
print(ans) | [
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 531,297 | 531,298 | u207576418 | python |
p02753 | S = input().rstrip()
if 'AB' in S or 'BA' in S:
print('YES')
else:
print('NO') | S = input().rstrip()
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"
] | 531,303 | 531,304 | u482789362 | python |
p02753 | s = input()
flag = 0
print(s)
for i in range(3):
for j in range(3):
if s[i] != s[j]:
flag =1
if flag ==1 :
print("Yes")
else:
print("No") | s = input()
flag = 0
for i in range(3):
for j in range(3):
if s[i] != s[j]:
flag =1
if flag ==1 :
print("Yes")
else:
print("No") | [
"call.remove"
] | 531,305 | 531,306 | u428416104 | python |
p02753 | s = input()
print("Yes" if s.count("A") == 0 or s.count("B") == 0 else "No") | s = input()
print("No" if s.count("A") == 0 or s.count("B") == 0 else "Yes") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 531,328 | 531,329 | u123525541 | python |
p02753 | s = input()
print("No" if set(s) == 1 else "Yes") | s = input()
print("No" if len(set(s)) == 1 else "Yes") | [
"call.add",
"call.arguments.change"
] | 531,338 | 531,339 | u599547273 | python |
p02753 | x = set(list(input()))
print('Yes' if len(x)==1 else 'No') | x = set(list(input()))
print('No' if len(x)==1 else 'Yes') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 531,364 | 531,365 | u089376182 | python |
p02753 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
def main():
S = input()
print('Yes'if 1 < S.count('A') < 3else 'No')
if __name__ == "__main__":
main()
| #!/usr/bin/env python3
# -*- coding: utf-8 -*-
def main():
S = input()
print('Yes'if 0 < S.count('A') < 3 else 'No')
if __name__ == "__main__":
main()
| [
"literal.number.integer.change",
"call.arguments.change",
"io.output.change"
] | 531,380 | 531,381 | u143212659 | python |
p02753 | # li = [[0] * 4 for i in range(3)]
# A = list.map(int, input().split())
A = input()
if A[0] == A[1] and A[1] == A[2]:
print("Yes")
else:
print("No")
| # li = [[0] * 4 for i in range(3)]
# A = list.map(int, input().split())
A = input()
if A[0] == A[1] and A[1] == A[2]:
print("No")
else:
print("Yes")
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 531,382 | 531,383 | u910426639 | python |
p02753 | s = str(input())
if s in ['AAA', 'BBB']:
print('Yes')
else:
print('No') | s = str(input())
if s in ['AAA', 'BBB']:
print('No')
else:
print('Yes') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 531,406 | 531,407 | u405012111 | python |
p02753 | s = str(input())
if s == 'AAA' or s == 'BBB':
print('No')
print('Yes') | s = str(input())
if s == 'AAA' or s == 'BBB':
print('No')
exit()
print('Yes') | [
"call.add"
] | 531,416 | 531,417 | u024450350 | python |
p02753 | s = input().rstrip()
if len(set(s)) == 1:
print("Yes")
else:
print("No")
| s = input().rstrip()
if len(set(s)) == 2:
print("Yes")
else:
print("No")
| [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 531,424 | 531,425 | u866746776 | 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"
] | 531,438 | 531,439 | u623687794 | python |
p02753 | S = input()
s = set(input())
print('Yes' if len(s)>1 else 'No')
| s = set(input())
print('Yes' if len(s)>1 else 'No')
| [
"assignment.remove"
] | 531,450 | 531,451 | u103902792 | python |
p02753 | s = input()
if not 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')
| [
"control_flow.branch.if.condition.change"
] | 531,468 | 531,469 | u660245210 | python |
p02753 | s = int(input())
if not 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",
"call.arguments.change",
"control_flow.branch.if.condition.change"
] | 531,470 | 531,469 | u660245210 | python |
p02753 | S = input()
unique_n = len(set([S[0], S[1], S[2]]))
if unique_n == 1:
ans="Yes"
else :
ans = "No"
print(ans) | S = input()
unique_n = len(set([S[0], S[1], S[2]]))
if unique_n == 1:
ans="No"
else :
ans = "Yes"
print(ans) | [
"literal.string.change",
"assignment.value.change"
] | 531,488 | 531,489 | u082978753 | python |
p02753 | import sys, bisect, math, itertools, string, queue, copy
# import numpy as np
# import scipy
from collections import Counter,defaultdict,deque
from itertools import permutations, combinations
from heapq import heappop, heappush
# input = sys.stdin.readline
sys.setrecursionlimit(10**8)
mod = 10**9+7
def inp(): return in... | import sys, bisect, math, itertools, string, queue, copy
# import numpy as np
# import scipy
from collections import Counter,defaultdict,deque
from itertools import permutations, combinations
from heapq import heappop, heappush
# input = sys.stdin.readline
sys.setrecursionlimit(10**8)
mod = 10**9+7
def inp(): return in... | [
"call.remove"
] | 531,492 | 531,493 | u937642029 | python |
p02753 | s = input()
s = split(s)
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")
| [
"assignment.remove"
] | 531,508 | 531,509 | u793666115 | python |
p02753 | A = set(list(input()))
print(A)
if len(A) == 1:
print("No")
else:
print("Yes")
| A = set(list(input()))
if len(A) == 1:
print("No")
else:
print("Yes")
| [
"call.remove"
] | 531,516 | 531,517 | u795688372 | python |
p02753 | A = set(input().split())
if len(A) == 1:
print("No")
else:
print("Yes")
| A = set(list(input()))
if len(A) == 1:
print("No")
else:
print("Yes")
| [
"call.add",
"call.remove"
] | 531,518 | 531,517 | u795688372 | python |
p02753 | S = input()
if S[1] == S[2] == S[3]:
print("No")
else:
print("Yes") | S = input()
if S[1] == S[2] == S[0]:
print("No")
else:
print("Yes") | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 531,523 | 531,524 | u200527996 | python |
p02753 | s = input()
ans='No'
if s=='AAA': ans='Yes'
if s=='BBB': ans='Yes'
print(ans)
| s = input()
ans='Yes'
if s=='AAA': ans='No'
if s=='BBB': ans='No'
print(ans)
| [
"literal.string.change",
"assignment.value.change"
] | 531,571 | 531,572 | u833492079 | python |
p02753 | import sys
read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
def main():
s = readline().strip()
if s == "BBB":
print("No")
else:
print("Yes")
if __name__ == "__main__":
main()
| import sys
read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
def main():
s = readline().strip()
if s == "BBB" or s == "AAA":
print("No")
else:
print("Yes")
if __name__ == "__main__":
main()
| [
"control_flow.branch.if.condition.change"
] | 531,583 | 531,584 | u638456847 | python |
p02753 | s = input()
if len(sorted(s)) == 1:
print("No")
else:
print("Yes") | s = input()
if len(set(s)) == 1:
print("No")
else:
print("Yes") | [
"identifier.change",
"call.function.change",
"control_flow.branch.if.condition.change"
] | 531,589 | 531,590 | u672898046 | 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"
] | 531,591 | 531,592 | u190735555 | 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"
] | 531,611 | 531,612 | u054009936 | python |
p02753 | s = set(input())
if(len(s) == 2):
print('Yes')
else:
print('NO')
| s = set(input())
if(len(s) == 2):
print('Yes')
else:
print('No')
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 531,619 | 531,620 | u636290142 | python |
p02753 | S = input()
print("Yes" if S.count("A")*S.count("B") > 0 else "NO") | S = input()
print("Yes" if S.count("A")*S.count("B") > 0 else "No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 531,627 | 531,628 | u503111914 | python |
p02753 | a = str(input())
if a == "AAA"or"BBB":
print("No")
else:
print("Yes") | a = str(input())
if a == "AAA" or a == "BBB":
print("No")
else:
print("Yes")
| [
"control_flow.branch.if.condition.change"
] | 531,663 | 531,664 | u686713618 | python |
p02754 | n, a, b = map(int, input().split())
c = a + b
div = n // c
mod = n % c
if mod > a:
mod -= a
ans = div * a + mod
print(ans)
| n, a, b = map(int, input().split())
c = a + b
div = n // c
mod = n % c
if mod > a:
mod = a
ans = div * a + mod
print(ans)
| [
"assignment.value.change"
] | 531,689 | 531,690 | u571537830 | python |
p02754 | N, A, B = map(int, input().split())
ans = A*(N//(A+B)) + N%(A+B)
print(ans) | N, A, B = map(int, input().split())
ans = A*(N//(A+B)) + min(N%(A+B), A)
print(ans) | [
"call.add",
"call.arguments.add"
] | 531,710 | 531,711 | u267718666 | python |
p02754 | n, a, b = map(int, input().split())
ans = 0
ans = (n//(a+b)) * a
if n%(a+b) > b:
ans += b
else:
ans += n%(a+b)
print(ans) | n, a, b = map(int, input().split())
ans = 0
ans = (n//(a+b)) * a
if n%(a+b) > a:
ans += a
else:
ans += n%(a+b)
print(ans) | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 531,727 | 531,728 | u022215787 | python |
p02754 | N,A,B = map(int,input().split())
if A == 1:
print(0)
exit(0)
first = (N // (A+B))*A
second = min(A, N % (A+B))
ans = first + second
print(ans) | N,A,B = map(int,input().split())
if A == 0:
print(0)
exit(0)
first = (N // (A+B))*A
second = min(A, N % (A+B))
ans = first + second
print(ans) | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 531,736 | 531,737 | u282813849 | python |
p02754 | N,A,B = map(int, input().split())
blue = N//(A+B)*A + N%(A+B)
print(blue) | N,A,B = map(int, input().split())
# 11 3 3
# bbbrrr bbbrr
blue = N//(A+B)*A + min(N%(A+B),A)
print(blue) | [
"call.add",
"call.arguments.add"
] | 531,738 | 531,739 | u365156087 | python |
p02754 | N,A,B = map(int, input().split())
blue = N//(A+B)*A + N%(A+B)
print(blue) | N,A,B = map(int, input().split())
blue = N//(A+B)*A + min(N%(A+B), A)
print(blue) | [
"call.add",
"call.arguments.add"
] | 531,738 | 531,740 | u365156087 | python |
p02754 | n,a,b=map(int,input().split())
p=a+b
c=n%p
d=n//p
if d<a:
print(c*a+d)
else:
print((c+1)*a) | n,a,b=map(int,input().split())
p=a+b
c=n%p
d=n//p
if c<a:
print(d*a+c)
else:
print((d+1)*a) | [
"identifier.change",
"control_flow.branch.if.condition.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 531,757 | 531,758 | u800058906 | python |
p02754 | n,a,b=map(int,input().split())
print(a*(n//(a+b))+n%(a+b)) | n,a,b=map(int,input().split())
print(a*(n//(a+b))+min(a,n%(a+b))) | [
"call.add",
"call.arguments.change"
] | 531,776 | 531,777 | u313890617 | python |
p02754 | n,a,b=map(int,input().split())
x=n//(a+b)
y=n%(a+b)
if(y>=a):
print(x*a+a)
else:
a*x+y | n,a,b=map(int,input().split())
x=n//(a+b)
y=n%(a+b)
if(y>=a):
print(x*a+a)
else:
print(a*x+y) | [
"call.add",
"call.arguments.change"
] | 531,788 | 531,789 | u512551187 | python |
p02754 | N,A,B=map(int,input().split())
print(A*N//(A+B)+min(A,N%(A+B))) | N,A,B=map(int,input().split())
print(A*(N//(A+B))+min(A,N%(A+B))) | [
"call.arguments.change"
] | 531,794 | 531,795 | u414699019 | python |
p02754 | n,a,b=map(int,input().split())
t=a+b
if n%t<=a:
diff=n%t
else:
diff=a
print(a*n//t+diff) | n,a,b=map(int,input().split())
t=a+b
if n%t<=a:
diff=n%t
else:
diff=a
print(a*(n//t)+diff) | [
"call.arguments.change"
] | 531,796 | 531,797 | u809819902 | python |
p02754 | N,A,B = map(int,input().split())
n = N//(A+B)
m = N%(A+B)
k = max(0,m-A)
print(n*B+k) | N,A,B = map(int,input().split())
n = N//(A+B)
m = N%(A+B)
k = min(m,A)
print(n*A+k) | [
"misc.opposites",
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 531,800 | 531,801 | u644907318 | python |
p02754 | n,a,b=map(int,input().split())
x=n*a//(a+b)
y=n%(a+b)
if y<=a:
print(x+y)
else:
print(x+a) | n,a,b=map(int,input().split())
x=n//(a+b)
y=n%(a+b)
if y<=a:
print(a*x+y)
else:
print(a*x+a) | [
"expression.operation.binary.remove"
] | 531,808 | 531,809 | u910632349 | python |
p02754 | n,a,b=map(int,input().split())
x=n*a//(a+b)
y=n%(a+b)
if y<a:
print(x+y)
else:
print(x+a) | n,a,b=map(int,input().split())
x=n//(a+b)*a
y=n%(a+b)
if y<a:
print(x+y)
else:
print(x+a) | [
"expression.operation.binary.remove"
] | 531,810 | 531,811 | u910632349 | python |
p02754 | n,a,b=map(int,input().split())
x=n*a//(a+b)
y=n%(a+b)
if y<=a:
print(x+y)
else:
print(x+a) | n,a,b=map(int,input().split())
x=n//(a+b)*a
y=n%(a+b)
if y<a:
print(x+y)
else:
print(x+a) | [
"expression.operation.binary.remove",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 531,808 | 531,811 | u910632349 | python |
p02754 | n,a,b = map(int, input().split())
m1 = n // (a + b)
m2 = n % (a + b)
if a ==0:
print(0)
elif a >= n:
print(n)
elif a + b >n:
print(a)
else:
if m2 >= a:
print(m1 * (a +1))
else:
print(m1 * a + m2) | n,a,b = map(int, input().split())
m1 = n // (a + b)
m2 = n % (a + b)
if a ==0:
print(0)
elif a >= n:
print(n)
elif a + b >n:
print(a)
else:
if m2 >= a:
print((m1 + 1) * a )
else:
print(m1 * a + m2) | [
"expression.operation.binary.remove",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 531,820 | 531,821 | u306412379 | python |
p02754 | N,A,B = map(int, input().split())
X = N//(A+B)
Y = N%(A+B)
if Y < B:
print(A*X+Y)
else:
print(A*(X+1)) | N,A,B = map(int, input().split())
X = N//(A+B)
Y = N%(A+B)
if Y < A:
print(A*X+Y)
else:
print(A*(X+1)) | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 531,822 | 531,823 | u829416877 | python |
p02754 | import sys
import numpy as np
import math as mt
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
n, a, b = map(int, readline().split())
ans = a * (n//(a + b))
if n%(a+b) < a:
ans += a-n%(a+b)
else:
ans += a
print(ans)
| import sys
import numpy as np
import math as mt
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
n, a, b = map(int, readline().split())
ans = a * (n//(a + b))
if n%(a+b) < a:
ans += n%(a+b)
else:
ans += a
print(ans)
| [
"expression.operation.binary.remove"
] | 531,832 | 531,833 | u457601965 | python |
p02754 | N, A, B = map(int, input().split())
if A==0:
print(0)
exit(0)
x = N//(A+B)
y = (N - x*(A+B))%A
blue=x*A + (A if y>=A else y%A)
print(blue) | N, A, B = map(int, input().split())
if A==0:
print(0)
exit(0)
x = N//(A+B)
y = (N - x*(A+B))
blue=x*A + (A if y>=A else y%A)
print(blue) | [
"expression.operation.binary.remove"
] | 531,838 | 531,839 | u539367121 | python |
p02754 | N, A, B = map(int, input().split())
pair = N // (A + B)
remain = N % (A + B)
print(A * pair + remain)
| N, A, B = map(int, input().split())
pair = N // (A + B)
remain = N % (A + B)
print(A * pair + min(remain, A))
| [
"call.add",
"call.arguments.add"
] | 531,843 | 531,844 | u364555831 | python |
p02754 | n,a,b = map(int,input().split())
k = n//(a+b)
h = min(a,n%(a+b))
print(k+h)
| n,a,b = map(int,input().split())
k = n//(a+b)
h = min(a,n%(a+b))
print(a*k+h)
| [
"expression.operation.binary.add"
] | 531,856 | 531,857 | u655048024 | python |
p02754 | n, a, b = map(int, input().split())
ans = n//(a+b)*a
n %= (a+b)
if n > a:
ans += n-b
else:
ans += n
print(ans) | n, a, b = map(int, input().split())
ans = n//(a+b)*a
n %= (a+b)
if n > a:
ans += a
else:
ans += n
print(ans) | [
"expression.operation.binary.change",
"expression.operation.binary.remove"
] | 531,860 | 531,861 | u626482123 | python |
p02754 | n,a,b=map(int,input().split())
res=a*n//(a+b)
if n%(a+b)>=a:
res+=a
else:
res+=n%(a+b)
print(res) | n,a,b=map(int,input().split())
res=n//(a+b)*a
if n%(a+b)>=a:
res+=a
else:
res+=n%(a+b)
print(res) | [
"expression.operation.binary.remove"
] | 531,862 | 531,863 | u172748267 | python |
p02754 | n, a, b = map(int, input().split())
x = int(n / (a + b))
y = n - ((a + b) / x)
if y >= a:
z = a
else:
z = y
print(int(a * x + z)) | n, a, b = map(int, input().split())
x = int(n / (a + b))
y = n - ((a + b) * x)
if y >= a:
z = a
else:
z = y
print(int((a * x) + z)) | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change",
"call.arguments.change"
] | 531,881 | 531,882 | u246401133 | python |
p02754 | n, a, b = map(int,input().split())
c = n % (a + b)
d = n // (a + b)
if c <= a:
ans = d * a + c
else:
ans = d * a + a + (a - c)
print(ans) | n, a, b = map(int,input().split())
c = n % (a + b)
d = n // (a + b)
if c <= a:
ans = d * a + c
else:
ans = d * a + a
print(ans) | [
"expression.operation.binary.remove"
] | 531,890 | 531,891 | u607563136 | python |
p02754 | n, a, b = [int(i) for i in input().split()]
l = n % (a+b)
s = n // (a+b)
print(s*a+l) | n, a, b = [int(i) for i in input().split()]
l = min(n % (a+b),a)
s = n // (a+b)
print(s*a+l) | [
"call.add",
"call.arguments.add"
] | 531,894 | 531,895 | u185297444 | python |
p02754 | N, A, B = map(int,input().split())
x = N // (A + B)
y = N % (A + B)
ans = x * A + y
print(ans) | N, A, B = map(int,input().split())
x = N // (A + B)
y = N % (A + B)
ans = x * A + min(y,A)
print(ans) | [
"call.add",
"call.arguments.add"
] | 531,902 | 531,903 | u569776981 | python |
p02754 | N, A, B = map(int, input().split())
M = N // (A + B)
print(A * M + N - M * (A + B)) | N, A, B = map(int, input().split())
M = N // (A + B)
print(A * M + min(N - M * (A + B), A)) | [
"call.add",
"call.arguments.add",
"call.arguments.change"
] | 531,904 | 531,905 | u153729035 | python |
p02754 | import sys
N, A, B = map(int, input().split())
if A == 0:
print(0)
sys.exit()
print(A * (N // (A + B)) + N % (A + B)) | import sys
N, A, B = map(int, input().split())
if A == 0:
print(0)
sys.exit()
print(A * (N // (A + B)) + min(A, N % (A + B))) | [
"call.add",
"call.arguments.change"
] | 531,921 | 531,922 | u898109279 | python |
p02754 | #k = int(input())
#s = input()
#a, b = map(int, input().split())
#l = list(map(int, input().split()))
n, a, b = map(int, input().split())
if (a == 0):
print (0)
exit()
ans = n // (a+b) * 3
amari = n % (a+b)
if (amari <= a):
ans += amari
else:
ans +=a
print (ans)
| #k = int(input())
#s = input()
#a, b = map(int, input().split())
#l = list(map(int, input().split()))
n, a, b = map(int, input().split())
if (a == 0):
print (0)
exit()
ans = n // (a+b) * a
amari = n % (a+b)
if (amari <= a):
ans += amari
else:
ans +=a
print (ans)
| [
"assignment.value.change",
"identifier.replace.add",
"literal.replace.remove",
"expression.operation.binary.change"
] | 531,949 | 531,950 | u330799501 | python |
p02754 | s = input()
n, a, b = s.split(' ')
n = int(n)
a = int(a)
b = int(b)
na = n / (a+b) * a
if n % (a+b) >= a :
na += a
else:
na += n % (a+b)
print(na) | s = input()
n, a, b = s.split(' ')
n = int(n)
a = int(a)
b = int(b)
na = n // (a+b) * a
if n % (a+b) >= a:
na += a
else:
na += (n % (a + b))
print(na) | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 531,959 | 531,960 | u763177133 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.