Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<bits/stdc++.h>
- using namespace std;
- main()
- {
- string input_STRING;
- int ascii_value[5], count_test[25], count=0;
- cin>>input_STRING;
- for(int i=0; i<26; i++)
- {
- count_test[i]=i;
- }
- for(int i=1; i<input_STRING.size(); i++)
- {
- ascii_value[i]=input_STRING[i]-96;
- count_test[ascii_value[i]]=0;
- }
- for(int i=0; i<input_STRING.size(); i++)
- {
- if(count_test[ascii_value[i]]=0)
- {
- count++;
- }
- }
- if(count%2==0)
- {
- cout<<"CHAT WITH HER!";
- }
- else
- cout<<"IGNORE HIM!";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement