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 |
|---|---|---|---|---|---|---|---|
p02723 | s=int(input())
if s[2]==s[3] and s[4]==s[5]:
print("Yes")
else:
print("No") | s=input()
if s[2]==s[3] and s[4]==s[5]:
print("Yes")
else:
print("No") | [
"call.remove",
"call.arguments.change"
] | 494,739 | 494,740 | u388297793 | python |
p02723 | a,b,c,d,e,f = input()
if c == d or e == f:
print("Yes")
else:
print("No") | a,b,c,d,e,f = input()
if c == d and e == f:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 494,763 | 494,764 | u239091426 | python |
p02723 | # A Coffee
S = input()
if S[2] == S[3] and S[4] == S[5]:
print("Yes")
else:
print("") | # A Coffee
S = input()
if S[2] == S[3] and S[4] == S[5]:
print("Yes")
else:
print("No") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 494,775 | 494,776 | u929217794 | python |
p02723 | s=input();print('NYOE S'[s[2]==s[3]and s[4]==s[5]::2]) | s=input();print('NYoe s'[s[2]==s[3]and s[4]==s[5]::2]) | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 494,777 | 494,778 | u014333473 | python |
p02723 | s = input()
print('Yes') if s[2]==s[3] and s[4] == s[5] else ('No') | s = input()
print('Yes') if s[2]==s[3] and s[4]==s[5] else print('No') | [
"io.output.change",
"call.add"
] | 494,804 | 494,805 | u640319601 | python |
p02723 | s = input()
print('yes') if s[2]==s[3] and s[4]==s[5] else print('No') | s = input()
print('Yes') if s[2]==s[3] and s[4]==s[5] else print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 494,806 | 494,805 | u640319601 | python |
p02723 | a=list(str(input()))
if a[2]==a[3] and a[4]==a[5]:
print('yes')
else:
print('no')
| a=list(str(input()))
if a[2]==a[3] and a[4]==a[5]:
print('Yes')
else:
print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 494,819 | 494,820 | u248670151 | python |
p02723 | a=list(str(input()))
if a[2]==a[3] or a[4]==a[5]:
print('Yes')
else:
print('No') | a=list(str(input()))
if a[2]==a[3] and a[4]==a[5]:
print('Yes')
else:
print('No') | [
"control_flow.branch.if.condition.change"
] | 494,821 | 494,820 | u248670151 | python |
p02723 | s = list(input())
if s[2] == s[3] & s[4] == s[5]:
print("Yes")
else:
print("No") | s = list(input())
if s[2] == s[3] and s[4] == s[5]:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 494,824 | 494,825 | u283751459 | python |
p02723 | S = input()
if S[3] == S[4] and S[5]==S[6]:
print("Yes")
else:
print("No") | S = input()
if S[3] == S[2] and S[5]==S[4]:
print("Yes")
else:
print("No") | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 494,826 | 494,827 | u536034761 | python |
p02723 | s=input();print("YNeos"[s[2::3]<s[3:5]::2]) | s=input()
print('YNeos'[s[2::3]!=s[3:5]::2]) | [
"literal.string.change",
"call.arguments.change",
"io.output.change",
"expression.operator.compare.change",
"variable_access.subscript.index.change"
] | 494,846 | 494,847 | u729133443 | python |
p02723 | a=list.input()
if a[2]==a[3] and a[4]==a[5]:
print("Yes")
else:
print("No") | a=list(input())
if a[2]==a[3] and a[4]==a[5]:
print("Yes")
else:
print("No") | [
"assignment.value.change",
"call.arguments.change"
] | 494,868 | 494,869 | u021849254 | python |
p02723 | S=input()
if S[2]==S[3] and S[4]==S[5]:
print("Yes")
else:
print("Yes")
| S=input()
if S[2]==S[3] and S[4]==S[5]:
print("Yes")
else:
print("No")
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 494,878 | 494,879 | u367147039 | python |
p02723 | a = str(input().split())
s = list(a)
print(s)
if s[4] == s[5] and s[7] == s[6]:
print("Yes")
else :
print("No") | a = str(input().split())
s = list(a)
if s[4] == s[5] and s[7] == s[6]:
print("Yes")
else :
print("No") | [
"call.remove"
] | 494,882 | 494,883 | u020798319 | python |
p02723 | str_in = input()
ans = "No"
if(str_in[2] == str_in[3] and str_in[2] == str_in[3]):
ans = "Yes"
print(ans) | str_in = input()
ans = "No"
if(str_in[2] == str_in[3] and str_in[4] == str_in[5]):
ans = "Yes"
print(ans) | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 494,890 | 494,891 | u864085306 | python |
p02723 | # A - Coffee
S = int(input())
if S[2]==S[3] and S[4]==S[5]:
print('Yes')
else:
print('No') | # A - Coffee
S = input()
if S[2]==S[3] and S[4]==S[5]:
print('Yes')
else:
print('No') | [
"call.remove",
"call.arguments.change"
] | 494,899 | 494,900 | u980205854 | python |
p02723 | s = input()
if s[-1] == s[-2]:
if s[-3] == s[-4]:
print("Yes")
else:
print("No") | s = input()
if s[-1] == s[-2]:
if s[-3] == s[-4]:
print("Yes")
exit()
print("No") | [
"call.arguments.change"
] | 494,916 | 494,917 | u080685822 | python |
p02723 | s=input();print('YNeos'[s[2]!=s[3] and s[4]!=s[5]::2]) | s=input();print('YNeos'[s[2]!=s[3] or s[4]!=s[5]::2]) | [
"variable_access.subscript.index.change",
"call.arguments.change",
"io.output.change"
] | 494,922 | 494,923 | u232462528 | python |
p02723 | s = input()
if s[2] == s[3] & s[4] == s[5]:
print("Yes")
else:
print("No") | s = input()
if (s[2] == s[3]) & (s[4] == s[5]):
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 494,924 | 494,925 | u791110052 | python |
p02723 | a,b,c,d,e,f = input().split()
if c == d and e == f:
print('Yes')
else:
print('No') | a,b,c,d,e,f = list(input())
if c == d and e == f:
print('Yes')
else:
print('No') | [
"call.add",
"call.remove"
] | 494,931 | 494,932 | u036204887 | python |
p02723 | s = str(input())
if (s[2] == s[3]) and (s[4] == s[5]):
print('yes')
else:
print('no') | s = str(input())
if (s[2] == s[3]) and (s[4] == s[5]):
print('Yes')
else:
print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 494,950 | 494,951 | u805066078 | python |
p02723 | s=input()
if s[-4]==s[-3] or s[-2]==s[-1]:
print('Yes')
else:
print('No')
| s=input()
if s[-4]==s[-3] and s[-2]==s[-1]:
print('Yes')
else:
print('No') | [
"control_flow.branch.if.condition.change"
] | 494,958 | 494,959 | u560222605 | python |
p02722 | import sys
stdin = sys.stdin
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip() # ignore trailing spaces
# 12
# 12 6 3 1
# 12 4 1
def check(d, n):
if d == 1: return False
while n % d == 0:
n //= d
return n % d == 1
n = ni()
ans =... | import sys
stdin = sys.stdin
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip() # ignore trailing spaces
# 12
# 12 6 3 1
# 12 4 1
def check(d, n):
if d == 1: return False
while n % d == 0:
n //= d
return n % d == 1
n = ni()
ans =... | [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change",
"misc.off_by_one"
] | 494,964 | 494,965 | u119714109 | python |
p02723 | def main():
s = input().strip()
if s[2] == s[3] and s[4] == s[5]:
print('True')
else:
print('False')
if __name__ == '__main__':
main()
| def main():
s = input().strip()
if s[2] == s[3] and s[4] == s[5]:
print('Yes')
else:
print('No')
if __name__ == '__main__':
main()
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 494,984 | 494,985 | u865222833 | python |
p02723 | cof = input()
if cof[2] == cof[3] & cof[4] == cof[5]:
print("Yes")
else:
print("No") | cof = input()
if cof[2] == cof[3] and cof[4] == cof[5]:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 495,025 | 495,026 | u441902623 | python |
p02723 | word = input()
print('Yes' if word[2] == word[3] and word[4] and word[5] else 'No')
| word = input()
print('Yes' if word[2] == word[3] and word[4] == word[5] else 'No')
| [
"call.arguments.change",
"io.output.change"
] | 495,027 | 495,028 | u905895868 | python |
p02723 | S = int(input())
check = S[2] == S[3] and S[4] == S[5]
print("Yes" if check else "No") | S = input()
check = S[2] == S[3] and S[4] == S[5]
print("Yes" if check else "No") | [
"call.remove",
"call.arguments.change"
] | 495,041 | 495,042 | u357120030 | python |
p02723 | S = input()
check = S[2] == S[4] and S[3] == S[5]
print("Yes" if check else "No") | S = input()
check = S[2] == S[3] and S[4] == S[5]
print("Yes" if check else "No") | [
"literal.number.integer.change",
"assignment.value.change",
"variable_access.subscript.index.change"
] | 495,043 | 495,042 | u357120030 | python |
p02723 | S = int(input())
check = S[2] == S[4] and S[3] == S[5]
print("Yes" if check else "No") | S = input()
check = S[2] == S[3] and S[4] == S[5]
print("Yes" if check else "No") | [
"call.remove",
"call.arguments.change",
"literal.number.integer.change",
"assignment.value.change",
"variable_access.subscript.index.change"
] | 495,044 | 495,042 | u357120030 | python |
p02723 | from sys import stdin
inp = stdin.readline
t = inp().strip()
if t[2] == t[3] and t[4] == t[5]:
print("YES")
else:
print("NO")
| from sys import stdin
inp = stdin.readline
t = inp().strip()
if t[2] == t[3] and t[4] == t[5]:
print("Yes")
else:
print("No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 495,045 | 495,046 | u382114513 | python |
p02723 | a= input()
if a[2] == a[3] and a[4] == a[5]:
print("yes")
else: print("no") | a= input()
if a[2] == a[3] and a[4] == a[5]:
print("Yes")
else: print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 495,056 | 495,057 | u924671994 | python |
p02723 | n=input()
if s[2]==s[3] and s[4]==s[5]:
print("Yes")
else:
print("No")
| s=input()
if s[2]==s[3] and s[4]==s[5]:
print("Yes")
else:
print("No")
| [
"assignment.variable.change",
"identifier.change"
] | 495,060 | 495,061 | u331213700 | python |
p02723 | s=list[input()]
if s[2]==s[3] and s[4]==s[5]:
print("Yes")
else:
print("No") | s=list(input())
if s[2]==s[3] and s[4]==s[5]:
print("Yes")
else:
print("No")
| [
"assignment.value.change"
] | 495,062 | 495,063 | u705418271 | python |
p02723 | S = list(input())
if (S[2] == S[3]) or (S[4] == S[5]):
print("Yes")
else:
print("No") | S = list(input())
if (S[2] == S[3]) and (S[4] == S[5]):
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 495,064 | 495,065 | u939132000 | python |
p02723 | S = list(input())
if S[-1] == S[-2]:
if S[-3] == S[-4]:
print("Yes")
else:
print("No")
| S = list(input())
if S[-1] == S[-2] and S[-3] == S[-4]:
print("Yes")
else:
print("No")
| [] | 495,066 | 495,067 | u090729464 | python |
p02723 | a = str(input())
if (a[2] == a[3] or a[4] == a[5]):
print("Yes")
else:
print("No")
| a = str(input())
if (a[2] == a[3] and a[4] == a[5]):
print("Yes")
else:
print("No")
| [
"control_flow.branch.if.condition.change"
] | 495,074 | 495,075 | u008022357 | python |
p02723 | ##A
s = input()
if s[2] == s[3] and s[4] == s[5]:
print("yes")
else:
print("No") | ##A
s = input()
if s[2] == s[3] and s[4] == s[5]:
print("Yes")
else:
print("No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 495,088 | 495,089 | u068844030 | python |
p02723 | S = input()
print('Yes' if S[2] == S[3] or S[4] == S[5] else 'No') | S = input()
print('Yes' if S[2] == S[3] and S[4] == S[5] else 'No') | [
"call.arguments.change",
"io.output.change"
] | 495,092 | 495,093 | u670397449 | python |
p02723 | s = input()
S = list(s)
if S[2] == S[3] and S[4] == S[5]:
print('Yes')
else:
print('No)')
| s = input()
S = list(s)
if S[2] == S[3] and S[4] == S[5]:
print('Yes')
else:
print('No')
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 495,116 | 495,117 | u242890210 | python |
p02723 | s = list(input().split())
if s[2] == s[3] and s[4]==s[5]:
print('Yes')
else:
print('No') | s = list(input())
if s[2] == s[3] and s[4]==s[5]:
print('Yes')
else:
print('No') | [
"call.remove"
] | 495,128 | 495,129 | u167647458 | python |
p02723 | a=input()
if a[3]==a[2]and a[5]==a[4]:
print('YES')
else:
print('NO') | a=input()
if a[3]==a[2]and a[5]==a[4]:
print('Yes')
else:
print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 495,148 | 495,149 | u956547804 | python |
p02723 | A = input().strip()
if(A[2] == A[3] and A[4] == A[5]):
print("Yes")
else:
print ("no")
| A = input().strip()
if(A[2] == A[3] and A[4] == A[5]):
print("Yes")
else:
print ("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 495,150 | 495,151 | u211277872 | python |
p02723 | S = list(input())
print(S)
if S[2] == S[3] and S[4] == S[5]:
print('Yes')
else:
print('No')
| S = list(input())
if S[2] == S[3] and S[4] == S[5]:
print('Yes')
else:
print('No')
| [
"call.remove"
] | 495,176 | 495,177 | u685971021 | python |
p02723 | #! env/bin/local python3
# -*- coding: utf-8 -*-
s = input()
if s[2] == s[3] and s[4] == 2[6]:
print('Yes')
else:
print('No') | #! env/bin/local python3
# -*- coding: utf-8 -*-
s = input()
if s[2] == s[3] and s[4] == s[5]:
print('Yes')
else:
print('No') | [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change",
"literal.number.integer.change",
"variable_access.subscript.index.change"
] | 495,180 | 495,181 | u018771977 | python |
p02723 | s = input
print("Yes" if s[2]==s[3] and s[4]==s[5] else "No") | s = input()
print("Yes" if s[2]==s[3] and s[4]==s[5] else "No") | [
"call.add"
] | 495,202 | 495,203 | u358957649 | python |
p02723 | s = input()
if s[2] == s[3] and s[4] == s[5]:
return "Yes"
else:
return "No" | s = input()
if s[2] == s[3] and s[4] == s[5]:
print ("Yes")
else:
print ("No") | [
"function.return_value.change",
"call.arguments.change"
] | 495,246 | 495,247 | u179765217 | python |
p02723 | s=input();print('YNeos'[(s[2]!=s[3] and s[4]!=s[5])::2]) | s=input()
print('YNeos'[(s[2]!=s[3])|(s[4]!=s[5])::2]) | [
"variable_access.subscript.index.change",
"call.arguments.change",
"io.output.change"
] | 495,262 | 495,263 | u752898745 | python |
p02723 | S = input()
if S[2] == S[3] or S[4] == S[5]:
print("Yes")
else:
print("No") | S = input()
if S[2]==S[3] and S[4]==S[5]:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 495,268 | 495,269 | u016302627 | python |
p02723 | list=input().rstrip
if list[2]==list[3] and list[4]==list[5]:
print("Yes")
else:
print("No")
| list=input().rstrip()
if list[2]==list[3] and list[4]==list[5]:
print("Yes")
else:
print("No") | [
"call.add"
] | 495,272 | 495,273 | u323051878 | python |
p02723 | s = list(input())
if s[2] == s[3] and s[4] == s[5]:
"Yes"
else:
"No"
| s = list(input())
if s[2] == s[3] and s[4] == s[5]:
print("Yes")
else:
print("No") | [
"call.add",
"call.arguments.change"
] | 495,276 | 495,277 | u880221923 | python |
p02723 | str = input()
if str[2] == str[3] and str[4] == str[5]:
print('YES')
else:
print('NO') | str = input()
if str[2] == str[3] and str[4] == str[5]:
print('Yes')
else:
print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 495,297 | 495,298 | u828139046 | python |
p02723 | import numpy as np
def solve():
if s[2]==s[3] and s[4]==s[5]:
print("YES")
else:
print("NO")
return
s = str(input())
solve()
#a = [int(i) for i in input().split(" ")] | import numpy as np
def solve():
if s[2]==s[3] and s[4]==s[5]:
print("Yes")
else:
print("No")
return
s = str(input())
solve()
#a = [int(i) for i in input().split(" ")] | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 495,299 | 495,300 | u618101737 | python |
p02723 | a = input()
b = list(a)
if b[2] == b[3] and b[4] == b[5]:
print('Yes')
else:
cofff
print('No') | a = input()
b = list(a)
if b[2] == b[3] and b[4] == b[5]:
print('Yes')
else:
print('No') | [] | 495,323 | 495,324 | u101785141 | python |
p02723 |
S = input()
if S[2] == S[3] or S[4] == S[5]:
print('Yes')
else:
print('No') |
S = input()
if S[2] == S[3] and S[4] == S[5]:
print('Yes')
else:
print('No') | [
"control_flow.branch.if.condition.change"
] | 495,355 | 495,356 | u282403093 | python |
p02723 | word = map(str, input())
if word[2]==word[3] and word[4]==word[5]:
print('Yes')
else:
print('No') | word = str(input())
if word[2]==word[3] and word[4]==word[5]:
print('Yes')
else:
print('No') | [
"call.remove",
"assignment.value.change",
"call.arguments.change"
] | 495,364 | 495,365 | u566321790 | python |
p02723 | word = input()
print("yes") if(word[2] == word[3] and word[4] == word[5]) else print("No")
| word = input()
print("Yes" if(word[2] == word[3] and word[4] == word[5]) else "No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change",
"call.remove"
] | 495,410 | 495,411 | u346266986 | python |
p02723 | word = input()
print("yes" if(word[2] == word[3] and word[4] == word[5]) else "No")
| word = input()
print("Yes" if(word[2] == word[3] and word[4] == word[5]) else "No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 495,412 | 495,411 | u346266986 | python |
p02723 | word = input()
print("yes" if(word[2] == word[3] and word[4] == word[5]) else "No") | word = input()
print("Yes" if(word[2] == word[3] and word[4] == word[5]) else "No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 495,413 | 495,411 | u346266986 | python |
p02723 | s = input().split()
a = list(s)
if a[2] == a[3] and a[4] == a[5]:
print("Yes")
else:
print("No")
| s = input()
a = list(s)
if a[2] == a[3] and a[4] == a[5]:
print("Yes")
else:
print("No") | [
"call.remove"
] | 495,420 | 495,421 | u799528852 | python |
p02723 | S = input();
if S[2]==S[3] & S[4]==S[5]:
print("Yes");
else:
print("No"); | S = input();
if S[2]==S[3] and S[4]==S[5]:
print("Yes");
else:
print("No");
| [
"control_flow.branch.if.condition.change"
] | 495,431 | 495,432 | u508061226 | python |
p02723 | x = input()
if ((x[2] == x[3]) & (x[4]==x[6])):
print("Yes")
else:
print("No") | x = input()
if (x[2] == x[3]) & (x[4] == x[5]):
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change",
"literal.number.integer.change",
"variable_access.subscript.index.change"
] | 495,435 | 495,436 | u259268066 | python |
p02723 | def coffee(s):
if len(s) < 6:
return False
if s[2] == s[3] and s[4] == s[5]:
return True
else:
return False
string = input()
print(coffee(string)) | def coffee(s):
if len(s) < 6:
return False
if s[2] == s[3] and s[4] == s[5]:
return 'Yes'
else:
return 'No'
string = input()
print(coffee(string)) | [
"function.return_value.change"
] | 495,447 | 495,448 | u086769062 | python |
p02723 | S=input()
Sbara=list(S)
if Sbara[2]==Sbara[3] and Sbara[4]==Sbara[5]:
print("yes")
else:
print("no") | S=input()
Sbara=list(S)
if Sbara[2]==Sbara[3] and Sbara[4]==Sbara[5]:
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 495,449 | 495,450 | u523957440 | python |
p02723 | if txt[2] == txt[3] and txt[4] == txt[5]:
print('Yes')
else :
print('No')
| txt = input()
if txt[2] == txt[3] and txt[4] == txt[5]:
print('Yes')
else :
print('No')
| [
"assignment.add"
] | 495,459 | 495,460 | u366344215 | python |
p02723 | # 文字列の読み込み
s = input()
a = list(s)
if a[2] == a[3] or a[4] == a[5]:
print('Yes')
else:
print('No') | # 文字列の読み込み
s = input()
a = list(s)
if a[2] == a[3] and a[4] == a[5]:
print('Yes')
else:
print('No') | [
"control_flow.branch.if.condition.change"
] | 495,493 | 495,494 | u950337877 | python |
p02723 | s = input()
if((s[3]==s[4]) and (s[5]==s[6])):
print("Yes")
else:
print("No")
| s = input()
if((s[2]==s[3]) and (s[4]==s[5])):
print("Yes")
else:
print("No")
| [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 495,519 | 495,520 | u555178877 | python |
p02723 | s = input()
if((s[2]==s[3]) and (s[4]==s[5])):
print("yes")
else:
print("no")
| s = input()
if((s[2]==s[3]) and (s[4]==s[5])):
print("Yes")
else:
print("No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 495,521 | 495,520 | u555178877 | python |
p02723 | def JudgeCoffee(string):
if(string[2] == string[3] and string[4] == string[5]):
return True
else:
return False
def Main():
#S = input()
S = "sippuu"
judge = JudgeCoffee(S)
if(judge):
print("Yes")
else:
print("No")
Main() | def JudgeCoffee(string):
if(string[2] == string[3] and string[4] == string[5]):
return True
else:
return False
def Main():
S = input()
#S = "sippuu"
judge = JudgeCoffee(S)
if(judge):
print("Yes")
else:
print("No")
Main() | [] | 495,522 | 495,523 | u200316926 | python |
p02723 | s = list(input())
if s[2] == s[3] & s[4] == s[5]:
print('Yes')
else:
print('No') | s = list(input())
if (s[2] == s[3]) & (s[4] == s[5]):
print('Yes')
else:
print('No')
| [
"control_flow.branch.if.condition.change"
] | 495,533 | 495,534 | u095094246 | python |
p02723 | S = str(input().lower())
if S[2]==S[3] and S[4]==S[5]:
print("Yes")
else:
print("NO") | S = str(input().lower())
if S[2]==S[3] and S[4]==S[5]:
print("Yes")
else:
print("No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 495,539 | 495,540 | u996150140 | python |
p02723 | S = str(input())
if S[2]==S[3] and S[4]==S[5]:
print("Yes")
else:
print("NO") | S = str(input().lower())
if S[2]==S[3] and S[4]==S[5]:
print("Yes")
else:
print("No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 495,541 | 495,540 | u996150140 | python |
p02723 | s = input()
s.lower()
if s[2] == s[3] and s[4] == s[5]:
print("yes")
else:
print("no") | s = input()
s.lower()
if s[2] == s[3] and s[4] == s[5]:
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 495,542 | 495,543 | u025484801 | python |
p02723 | S = list(str, input())
if S[2] == S[3]:
if S[4] == S[5]:
print("Yes")
else:
print("No")
else:
print("No") | S = list(input())
if S[2] == S[3]:
if S[4] == S[5]:
print("Yes")
else:
print("No")
else:
print("No") | [
"call.arguments.change"
] | 495,546 | 495,547 | u015845133 | python |
p02723 | S = list(str.imput())
if S[2] == S[3]:
if S[4] == S[5]:
print("Yes")
else:
print("No")
else:
print("No")
| S = list(input())
if S[2] == S[3]:
if S[4] == S[5]:
print("Yes")
else:
print("No")
else:
print("No") | [
"assignment.value.change",
"call.arguments.change"
] | 495,548 | 495,547 | u015845133 | python |
p02723 | str = input()
if(str[2]==str[3]):
if(str[4]==str[5]):
print("Yes")
else:
print("No") | str = input()
if(str[2]==str[3] and str[4]==str[5]):
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 495,549 | 495,550 | u210828934 | python |
p02723 | S=imput()
if S[2] == S[3] and S[4] == S[5]:
print("Yes")
else:
print("No") | S = input()
if S[2] == S[3] and S[4] == S[5]:
print("Yes")
else:
print("No") | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 495,551 | 495,552 | u889018047 | python |
p02723 | S=''
if S[2] == S[3] and S[4] == S[5]:
print("Yes")
else:
print("No") | S = input()
if S[2] == S[3] and S[4] == S[5]:
print("Yes")
else:
print("No") | [] | 495,553 | 495,552 | u889018047 | python |
p02723 | S='iphone'
if S[2] == S[3] and S[4] == S[5]:
print("Yes")
else:
print("No") | S = input()
if S[2] == S[3] and S[4] == S[5]:
print("Yes")
else:
print("No") | [] | 495,554 | 495,552 | u889018047 | python |
p02723 | S='sippuu'
if S[2] == S[3] and S[4] == S[5]:
print("Yes")
else:
print("No") | S = input()
if S[2] == S[3] and S[4] == S[5]:
print("Yes")
else:
print("No") | [] | 495,555 | 495,552 | u889018047 | python |
p02723 | S='coffee'
if S[2] == S[3] and S[4] == S[5]:
print("Yes")
else:
print("No") | S = input()
if S[2] == S[3] and S[4] == S[5]:
print("Yes")
else:
print("No") | [] | 495,556 | 495,552 | u889018047 | python |
p02723 | input_a = input()
if input_a[2] == input_a[3]:
if input_a[4] == input_a[5]:
print("Yes")
else:
print("No") | input_a = input()
if input_a[2] == input_a[3] and input_a[4] == input_a[5]:
print("Yes")
else:
print("No") | [] | 495,597 | 495,598 | u275577311 | python |
p02723 | S = input().strip('\n')
print('Yes' if S[2]==S[3] and S[4]==S[4] else 'No') | S = input().strip('\n')
print('Yes' if S[2]==S[3] and S[4]==S[5] else 'No') | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"call.arguments.change",
"io.output.change"
] | 495,599 | 495,600 | u913662443 | python |
p02723 | a,b,c,d,e,f,=input()
if c==d and e==f:
print("Yes")
else:
print("NO") | a,b,c,d,e,f,=input()
if c==d and e==f:
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 495,611 | 495,612 | u366974168 | python |
p02723 | data = input()
if data[2] == data[3] and data[4]==data[5]:
print("Yes")
else:
print("False") | data = input()
if data[2] == data[3] and data[4]==data[5]:
print("Yes")
else:
print("No")
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 495,639 | 495,640 | u891218252 | python |
p02723 | s = list(input())
if (s[2] == s[3] and s[4] == s[5]):
print("YES")
else:
print("NO")
| s = list(input())
if (s[2] == s[3] and s[4] == s[5]):
print("Yes")
else:
print("No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 495,651 | 495,652 | u802067645 | python |
p02723 | string = input().split();
if (string[2] == string[3]):
if (string[4] == string[5]):
print("Yes");
else:
print("No");
else:
print("No"); | string = list(input());
if (string[2] == string[3]):
if (string[4] == string[5]):
print("Yes");
else:
print("No");
else:
print("No"); | [
"call.add",
"call.remove"
] | 495,660 | 495,659 | u260608653 | python |
p02723 | a = input()
b = []
for z in a:
b.apppend(z)
if b[2]==b[3]:
if b[4]==b[5]:
print("Yes")
else:
print("No")
else:
print("No")
| a = input()
b = []
for z in a:
b.append(z)
if b[2]==b[3]:
if b[4]==b[5]:
print("Yes")
else:
print("No")
else:
print("No") | [
"identifier.change"
] | 495,672 | 495,673 | u736342571 | python |
p02723 | s=input()
f==-1
if s[2]==s[3]:
if s[4]==s[5]:
f==1
if f==1:
print('Yes')
else:
print('No') | s=input()
f=-1
if s[2]==s[3]:
if s[4]==s[5]:
f=1
if f==1:
print('Yes')
else:
print('No') | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 495,684 | 495,685 | u170410075 | python |
p02723 | string = []
string = input('')
if string[2] == string[3] and string[4] == string[5]:
print('YES')
else:
print('NO') | string = []
string = input('')
if string[2] == string[3] and string[4] == string[5]:
print('Yes')
else:
print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 495,696 | 495,697 | u028395001 | python |
p02716 | n=int(input())
a = list(map(int,input().split()))
# oを選択 xを非選択とする 左から見て
# oxoxoxoxoxo に x を1つか2つ挿入することを考える
# 状態を4つ設定 (最後がxかoか)(挿入ずみのxの数)の形式でやる
# a=[1,2,3,4,5,6,7]
x0,x1,x2,o0,o1,o2=a[0],0,-10**18,-10**18,a[1],-10**18
for i in a[2:]:
x0,x1,x2,o0,o1,o2=o0,max(o1,x0),max(o2,x1),x0+i,x1+i,x2+i
if n%2==0:
print(max... | n=int(input())
a = list(map(int,input().split()))
# oを選択 xを非選択とする 左から見て
# oxoxoxoxoxo に x を1つか2つ挿入することを考える
# 状態を4つ設定 (最後がxかoか)(挿入ずみのxの数)の形式でやる
#a=[1,2,3,4,5,6,7]
#n=len(a)
x0,x1,x2,o0,o1,o2=a[0],-10**18,0,-10**18,a[1],-10**18
for i in a[2:]:
x0,x1,x2,o0,o1,o2=o0,max(o1,x0),max(o2,x1),x0+i,x1+i,x2+i
if n%2==0:
... | [] | 495,727 | 495,728 | u211706121 | python |
p02716 | n=int(input())
a = list(map(int,input().split()))
# oを選択 xを非選択とする 左から見て
# oxoxoxoxoxo に x を1つか2つ挿入することを考える
# 状態を4つ設定 (最後がxかoか)(挿入ずみのxの数)の形式でやる
#a=[1,2,3,4,5,6,7]
x0,x1,x2,o0,o1,o2=a[0],0,0,-10**18,a[1],-10**18
for i in a[2:]:
x0,x1,x2,o0,o1,o2=o0,max(o1,x0),max(o2,x1),x0+i,x1+i,x2+i
if n%2==0:
print(max(x0,x1,... | n=int(input())
a = list(map(int,input().split()))
# oを選択 xを非選択とする 左から見て
# oxoxoxoxoxo に x を1つか2つ挿入することを考える
# 状態を4つ設定 (最後がxかoか)(挿入ずみのxの数)の形式でやる
#a=[1,2,3,4,5,6,7]
#n=len(a)
x0,x1,x2,o0,o1,o2=a[0],-10**18,0,-10**18,a[1],-10**18
for i in a[2:]:
x0,x1,x2,o0,o1,o2=o0,max(o1,x0),max(o2,x1),x0+i,x1+i,x2+i
if n%2==0:
... | [
"assignment.value.change"
] | 495,729 | 495,728 | u211706121 | python |
p02716 | def examA():
N = SI()
ans = "No"
for s in N:
if s=="7":
ans = "Yes"
print(ans)
return
def examB():
N = I()
ans = 0
for i in range(1,N+1):
if i%3==0:
continue
if i%5==0:
continue
ans += i
print(ans)
return
def e... | def examA():
N = SI()
ans = "No"
for s in N:
if s=="7":
ans = "Yes"
print(ans)
return
def examB():
N = I()
ans = 0
for i in range(1,N+1):
if i%3==0:
continue
if i%5==0:
continue
ans += i
print(ans)
return
def e... | [
"assignment.value.change",
"expression.operation.unary.remove"
] | 495,757 | 495,758 | u638795007 | python |
p02716 | import sys, math
def input(): return sys.stdin.readline().strip()
def main():
N = int(input())
A = [0] + list(map(int, input().split()))
"""
dp[i][j] = (1からi番目の数のうちどの2個も連続しないようにj個選んだ時の和の最大)
と置くらしい。何故その発想になるんだ??
最初は左右で分けて尺取りみたいなことをすれば行けると思ったが、左右の分け目を1つずらしたら
最適解がガラッと変わって困った → じゃあDP、って感じなのかなあ... | import sys, math
def input(): return sys.stdin.readline().strip()
def main():
N = int(input())
A = [0] + list(map(int, input().split()))
"""
dp[i][j] = (1からi番目の数のうちどの2個も連続しないようにj個選んだ時の和の最大)
と置くらしい。何故その発想になるんだ??
最初は左右で分けて尺取りみたいなことをすれば行けると思ったが、左右の分け目を1つずらしたら
最適解がガラッと変わって困った → じゃあDP、って感じなのかなあ... | [
"literal.number.integer.change",
"assignment.variable.change",
"variable_access.subscript.index.change"
] | 495,802 | 495,803 | u107639613 | python |
p02716 | #!/usr/bin/python3
n = int(input())
a = tuple(map(int, input().split()))
ms = [ [0 for i in range(3)] for j in range(n) ]
ms[0][0] = 0
ms[0][1] = 0
ms[0][2] = a[0]
ms[1][0] = 0
ms[1][1] = max(a[0], a[1])
for i in range(2, n):
if i % 2 == 1:
ms[i][0] = max(ms[i - 1][1], ms[i - 2][0] + a[i])
ms[i... | #!/usr/bin/python3
n = int(input())
a = tuple(map(int, input().split()))
ms = [ [0 for i in range(3)] for j in range(n) ]
ms[0][0] = 0
ms[0][1] = 0
ms[0][2] = a[0]
ms[1][0] = 0
ms[1][1] = max(a[0], a[1])
for i in range(2, n):
if i % 2 == 1:
ms[i][0] = max(ms[i - 1][1], ms[i - 2][0] + a[i])
ms[i... | [
"assignment.change"
] | 495,816 | 495,817 | u383015480 | python |
p02716 | from heapq import heappush, heappop, heapify
from collections import deque, defaultdict, Counter
import itertools
from itertools import permutations, combinations, accumulate
import sys
import bisect
import string
import math
import time
def I(): return int(input())
def S(): return input()
def MI(): return map(in... | from heapq import heappush, heappop, heapify
from collections import deque, defaultdict, Counter
import itertools
from itertools import permutations, combinations, accumulate
import sys
import bisect
import string
import math
import time
def I(): return int(input())
def S(): return input()
def MI(): return map(in... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"call.arguments.change",
"io.output.change"
] | 495,820 | 495,821 | u642874916 | python |
p02716 | from heapq import heappush, heappop, heapify
from collections import deque, defaultdict, Counter
import itertools
from itertools import permutations, combinations, accumulate
import sys
import bisect
import string
import math
import time
def I(): return int(input())
def S(): return input()
def MI(): return map(in... | from heapq import heappush, heappop, heapify
from collections import deque, defaultdict, Counter
import itertools
from itertools import permutations, combinations, accumulate
import sys
import bisect
import string
import math
import time
def I(): return int(input())
def S(): return input()
def MI(): return map(in... | [
"identifier.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 495,824 | 495,825 | u642874916 | python |
p02716 | import itertools
n=int(input())
a= list(map(int, input().split()))
# aを偶数奇数の要素で振り分け
a1=[]
a2=[]
for i in range(n):
if i%2==0:
a1.append(a[i])
else:
a2.append(a[i])
# 累積和も作っておく
a3=list(itertools.accumulate(a1))
a4=list(itertools.accumulate(a2))
x1=sum(a1)
x2=sum(a2)
if n%2==0:
ans=-flo... | import itertools
n=int(input())
a= list(map(int, input().split()))
# aを偶数奇数の要素で振り分け
a1=[]
a2=[]
for i in range(n):
if i%2==0:
a1.append(a[i])
else:
a2.append(a[i])
# 累積和も作っておく
a3=list(itertools.accumulate(a1))
a4=list(itertools.accumulate(a2))
x1=sum(a1)
x2=sum(a2)
if n%2==0:
ans=-flo... | [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 495,835 | 495,836 | u970899068 | python |
p02723 | # coding: UTF-8
import os
def remove_empty(target_list: list):
empty_removed_list = [x for x in target_list if x]
return empty_removed_list
def get_stdin_str_list():
input_str = input().strip()
input_str_list = input_str.split()
return input_str_list
def get_stdin_int_list():
input_str_list =... | # coding: UTF-8
import os
def remove_empty(target_list: list):
empty_removed_list = [x for x in target_list if x]
return empty_removed_list
def get_stdin_str_list():
input_str = input().strip()
input_str_list = input_str.split()
return input_str_list
def get_stdin_int_list():
input_str_list =... | [] | 495,837 | 495,838 | u273787824 | python |
p02723 | a = input()
if (a[3] == a[4]) and (a[5] == a[6]):
print("Yes")
else:
print("No") | a = input()
if (a[2] == a[3]) and (a[4] == a[5]):
print("Yes")
else:
print("No") | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 495,864 | 495,863 | u638725699 | python |
p02723 | a,b,c,d,e,f=input().split()
if c==d and e==f:
print("Yes")
else:
print("No") | a,b,c,d,e,f=input()
if c==d and e==f:
print("Yes")
else:
print("No")
| [
"call.remove"
] | 495,865 | 495,866 | u670180528 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.