aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Magdy <omar.professional8777@gmail.com>2022-05-16 20:48:39 +0200
committerOmar Magdy <omar.professional8777@gmail.com>2022-05-16 20:48:39 +0200
commitd75259590a6deedc410b4972f0069da695abc8ee (patch)
tree44eded2e4cde360278442d938c32364464802f63
parentaf320060fc0a5bd574ae2bcd6c5032a70b1ec679 (diff)
downloadcompetitive-programming-d75259590a6deedc410b4972f0069da695abc8ee.tar.xz
competitive-programming-d75259590a6deedc410b4972f0069da695abc8ee.zip
Solved BoyOrGirl from codeforces
-rw-r--r--BoyOrGirl.cpp12
-rwxr-xr-xConsecutivePointsSegment.cpp.outbin0 -> 75408 bytes
2 files changed, 12 insertions, 0 deletions
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<bits/stdc++.h>
+using namespace std;
+int main() {
+ string s;
+ cin >> s;
+ set<char> 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
--- /dev/null
+++ b/ConsecutivePointsSegment.cpp.out
Binary files differ