#include<iostream>
#include<string>
using namespace std;
int main()
{
string ss,s;
while (getline(cin,ss))
{
getline(cin,s);
bool flag = false;
for (int i = 0; i < ss.length(); i++)
{
string str;
if (ss[i] == '"')
{
i++;
while (i<ss.length()&&ss[i] != '"')
{
str+= ss[i];
i++;
}
if (str== s)
{
flag = true;
break;
}
}
else if (ss[i] != ',')
{
while (i<ss.length()&&ss[i] != ',')
{
str+= ss[i];
i++;
}
if (str==s)
{
flag = true;
break;
}
}
else
{
;
}
}
if (flag == true)
cout << "Ignore" << endl;
else
cout << "Important!" << endl;
}
return 0;
}
抄送列表(NK)
最新推荐文章于 2022-08-06 23:33:38 发布