From 4685fbf607dd1ed4880ebafdd0e3d9fc8c9ebc86 Mon Sep 17 00:00:00 2001 From: Shazid Mashrafi Date: Thu, 10 Aug 2023 22:53:48 +0600 Subject: [PATCH] initial commit --- 1703A YES or YES/1703A.cpp | 52 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 1703A YES or YES/1703A.cpp diff --git a/1703A YES or YES/1703A.cpp b/1703A YES or YES/1703A.cpp new file mode 100644 index 0000000..c1d2966 --- /dev/null +++ b/1703A YES or YES/1703A.cpp @@ -0,0 +1,52 @@ +#include +using namespace std; + +#define ll long long +#define ul unsigned long long +#define pb push_back +#define ss second +#define ff first +#define fr(n) for(int i=0; i=0; i--) +#define nl '\n' +#define yes cout<<"YES"<>s; + for(auto &c:s) + c=tolower(c); + if(s=="yes") + yes; + else + no; +} + +int main() +{ + fast_io; + int TC = 1; + cin >> TC; + while (TC--) solve(); +} \ No newline at end of file