文章
145
粉丝
218
获赞
304
访问
115.2k
#include <stdio.h> #include <string.h> int main() { char s[1000],c; while(scanf("%s",s) != EOF) { scanf(" %c",&c); char *p = s; while(*p != '\0') { if(*p != c) printf("%c",*p); p++; } printf("\n"); } return 0; }
登录后发布评论
暂无评论,来抢沙发