Skip to content

Commit 6c5cab6

Browse files
committed
Added 41A - Translation.cpp
1 parent ee9c5b4 commit 6c5cab6

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

41A - Translation.cpp

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#include<bits/stdc++.h>
2+
using namespace std;
3+
4+
// Code Written By: Vikash Patel
5+
6+
int main()
7+
{
8+
string s,t;
9+
cin>>s>>t;
10+
reverse(s.begin(),s.end());
11+
if(s==t)
12+
cout<<"YES"<<endl;
13+
else
14+
cout<<"NO"<<endl;
15+
}
16+
17+
18+
19+
20+
21+
22+

0 commit comments

Comments
 (0)