From dcd7dbed7e97d6efb167556ea42e099ffa630395 Mon Sep 17 00:00:00 2001 From: ShazidMahsrafi Date: Fri, 23 Jun 2023 21:43:10 +0600 Subject: [PATCH] update code --- 236A Boy Or Girl/236A.cpp | 43 +++++++++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/236A Boy Or Girl/236A.cpp b/236A Boy Or Girl/236A.cpp index 09be533..0ccace9 100644 --- a/236A Boy Or Girl/236A.cpp +++ b/236A Boy Or Girl/236A.cpp @@ -1,20 +1,33 @@ -#include +#include using namespace std; +using ll = long long; + +int l[26]; + +void solve() +{ + string s; + cin>>s; + for(int i=0; i0) ct++; + } + if(ct%2==0) cout<<"CHAT WITH HER!"<>name; - int i,j,len,count=0; - len=strlen(name); - for(i=0;i> TC; + //cin.ignore(); + while (TC--) solve(); } \ No newline at end of file