1.11

来源:互联网 发布:usb端口上的电涌不足 编辑:程序博客网 时间:2024/05/22 02:14
#include<iostream>
#include<string>
using namespace std;
int main()
{
string str;
cin>>str;
int i,j;
int length=sizeof(str);
    for(i=length-1;i>=0;i--)
    {
    cout<<str[i];
    }

return 0;
}
0 0
原创粉丝点击