Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<bits/stdc++.h>
- using namespace std;
- int main()
- {
- string str;
- char st[26]= {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};
- int i,j,s=0;
- char ch='1';
- vector<int>v;
- cin>>str;
- s=str.length();
- for(i=0; i<str.length(); i++)
- {
- for(j=0; j<26; j++)
- {
- if(str[i]==st[j])
- st[j]='1';
- }
- }
- for(i=0; i<26; i++)
- {
- if(st[i]== ch)
- v.push_back(1);
- }
- s=v.size();
- if(s%2==0)
- cout<<"CHAT WITH HER!"<<endl;
- else
- cout<<"IGNORE HIM!"<<endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement