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 |
|---|---|---|---|---|---|---|---|
p02681 | s = input()
t = input()
print("YES" if t[:-1] == s else "NO")
| s = input()
t = input()
print("Yes" if t[:-1] == s else "No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,692 | 403,693 | u626228246 | python |
p02681 | s = input()
t = input()
print("YES" if s+t[-1] == t else "NO")
| s = input()
t = input()
print("Yes" if t[:-1] == s else "No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change",
"expression.operation.binary.remove",
"identifier.change"
] | 403,694 | 403,693 | u626228246 | python |
p02681 | s = input()
t = input()
#print(s+t[-1])
print("YES" if s+t[-1] == t else "NO")
| s = input()
t = input()
print("Yes" if t[:-1] == s else "No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change",
"expression.operation.binary.remove",
"identifier.change"
] | 403,695 | 403,693 | u626228246 | python |
p02681 | s=input()
t=input()
if s in t.rstrip():
print("Yes")
else:
print("No") | s=input()
t=input()
if s in t[:-1]:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 403,703 | 403,704 | u712239107 | python |
p02681 | s=input()
t=input()
if s in t+"":
print("Yes")
else:
print("No") | s=input()
t=input()
if s in t[:-1]:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 403,705 | 403,704 | u712239107 | python |
p02681 | s=input()
t=input()
if s in t:
print("Yes")
else:
print("No") | s=input()
t=input()
if s in t[:-1]:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 403,706 | 403,704 | u712239107 | python |
p02681 | S, T = input().split()
if T[:-1] == S:
print('Yes')
else:
print('No') | S = input()
T = input()
if T[:-1] == S:
print('Yes')
else:
print('No')
| [
"call.add",
"call.remove"
] | 403,707 | 403,708 | u962718741 | python |
p02681 | s=input()
t=input()
print("yes" if s==t[:-1] else "No") | s=input()
t=input()
print("Yes" if s==t[:-1] else "No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,712 | 403,713 | u626457011 | python |
p02681 | s=input()
t=input()
v=t[-1]
#print(v)
s=s+v
#print(s)
if t==s:
print('YES')
else:
print('NO') | s=input()
t=input()
v=t[-1]
#print(v)
s=s+v
#print(s)
if t==s:
print('Yes')
else:
print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,716 | 403,717 | u505564549 | python |
p02681 | s=input()
t=input()
v=t[-1]
s=s+v
if t==s:
print('YES')
else:
print('NO') | s=input()
t=input()
v=t[-1]
#print(v)
s=s+v
#print(s)
if t==s:
print('Yes')
else:
print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,718 | 403,717 | u505564549 | python |
p02681 | S = input()
T = input()
if T[0:-2] == S:
print('Yes')
else:
print('No') | S = input()
T = input()
if T[0:-1] == S:
print('Yes')
else:
print('No')
| [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 403,724 | 403,725 | u885627844 | python |
p02681 | s = input()
t = input()
for i in range(len(s)):
if s[i] != t[i]:
print('no')
break
elif i == len(s)-1:
print('yes')
| s = input()
t = input()
for i in range(len(s)):
if s[i] != t[i]:
print('No')
break
elif i == len(s)-1:
print('Yes')
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,729 | 403,730 | u167874423 | python |
p02681 | S = input()
T = input()
if (S == D[:len(S)]) and ((len(S)+1)==len(D)):
print('Yes')
else:
print('No') | S = input()
T = input()
if (S == T[:len(S)]) and ((len(S)+1)==len(T)):
print('Yes')
else:
print('No') | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 403,731 | 403,732 | u357403505 | python |
p02681 | S = input()
T = input()
if (S == D[:len(S)]) and (len(S)+1==len(D)):
print('Yes')
else:
print('No') | S = input()
T = input()
if (S == T[:len(S)]) and ((len(S)+1)==len(T)):
print('Yes')
else:
print('No') | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 403,733 | 403,732 | u357403505 | python |
p02681 | s = input()
t = input()
if s == t[:(len(s)-2)]:
print("Yes")
else :
print("No") | s = input()
t = input()
if s == t[:len(s)]:
print("Yes")
else :
print("No")
| [
"control_flow.branch.if.condition.change"
] | 403,734 | 403,735 | u220499476 | python |
p02681 | s = input()
t = input()
u = t[-1]
out = ('No', 'Yes')[s == u]
print(out) | s = input()
t = input()
u = t[:-1]
out = ('No', 'Yes')[s == u]
print(out) | [] | 403,749 | 403,750 | u775673382 | python |
p02681 | s = input()
t = input()
u = t.rstrip(t[-1])
out = ('No', 'Yes')[s == u]
print(out) | s = input()
t = input()
u = t[:-1]
out = ('No', 'Yes')[s == u]
print(out) | [
"call.remove",
"call.arguments.change"
] | 403,751 | 403,750 | u775673382 | python |
p02681 | S = input()
T = input()
if S == T[0:len(S)]:
print('YES')
else:
print('NO') | S = input()
T = input()
if S == T[0:len(S)]:
print('Yes')
else:
print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,752 | 403,753 | u391442102 | python |
p02681 | S = input()
T = input()
if S == T[0:len(S)]:
print('YES')
else:
pritn('NOa') | S = input()
T = input()
if S == T[0:len(S)]:
print('Yes')
else:
print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change",
"identifier.change",
"call.function.change"
] | 403,754 | 403,753 | u391442102 | python |
p02681 | def main():
l = input()
l2 = input()
for i in range(len(l)):
if l[i] != l2[i]:
return("NO")
return("Yes")
if __name__ == "__main__":
print(main()) | def main():
l = input()
l2 = input()
for i in range(len(l)):
if l[i] != l2[i]:
return("No")
return("Yes")
if __name__ == "__main__":
print(main()) | [
"literal.string.change",
"literal.string.case.change",
"function.return_value.change"
] | 403,755 | 403,756 | u593346450 | python |
p02681 | s=raw_input()
t=raw_input()
ls=len(s)
lt=len(t)
if lt==ls+1 and t.startswith(s):
print ('Yes')
else:
print("No")
| s=input()
t=input()
ls=len(s)
lt=len(t)
if lt==ls+1 and t.startswith(s):
print ('Yes')
else:
print("No")
| [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 403,766 | 403,767 | u847535452 | python |
p02681 | s= input()
t= input()
if len(s) <= 10 and t[0:len(s)]==s and len(t)==len(s)+1:
print('YES')
else:
print('NO') | s= input()
t= input()
if len(s) <= 10 and t[0:len(s)]==s and len(t)==len(s)+1:
print('Yes')
else:
print('No')
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,772 | 403,773 | u726984689 | python |
p02681 | S = input()
T = input()
add = len(T)
#print(add)
if len(S) > 10 or len(S) < 2:
print("No")
exit()
if S != T[:int(len(T)-1)]:
print("No")
exit()
if len(S)+1 != len(T):
print("No")
exit()
for i in range(len(T)):
if T[i] not in "abcdefghijklmnopqrstuvwxyz":
print("No")
exit()
else:
pass
prin... | S = input()
T = input()
add = len(T)
#print(add)
if len(S) > 10 or len(S) < 1:
print("No")
exit()
if S != T[:int(len(T)-1)]:
print("No")
exit()
if len(S)+1 != len(T):
print("No")
exit()
for i in range(len(T)):
if T[i] not in "abcdefghijklmnopqrstuvwxyz":
print("No")
exit()
else:
pass
prin... | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,782 | 403,783 | u262543030 | python |
p02681 | S = input()
T = input()
if S+1 in T:
print("Yes")
else:
print("No") | S = input()
T = input()
if S+T[-1] in T:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 403,805 | 403,806 | u600261652 | python |
p02681 | S = input()
T = input()
if S+"abcdefghijklmnogqrstuvwxyz" in T:
print("Yes")
else:
print("No") | S = input()
T = input()
if S+T[-1] in T:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 403,807 | 403,806 | u600261652 | python |
p02681 | S = input()
T = input()
if T[T-1] in S:
print("Yes")
else:
print("No") | S = input()
T = input()
if S+T[-1] in T:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change",
"identifier.change"
] | 403,808 | 403,806 | u600261652 | python |
p02681 | S = input()
T = input()
if S in T:
print("Yes")
else:
print("No") | S = input()
T = input()
if S+T[-1] in T:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 403,809 | 403,806 | u600261652 | python |
p02681 | s = input()
t = input()
if t[0:len(s)]==s:
print("YES")
else:
print("NO")
| s = input()
t = input()
if t[0:len(s)]==s:
print("Yes")
else:
print("No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,810 | 403,811 | u209367350 | python |
p02681 | s = input()
t = input()
if s == t[:len(s)] and len(s) == len(t) - 1:
print('yes')
else:
print('no')
| s = input()
t = input()
if s == t[:len(s)] and len(s) == len(t) - 1:
print('Yes')
else:
print('No')
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,812 | 403,813 | u581403769 | python |
p02681 | s = input()
t = input()
if s == t[len(s)] and len(s) == len(t) - 1:
print('yes')
else:
print('no') | s = input()
t = input()
if s == t[:len(s)] and len(s) == len(t) - 1:
print('Yes')
else:
print('No')
| [
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,814 | 403,813 | u581403769 | python |
p02681 | a = input()
b = input()
if a[:-1] == b[:-2] and len(a) + 1 == len(b):
print("Yes")
else:
print("No") | a = input()
b = input()
if a == b[:-1] and len(a) + 1 == len(b):
print("Yes")
else:
print("No") | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 403,815 | 403,816 | u955474478 | python |
p02681 | s = input()
k = input()
if(s == k[:-2]):
print('Yes')
else:
print('No') | s = input()
t = input()
if (s == t[:-1]):
print('Yes')
else:
print('No') | [
"assignment.variable.change",
"identifier.change",
"control_flow.branch.if.condition.change",
"literal.number.integer.change",
"variable_access.subscript.index.change"
] | 403,817 | 403,818 | u247114740 | python |
p02681 | S = input()
T = input()
s = len(S)
t = len(T)
if (S == T[:s]) & (t == s+1):
print("yes")
else:
print("no") | S = input()
T = input()
s = len(S)
t = len(T)
if (S == T[:s]) & (t == s+1):
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,825 | 403,826 | u299100939 | python |
p02681 | S,T=input()
a=0
for i in range(len(S)):
if S[i]!=T[i]:
a+=1
if a==0:
print("Yes")
else:
print("No")
| S=input()
T=input()
a=0
for i in range(len(S)):
if S[i]!=T[i]:
a+=1
if a==0:
print("Yes")
else:
print("No")
| [
"call.add"
] | 403,828 | 403,829 | u667694979 | python |
p02681 | s = input()
t = input()
if s[:] == t[len(s):]:
print("Yes")
else:
print("No")
| s = input()
t = input()
if s[:] == t[:len(s)]:
print("Yes")
else:
print("No")
| [
"control_flow.branch.if.condition.change"
] | 403,834 | 403,835 | u588276267 | python |
p02681 | s, t = input().split()
if t.startswith(s):
print('Yes')
else:
print('No') | s = input()
t = input()
if t.startswith(s):
print('Yes')
else:
print('No') | [
"call.add",
"call.remove"
] | 403,854 | 403,855 | u125269142 | python |
p02681 | a = input()
b = input()
if a == b[:-1]:
print('yes')
else:
print('No') | a = input()
b = input()
if a == b[:-1]:
print('Yes')
else:
print('No')
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,856 | 403,857 | u685244071 | python |
p02681 | S, T = input().split()
print("Yes" if S == T[:-1] else "No")
| S = input()
T = input()
print("Yes" if S == T[:-1] else "No")
| [
"call.add",
"call.remove"
] | 403,858 | 403,859 | u247211039 | python |
p02681 | S, T = input().split()
print("Yes" if S == T[:-2] else "No") | S = input()
T = input()
print("Yes" if S == T[:-1] else "No")
| [
"call.add",
"literal.number.integer.change",
"variable_access.subscript.index.change",
"call.arguments.change",
"io.output.change"
] | 403,860 | 403,859 | u247211039 | python |
p02681 | x = list(input())
y = list(input())
if x[:-1] == y:
print("Yes")
else:
print("No")
| x = list(input())
y = list(input())
if y[:-1] == x:
print("Yes")
else:
print("No")
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 403,864 | 403,865 | u689835643 | python |
p02681 | s=input()
t=input()
if len(s)+1==len(t):
if s==t[:len(t)-1]:
print("yes")
else:
print("No")
else:
print("No") | s=input()
t=input()
if len(s)+1==len(t):
if s==t[:len(t)-1]:
print("Yes")
else:
print("No")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,870 | 403,871 | u446808186 | python |
p02681 | S=input()
T=input()
if len(S)+1==len(T):
for i in range(len(S)): #回数の時は絶対range()
if S[i]==T[i]:
a='ok'
continue
else:
a='no'
break
else:
print('no')
if a=='ok':
print('yes')
else:
print('no') | S=input()
T=input()
if len(S)+1==len(T):
for i in range(len(S)): #回数の時は絶対range()
if S[i]==T[i]:
a='ok'
continue
else:
a='no'
break
else:
print('no')
if a=='ok':
print('Yes')
else:
print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,876 | 403,877 | u631330477 | python |
p02681 | S = input()
K = input()
if S == K[:-2]:
print('Yes')
else:
print('No')
| S = input()
K = input()
if S == K[:-1]:
print('Yes')
else:
print('No')
| [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 403,878 | 403,879 | u633355062 | python |
p02681 | n = input()
k = input()
if n == k[:-2]:
print('Yes')
else:
print('No') | S = input()
K = input()
if S == K[:-1]:
print('Yes')
else:
print('No')
| [
"assignment.variable.change",
"identifier.change",
"control_flow.branch.if.condition.change",
"literal.number.integer.change",
"variable_access.subscript.index.change"
] | 403,880 | 403,879 | u633355062 | python |
p02681 | S = str(input())
T = str(input())
if T.startswith(S):
print("Yes")
else:
primt("No")
| S = str(input())
T = str(input())
if T.startswith(S):
print("Yes")
else:
print("No")
| [
"identifier.change",
"call.function.change"
] | 403,881 | 403,882 | u385733796 | python |
p02681 | # A - Registration
def main():
S, T = map(int, open(0).read().split())
print("Yes" if T[:-1] == S else "No")
if __name__ == "__main__":
main()
| # A - Registration
def main():
S, T = open(0).read().split()
print("Yes" if T[:-1] == S else "No")
if __name__ == "__main__":
main()
| [
"call.remove",
"call.arguments.change"
] | 403,885 | 403,886 | u077291787 | python |
p02681 | # A - Registration
def main():
S, T = input().rstrip().split()
print("Yes" if T[:-1] == S else "No")
if __name__ == "__main__":
main()
| # A - Registration
def main():
S, T = open(0).read().split()
print("Yes" if T[:-1] == S else "No")
if __name__ == "__main__":
main()
| [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 403,887 | 403,886 | u077291787 | python |
p02681 | S=input()
T=input()
if T[0:len(T)-2]==S[0:len(S)-1]:
print("Yes")
else:
print("No") | S=input()
T=input()
if T[0:len(T)-1]==S[0:len(S)]:
print("Yes")
else:
print("No") | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change",
"expression.operation.binary.remove"
] | 403,894 | 403,895 | u880480312 | python |
p02681 | s = list(input())
t = list(input())
t.pop(-1)
if s != t: print('No', s,t)
else: print('Yes')
| s = list(input())
t = list(input())
t.pop(-1)
if s != t: print('No')
else: print('Yes')
| [
"call.arguments.change"
] | 403,905 | 403,906 | u666964944 | python |
p02681 | S = input()
T = input()
if S == T[-1]:
print('Yes')
else:
print('No') | S = input()
T = input()
if S == T[:-1]:
print('Yes')
else:
print('No') | [
"control_flow.branch.if.condition.change"
] | 403,909 | 403,910 | u106284621 | python |
p02681 | S=input()
T=input()
if(T[0:len(S)-1]==S):
print("Yes")
else:
print("No") | S=input()
T=input()
if(T[:-1]==S):
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change",
"call.remove"
] | 403,921 | 403,922 | u038216098 | python |
p02681 | S = input()
T = input()
if S == T[:-1]:
print("YES")
else:
print("NO") | S = input()
T = input()
if S == T[:-1]:
print("Yes")
else:
print("No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,931 | 403,932 | u486957057 | python |
p02681 | S = input()
T = input()
if S == T[:-1]:
print("YES")
else:
print("NO") | S = input()
T = input()
if S == T[:-1]:
print("Yes")
else:
print("No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,933 | 403,932 | u486957057 | python |
p02681 | S = input()
T = input()
if S == T[:-1]:
print("YES")
else:
print("NO") | S = input()
T = input()
if S == T[:-1]:
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,931 | 403,934 | u486957057 | python |
p02681 | S = input()
T = input()
if S == T[:-1]:
print("YES")
else:
print("NO") | S = input()
T = input()
if S == T[:-1]:
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,933 | 403,934 | u486957057 | python |
p02681 | S=input()
T=input()
if T[:0] == S:
print("Yes")
else:
print("No") | S=input()
T=input()
if T[:-1] == S:
print("Yes")
else:
print("No") | [
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change",
"expression.operation.unary.add"
] | 403,937 | 403,938 | u237601489 | python |
p02681 | S = input()
T = input()
abc = 'abcdefghijklmnopqrstuvwxyz'
if S == T[:-1] and T[-1] in abc:
print('yes')
else:
print('no') | S = input()
T = input()
abc = 'abcdefghijklmnopqrstuvwxyz'
if S == T[:-1] and T[-1] in abc:
print('Yes')
else:
print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,941 | 403,942 | u612975321 | python |
p02681 | s=list(input())
t=list(input())
a="YES"
for i in range(len(t)-1):
if s[i] != t[i]:
a="NO"
print(a) | s=list(input())
t=list(input())
a="Yes"
for i in range(len(t)-1):
if s[i] != t[i]:
a="No"
print(a) | [
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 403,953 | 403,954 | u640603056 | python |
p02681 | x = input()
y = input()
if x == y[::-1]:
print('Yes')
else:
print('No') | x = input()
y = input()
if x == y[:-1]:
print('Yes')
else:
print('No') | [
"control_flow.branch.if.condition.change"
] | 403,959 | 403,960 | u021387650 | python |
p02681 | a=input()
b=input()
if b[:len(b)-1]==a:
print("Yes")
else:
print("True") | a=input()
b=input()
if b[:len(b)-1]==a:
print("Yes")
else:
print("No") | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 403,963 | 403,964 | u954415195 | python |
p02681 | s = input()
t = input()
if s == t[:-1]:
print("YES")
else:
print("NO")
| s = input()
t = input()
if s == t[:-1]:
print("Yes")
else:
print("No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,969 | 403,970 | u137962336 | python |
p02681 | s = input()
t = input()
if s == t[:-1]:
print("YES")
else:
print("NO")
| s = input()
t = input()
if s == t[:-1]:
print("Yes")
else:
print("No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,971 | 403,970 | u137962336 | python |
p02681 | s = input()
t = input()
if s == t[:-1]:
print("YES")
else:
print("NO")
| s = input()
t = input()
if s == t[:-1]:
print("Yes")
else:
print("No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,973 | 403,970 | u137962336 | python |
p02681 | s = input()
t = input()
if s == t[:-1]:
print("YES")
else:
print("NO")
| s = input()
t = input()
if s == t[:-1]:
print("Yes")
else:
print("No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,974 | 403,970 | u137962336 | python |
p02681 | s = input()
t = input()
if s == t[:-1]:
print("YES")
else:
print("NO") | s = input()
t = input()
if s == t[:-1]:
print("Yes")
else:
print("No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,975 | 403,970 | u137962336 | python |
p02681 | user_id = input()
user_id2 = input()
def checkIDinID(id1,id2):
if id1 in id2:
for i, c in enumerate(id1):
if c != id2[i]:
return False
else:
return False
return True
if( 1 <= len(user_id) and len(user_id) <= 10):
if checkIDinID(user_id,user_id2) == True... | user_id = input()
user_id2 = input()
def checkIDinID(id1,id2):
if id1 in id2:
for i, c in enumerate(id1):
if c != id2[i]:
return False
else:
return False
return True
if( 1 <= len(user_id) and len(user_id) <= 10):
if checkIDinID(user_id,user_id2) == True... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 403,980 | 403,981 | u227489169 | python |
p02681 | user_id = input()
user_id2 = input()
def checkIDinID(id1,id2):
if id1 in id2:
for i, c in enumerate(id1):
if c != id2[i]:
return False
return True
if( 1 <= len(user_id) and len(user_id) <= 10):
if checkIDinID(user_id,user_id2) == True:
if(len(user_id) == le... | user_id = input()
user_id2 = input()
def checkIDinID(id1,id2):
if id1 in id2:
for i, c in enumerate(id1):
if c != id2[i]:
return False
else:
return False
return True
if( 1 <= len(user_id) and len(user_id) <= 10):
if checkIDinID(user_id,user_id2) == True... | [
"control_flow.return.add",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 403,982 | 403,981 | u227489169 | python |
p02681 | user_id = input()
user_id2 = input()
def checkIDinID(id1,id2):
if id1 in id2:
for i, c in enumerate(id1):
if c == id2[i]:
return True
else:
return False
if( 1 <= len(user_id) and len(user_id) <= 10):
if checkIDinID(user_id,user_id2) == True:
... | user_id = input()
user_id2 = input()
def checkIDinID(id1,id2):
if id1 in id2:
for i, c in enumerate(id1):
if c != id2[i]:
return False
else:
return False
return True
if( 1 <= len(user_id) and len(user_id) <= 10):
if checkIDinID(user_id,user_id2) == True... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"function.return_value.change",
"control_flow.return.add",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 403,983 | 403,981 | u227489169 | python |
p02681 | S=input()
T=input()
if S==T[:-1]:
print("Yes")
else:
print("NO") | S=input()
T=input()
if S==T[:-1]:
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,989 | 403,990 | u954153335 | python |
p02681 | S=input()
T=input()
l=len(S)
if S==T[:-1] and S.islower()==True and 1<=l and l<=10:
print("Yes")
else:
print("NO") | S=input()
T=input()
l=len(S)
if S==T[:-1] and S.islower()==True and 1<=l and l<=10:
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,993 | 403,992 | u954153335 | python |
p02681 | S=input()
T=input()
l=len(S)
if S==T[:-1] and S.islower==True and 1<=l and l<=10:
print("Yes")
else:
print("NO") | S=input()
T=input()
l=len(S)
if S==T[:-1] and S.islower()==True and 1<=l and l<=10:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change",
"call.add",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 403,994 | 403,992 | u954153335 | python |
p02681 | S=input("S=")
T=input("T=")
l=len(S)
if 1<=l and l<=10 and S.islower()==True and len(T)==l+1:
if T.startswith(S)==True and T.islower()==True:
print("Yes")
else:
print("No")
else:
print("No") | S=input("")
T=input("")
l=len(S)
if 1<=l and l<=10 and S.islower()==True and len(T)==l+1:
if T.startswith(S)==True and T.islower()==True:
print("Yes")
else:
print("No")
else:
print("No") | [
"literal.string.change",
"assignment.value.change",
"call.arguments.change"
] | 403,995 | 403,996 | u954153335 | python |
p02681 | S=input()
T=input()
T_=slice(T[:-1])
if (S==T_):
print("Yes")
else:
print("No") | S=input()
T=input()
T_=T[:-1]
if (S==T_):
print("Yes")
else:
print("No") | [
"call.remove",
"call.arguments.change"
] | 404,012 | 404,013 | u281334626 | python |
p02681 | s = input()
t = input()
adjusted_t = t[:-1]
if s==adjuested_t:
print("Yes")
else:
print("No")
| s = input()
t = input()
adjusted_t = t[:-1]
if s==adjusted_t:
print("Yes")
else:
print("No")
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 404,015 | 404,016 | u302707263 | python |
p02681 | s= input()
t = input()
if(len(t) != len(s)+1):
print("No")
else:
for i in range(len(s)):
if(s[i]!=t[i]):
print("No")
else:
print("Yes") | s= input()
t = input()
if(len(t) != len(s)+1):
print("No")
else:
for i in range(len(s)):
if(s[i]!=t[i]):
print("No")
break
else:
print("Yes") | [
"control_flow.break.add"
] | 404,024 | 404,025 | u801289454 | python |
p02681 | s = input()
v = input()[:-1]
print(v)
print('Yes' if s == v else 'No') | s = input()
v = input()[:-1]
print('Yes' if s == v else 'No') | [
"call.remove"
] | 404,028 | 404,029 | u883866798 | python |
p02681 | s = input()
v = input()[::-1]
print('Yes' if s == v else 'No') | s = input()
v = input()[:-1]
print('Yes' if s == v else 'No') | [] | 404,030 | 404,029 | u883866798 | python |
p02681 | s = str(input())
t = str(input())
ans = 'no'
if len(s) + 1 == len(t):
i = 0
for l in s:
if l == t[i]:
if len(s) == i + 1:
ans = 'yes'
i += 1
else:
break;
print(ans)
| s = str(input())
t = str(input())
ans = 'No'
if len(s) + 1 == len(t):
i = 0
for l in s:
if l == t[i]:
if len(s) == i + 1:
ans = 'Yes'
i += 1
else:
break;
print(ans)
| [
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 404,033 | 404,034 | u683116963 | python |
p02681 | s,t = [str(input()) for _ in range(2)]
if s[:-1] == t:
print('Yes')
else:
print('No') | t,s = [str(input()) for _ in range(2)]
if s[:-1] == t:
print('Yes')
else:
print('No') | [] | 404,041 | 404,042 | u432754124 | python |
p02681 | a=input()
b=input()
import syss
for i in range(len(a)):
if a[i]==b[i]:
pass
else:
print("No")
sys.exit()
print('Yes')
| a=input()
b=input()
import sys
for i in range(len(a)):
if a[i]==b[i]:
pass
else:
print("No")
sys.exit()
print('Yes')
| [
"identifier.change"
] | 404,050 | 404,051 | u223555291 | python |
p02681 | import sys
s = input()
t = input()
for i in range(len(s)):
if s[i] != t[i]:
print('false')
sys.exit()
else:
print('true') | import sys
s = input()
t = input()
for i in range(len(s)):
if s[i] != t[i]:
print('No')
sys.exit()
else:
print('Yes') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 404,087 | 404,088 | u404676457 | python |
p02681 | userData = input()
userDatas = input()
if userData == useDatas[0:-1]:
print("Yes")
else:
print("No") | userData = input()
userDatas = input()
if userData == userDatas[0:-1]:
print("Yes")
else:
print("No")
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 404,108 | 404,109 | u504601029 | python |
p02681 | s=input()
t=input()
ct=0
for i in range(0,len(s)):
if(s[i]==t[i]):
ct=1
if(ct==1):
print("Yes")
else:
print("No")
| s=input()
t=input()
ct=1
for i in range(0,len(s)):
if(s[i]!=t[i]):
ct=0
if(ct==1):
print("Yes")
else:
print("No")
| [
"literal.number.integer.change",
"assignment.value.change",
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 404,122 | 404,123 | u054717609 | python |
p02681 | if __name__ == '__main__':
S = input()
T = input()
if S == T[:len(S)]:
print('True')
else:
print('False') | if __name__ == '__main__':
S = input()
T = input()
if S == T[:len(S)]:
print('Yes')
else:
print('No') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 404,124 | 404,125 | u667427469 | python |
p02681 | n=input()
m=input()
m=m[:len(m)-1]
if(n==m):
print("yes")
else:
print("No") | n=input()
m=input()
m=m[:len(m)-1]
if(n==m):
print("Yes")
else:
print("No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 404,133 | 404,134 | u777028980 | python |
p02681 | S = input()
T = input()
if S == T[-1] and len(S) + 1 == len(T):
print("Yes")
else:
print("No") | S = input()
T = input()
if S == T[0:-1] and len(S) + 1 == len(T):
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 404,139 | 404,140 | u654536970 | python |
p02681 | s=input()
t=input()
if s==t[::-1]:
print('Yes')
else:
print('No') | s=input()
t=input()
if s==t[:-1]:
print('Yes')
else:
print('No') | [
"control_flow.branch.if.condition.change"
] | 404,153 | 404,154 | u776134564 | python |
p02681 | s=input()
t=input()
if s[1:len(s)-1]==t:
print("Yes")
else:
print("No") | s=input()
t=input()
if t[:len(t)-1] == s:
print("Yes")
else:
print("No") | [
"identifier.change",
"control_flow.branch.if.condition.change",
"variable_access.subscript.index.change"
] | 404,173 | 404,174 | u690215271 | python |
p02681 | s = input()
t = input()
if t.startswith(s):
print("yes")
else:
print("no") | s = input()
t = input()
if t.startswith(s):
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 404,177 | 404,178 | u175753581 | python |
p02681 | s=input()
t=input()
l=len(s)
m=len(t)
flag=0
for i in range(0,l):
if s[i]==t[i]:
flag=1
else:
break
if flag==1:
print("Yes")
else:
print("No")
| s=input()
t=input()
l=len(s)
m=len(t)
flag=0
for i in range(0,l):
if s[i]==t[i]:
flag=1
else:
flag=0
break
if flag==1:
print("Yes")
else:
print("No")
| [
"assignment.add"
] | 404,181 | 404,182 | u864371946 | python |
p02681 | S=input()
T=input()
A=S+T
if T.rstrip() != S:
print("No")
elif len(T)-len(S)!=1:
print("No")
elif len(S)<= 0 or len(S)>= 11:
print("No")
elif A.isalpha() and A.islower():
print("Yes")
else:
print("No") | S=input()
T=input()
A=S+T
if T[:-1]!= S:
print("No")
elif len(T)-len(S)!=1:
print("No")
elif len(S)<= 0 or len(S)>= 11:
print("No")
elif A.isalpha() and A.islower():
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 404,191 | 404,192 | u725757838 | python |
p02681 | S = input()
T = input()
if (T.startsadwith(S)) and len(T) == (len(S) + 1):
print('Yes')
else:
print('No') | S = input()
T = input()
if (T.startswith(S)) and len(T) == (len(S) + 1):
print('Yes')
else:
print('No') | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 404,193 | 404,194 | u420615815 | python |
p02681 | n = input()
n2 = input()
if n == n[:-1]:
print('Yes')
else:
print("No") | n = input()
n2 = input()
if n == n2[:-1]:
print('Yes')
else:
print("No") | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 404,201 | 404,202 | u997389162 | python |
p02681 | S = input()
T = input()
msg = "Yes"
for i in range(len(S)):
if T[i] != S[i]:
break
msg = "No"
print(msg)
| S = input()
T = input()
msg = "Yes"
for i in range(len(S)):
if T[i] != S[i]:
msg = "No"
break
print(msg)
| [
"control_flow.break.remove",
"control_flow.break.add"
] | 404,207 | 404,208 | u706121438 | python |
p02681 | S = input()
T = input()
T_plus = T[-1]
T_a = T[:-1]
print("Yes" if S==T else "No") | S = input()
T = input()
T_plus = T[-1]
T_a = T[:-1]
print("Yes" if S==T_a else "No") | [
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 404,211 | 404,212 | u950052018 | python |
p02681 | import re
a=input()
b=input()
if len(b)-len(a)==1:
if re.search(a,b) is None:
print("No")
else:
print("Yes")
else:
print("No")
| import re
a=input()
b=input()
if len(b)-len(a)==1:
if re.search("^"+a,b) is None:
print("No")
else:
print("Yes")
else:
print("No")
| [
"control_flow.branch.if.condition.change"
] | 404,215 | 404,216 | u271279914 | python |
p02681 | S=input()
T=input()
if T in S and len(T)==len(S)+1 and S[0]==T[0]:
print("Yes")
else:
print("No") | S=input()
T=input()
if S in T and len(T)==len(S)+1 and S[0]==T[0]:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 404,224 | 404,225 | u105209986 | python |
p02681 | S=input()
T=input()
if len(T)==len(S)+1 and S[0]==T[0]:
print("Yes")
else:
print("No")
| S=input()
T=input()
if S in T and len(T)==len(S)+1 and S[0]==T[0]:
print("Yes")
else:
print("No") | [
"control_flow.branch.if.condition.change"
] | 404,226 | 404,225 | u105209986 | python |
p02681 | S = inputs()
T = inputs()
print("Yes" if T.startswith(S) and len(T) == len(S) + 1 else "No", flush=True) | S = input()
T = input()
print("Yes" if T.startswith(S) and len(T) == len(S) + 1 else "No", flush=True)
| [
"assignment.value.change",
"identifier.change",
"call.function.change",
"io.output.change"
] | 404,279 | 404,280 | u494192357 | python |
p02681 | in1 = input()
in2 = input()
res = True
if len(in1) < 1 or len(in1) > 10 :
res = False
if in1.islower() and in1.isalpha() :
pass
else :
res = False
if in2.islower() and in2.isalpha():
if in1 in in2[:len(in2)-2] :
if len(in2) - len(in1) == 1 :
pass
else :
res = ... | in1 = input()
in2 = input()
res = True
if len(in1) < 1 or len(in1) > 10 :
res = False
if in1.islower() and in1.isalpha() :
pass
else :
res = False
if in2.islower() and in2.isalpha():
if in1 in in2[:len(in2)-1] :
if len(in2) - len(in1) == 1 :
pass
else :
res = ... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 404,281 | 404,282 | u307615746 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.