一道水题 直接秒杀…
#include<bits/stdc++.h>
using namespace std;
map<char,int> happened;
int main(void)
{
freopen("pat0314/in.txt","r",stdin);
string s;
string needDlete;
getline(cin,s);
getline(cin,needDlete);
// cout<<needDlete.size();
for(int i = 0;i<needDlete.size();i++)
{
happened[needDlete[i]] = 1;
}
for(int i = 0;i<s.size();i++)
{
if(happened[s[i]] != 1)
{
cout<<s[i];
}
else
{
continue;
}
}
return 0;
}