解题思路:
注意事项:
参考代码:
#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 人评分
母牛的故事 (C语言代码)浏览:733 |
用筛法求之N内的素数。 (C语言代码)浏览:591 |
简单的a+b (C语言代码)浏览:534 |
整除的尾数 (C语言代码)浏览:844 |
C语言程序设计教程(第三版)课后习题5.7 (C语言代码)浏览:1201 |
简单的a+b (C语言代码)浏览:585 |
C语言程序设计教程(第三版)课后习题7.5 (C语言代码)(简单版)浏览:584 |
C语言训练-求s=a+aa+aaa+aaaa+aa...a的值 (C语言代码)浏览:744 |
人见人爱A+B (C语言代码)浏览:648 |
Manchester- 采药(0 1背包)浏览:6774 |