弘一


私信TA

用户名:hongyi12

访问量:773

签 名:

等  级
排  名 2057
经  验 2418
参赛次数 0
文章发表 12
年  龄 0
在职情况 学生
学  校
专  业

  自我简介:

解题思路:

注意事项:

参考代码:

#include<iostream>

#include<string>

using namespace std;

int main(){

    string s;

    getline(cin,s);

   for(auto it=s.rbegin();it!=s.rend();it++){

       cout<<*it;

   }

    return 0;

}


 

0.0分

0 人评分

  评论区