输出a相对于b没有出现的字符,使用flip哈希表保证唯一
#include<bits/stdc++.h>
using namespace std;
bool hash_table[128];
int main() {
string a, b;
cin >> a >> b;
for(auto c : b) hash_table[toupper(c)]=true;
for(auto c:a) {
c=toupper(c);
if(!hash_table[c]) {
putchar(c);
hash_table[c]=true;
}
}
return 0;
}