#include<bits/stdc++.h>
using namespace std;
int main(){
while(1){
string s;
getline(cin,s);
reverse(s.begin(),s.end());
cout<<s<<endl;
}
return 0;
}
//解密加密小代码剪贴板
剪贴板 p3b1vly7
剪贴板信息
剪贴板信息
- 收录
- 更新
剪贴板
#include<bits/stdc++.h>
using namespace std;
int main(){
while(1){
string s;
getline(cin,s);
reverse(s.begin(),s.end());
cout<<s<<endl;
}
return 0;
}
//解密加密小代码