3.6

#include <iostream>
#include<cstdio>
#include<string>
using namespace std;

int main()
{
    string str;
    getline(cin,str);
    int len=str.size();
    for(int i=len-1;i>0;i--){
        cout<<str[i];
    }
}

相关文章:

  • 2022-02-18
  • 2022-02-09
  • 2022-02-09
  • 2022-01-20
  • 2021-05-05
  • 2021-08-27
  • 2022-02-13
  • 2021-09-30
猜你喜欢
  • 2021-09-01
  • 2022-12-23
  • 2021-09-05
  • 2021-06-14
  • 2021-09-01
  • 2022-12-23
  • 2021-12-26
相关资源
相似解决方案