文章
7
粉丝
0
获赞
35
访问
887
#include <stdio.h>
#include <string.h>
int isTarget(char *s)
{
char k[]="tantan";
return strncmp(s,k,6)==0;
}
void Replace(char *s,int i){
s[i] ='b';
s[i+1] ='a';
s[i+2] ='i';
s[i+3] ='b';
s[i+4] ='a';
s[i+5]='i';
}
int main(){
char s[100];
int found;
scanf("%s",s);
for(int i=0;i< strlen(s);i++){
if(s[i]>='A'&&s[i]<='Z'){
s[i]+=32;
}
}
for(int i=0;i< strlen(s);i++){
&nbs...
登录后发布评论
暂无评论,来抢沙发