From d75259590a6deedc410b4972f0069da695abc8ee Mon Sep 17 00:00:00 2001 From: Omar Magdy Date: Mon, 16 May 2022 20:48:39 +0200 Subject: Solved BoyOrGirl from codeforces --- BoyOrGirl.cpp | 12 ++++++++++++ ConsecutivePointsSegment.cpp.out | Bin 0 -> 75408 bytes 2 files changed, 12 insertions(+) create mode 100644 BoyOrGirl.cpp create mode 100755 ConsecutivePointsSegment.cpp.out diff --git a/BoyOrGirl.cpp b/BoyOrGirl.cpp new file mode 100644 index 0000000..1ce7fff --- /dev/null +++ b/BoyOrGirl.cpp @@ -0,0 +1,12 @@ +#include +using namespace std; +int main() { + string s; + cin >> s; + set st; + for(auto ch : s) { + st.insert(ch); + } + cout << (st.size() % 2 != 0 ? "IGNORE HIM!" : "CHAT WITH HER!") << endl; +} + diff --git a/ConsecutivePointsSegment.cpp.out b/ConsecutivePointsSegment.cpp.out new file mode 100755 index 0000000..5a88f54 Binary files /dev/null and b/ConsecutivePointsSegment.cpp.out differ -- cgit v1.2.3