#include <cstdlib>
#include <string>
#include <iostream>
#include <thread>
#include <array>
using namespace std;
int main(int argc, char *argv[])
{
string str;
cin>>str;
string rstr;
rstr.replace(rstr.begin(), rstr.end(),str.rbegin(),str.rend());
cout<<rstr;
while(1);
return EXIT_SUCCESS;
}
C++字符串逆排序
最新推荐文章于 2023-05-25 03:21:43 发布