字符串处理
代码:
#includeusing namespace std;#define ll long longconst int N=105;const int INF=0x7f7f7f7f;char s[N][N];char res[N],ss;int vis[N]={ 0};int main(){ int n; cin>>n; for(int i=0;i >s[i]; } getchar(); cin>>res; getchar(); cin>>ss; for(int j=0;j