#include<iostream>
#include<cstdio>
#include<cstring>
#include<algorithm>
#include<cmath>
using namespace std;
int main(){
int i;
char s[212];
char t[212];
while(gets(s)){
strcpy(t,s);
int len=strlen(t);
for(i=0;i<len;i++)
if(t[i]>='A'&&t[i]<='Z')
t[i]=t[i]-'A'+'a';
i=0;
while(t[i])
{
if(memcmp(t+i,"marshtomp",9)==0){
printf("fjxmlhx");
i+=9;
}
else{
putchar(s[i]);
i++;
}
}
printf("\n");
//putchar(10);
// puts(go(s));
}
return 0;
}
stl之memset也就是字符串匹配
最新推荐文章于 2024-10-28 19:53:10 发布