From 15fc07a155d85d32d9a80ef173604358e3c1a50d Mon Sep 17 00:00:00 2001 From: ShazidMahsrafi Date: Fri, 16 Jun 2023 16:59:58 +0600 Subject: [PATCH] initial commit --- 41A.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 41A.cpp diff --git a/41A.cpp b/41A.cpp new file mode 100644 index 0000000..c017c61 --- /dev/null +++ b/41A.cpp @@ -0,0 +1,23 @@ +#include +using namespace std; +using ll = long long; + +void solve() +{ + string s,rs,t; + cin>>s>>t; + reverse(s.begin(),s.end()); + if(s==t) cout<<"YES"<> TC; + //cin.ignore(); + while (TC--) solve(); +} \ No newline at end of file