Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul255 authored Nov 22, 2018
1 parent 9a40d75 commit 9ee392c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions 236A.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#include <iostream>
#include <string>
using namespace std;

int main()
{
string s;
int i,c=0,b[500]={};
cin>>s;
for(i=0;i<s.length();i++)
{
if(!b[s[i]])
{
c++;
b[s[i]]++;
}
}
if(c%2)
{
cout<<"IGNORE HIM!"<<endl;
}
else
{
cout<<"CHAT WITH HER!"<<endl;
}

return 0;
}

0 comments on commit 9ee392c

Please sign in to comment.