Note
- 散列
Code:
#include<bits/stdc++.h>
using namespace std;
int main(){
#ifndef ONLINE_JUDGE
freopen("data.txt","r",stdin);
#endif
string s1,s2;
bool yes[200]={false};
getline(cin,s1);
getline(cin,s2);
for(int i=0;i<s2.length();i++)
yes[s2[i]]=true;
for(int j=0;j<s1.length();j++)
if(yes[s1[j]]==false)
printf("%c",s1[j]);
return 0;
}