题目:
alt text
代码:

include

include

using namespace std;
//没有要求大小写 所以没做出说明
int main(){
string str1,str2;
getline(cin,str1);
cin>>str2;
for(int i = 0; i < str2.size();i++){
int pos = str1.find(str2[i]);
while(pos >= 0){
str1 = str1.erase(pos,1); //知识点1
pos = str1.find(str2[i]);
}
}
cout<