0
已解决
#include <iostream>
using namespace std;
int main() {
string a;
cin>>a;
for(int i=a.size()-1;i>=0;i--){
cout<<a[i];
}
return 0;
}
80分代码
经验值:400
题目描述 Description
已知一个长度不大于20的字符数组,现在要将其逆向输出,请编写程序实现这一过程。
输入描述 Input Description
一个字符数组
输出描述 Output Description
逆向输出的字符数组
样例输入 Sample Input
abc
样例输出 Sample Output
cba
0
已采纳
第五行---》getline(cin,a); AC完美!
沈峻宇在2020-05-31 15:07:12追加了内容
哦吼!

我发现了xxs不该出现的字眼……
哈哈啊哈哈哈嗝……
呜哈哈哈哈……
叶某某
是男的女的啊?
哈哈哈哈哈……
0
0
0
0
0
