#include<iostream>
using namespace std;
int main()
{
int showed_in_s2[128]={0};
string s1,s2;
getline(cin,s1);
getline(cin,s2);
for(char c:s2){
showed_in_s2[c]=1;
}
for(char c:s1){
if(!showed_in_s2[c]){
cout<<c;
}
}
}
a.cpp:11:21: warning: array subscript is of type ‘char’ [-Wchar-subscripts]
showed_in_s2[c]=1;
^~
a.cpp:15:25: warning: array subscript is of type ‘char’ [-Wchar-subscripts]
if(!showed_in_s2[c]){
^~
2 warnings generated.