```cpp
include[HTML_REMOVED]
include[HTML_REMOVED]
using namespace std;
int main(){
string s1;
char c;
cin>>s1;
cin>>c;
int len=s1.size();//int len=strlen(s1);这个函数处理字符数组char s1[31],string不可用
for(int i=0;i<len;i++){
if(s1[i]==c) s1[i]=’#’; //strcmp用于字符串和字符串的比较;s1[i]是单个字符,直接和字符用==比较
cout<<s1[i];
}
return 0;
}