标签:style blog io color ar os 使用 sp for
you are what you do
we are what we do
#include<stdio.h> #include<string.h> int main() { char s[3005]; int len,i; while(gets(s)!=NULL) { len=strlen(s); for(i=0;i<len;i++) { if(s[i]=='y'&&s[i+1]=='o'&&s[i+2]=='u') { printf("we"); i+=2; } else printf("%c",s[i]); } printf("\n"); } return 0; }
标签:style blog io color ar os 使用 sp for
原文地址:http://blog.csdn.net/yzi_angel/article/details/41014433