s=input()
t=input()
l1=len(s)
l2=len(t)
i,j=0,0
while i<l1 and j<l2:
if s[i]==t[j]:
i+=1
j+=1
else:
i+=1
if j==l2:
print('Yes')
else:
print('No')
python 牛客真题 藏宝图
猜你喜欢
转载自blog.csdn.net/Neekity/article/details/85392895
今日推荐
周排行