This commit is contained in:
ShazidMahsrafi 2023-06-16 17:02:28 +06:00
parent 0ce6643b6a
commit 7666925a0e
2 changed files with 1 additions and 23 deletions

23
41A.cpp
View File

@ -1,23 +0,0 @@
#include<bits/stdc++.h>
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"<<endl;
else cout<<"NO"<<endl;
}
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
int TC = 1;
//cin >> TC;
//cin.ignore();
while (TC--) solve();
}

View File

@ -14,6 +14,7 @@ Feel free to check these codes out.
| ----------| ---------------|----------------------|--------------------------------|
| 1A | Theater Square | [Question](https://codeforces.com/contest/1/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/1A%20Theater%20Square/1A.cpp)
| 4A | Watermelon | [Question](https://codeforces.com/contest/4/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/4A%20Watermelon/4A.cpp)
| 41A | Translation | [Question](https://codeforces.com/problemset/problem/41/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/41A%20Translation/41A.cpp)
| 50A | Domino Piling | [Question](https://codeforces.com/contest/50/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/50A%20DominoPiling/50A.cpp)
| 59A | Word | [Question](https://codeforces.com/problemset/problem/59/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/59A%20Word/59A.cpp)
| 71A | Way Too Long Words | [Question](https://codeforces.com/contest/71/problem/A) | [Solution](https://github.com/ShazidMashrafi/Codeforces-Solutions/blob/master/71A%20Way%20Too%20Long%20Words/71A.cpp)