#include<iostream>#include<cstring>using namespace std;int main(){ char s[100001],t[100001]; int k; while(cin>>s>>t){ k=0; for(int i=0;i<strlen(t);i++){ if(s[k]==t[i]) k++; } if(strlen(s)<=strlen(t)&&k==strlen(s)) cout<<"Yes"<<endl; else cout<<"No"<<endl; } return 0;}
新闻热点
疑难解答