http://ac.jobdu.com/problem.php?pid=1049
#include<stdio.h>
#include<string.h>
int main()
{
int i;
char c,s[1000];
while(scanf("%s",s)!=EOF){
getchar();
scanf("%c",&c);
for(i=0;i<strlen(s);i++){
if(s[i]!=c) printf("%c",s[i]);
}
printf("\n");
}
system("pause");
return 0;
}