#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <cstdio>
#include <math.h>
#include <string>
#include <algorithm>
using namespace std;
bool vis[26];
int ans;
int already(char s) {
int cnt = s - 97;
int flag;
if (vis[cnt] == true) {
flag = 0;
}
else {
flag = 1;
vis[cnt] = true;
}
return flag;
}
int main() {
string s;
cin >> s;
int len = s.length();
for (int i = 0;i < len;++i) {
if (already(s[i])) {
ans++;
}
}
if (ans % 2 == 0) {
cout << "CHAT WITH HER!" << endl;
}
else {
cout << "IGNORE HIM!" << endl;
}
return 0;
}
最后
以上就是甜蜜网络最近收集整理的关于Codeforces 236A Boy or Girl的全部内容,更多相关Codeforces内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复