题解 | #求长方体表面积#
数字颠倒
http://www.nowcoder.com/practice/ae809795fca34687a48b172186e3dafe
#include<bits/stdc++.h>
using namespace std;
int main(){
//
string strInput= "";
list<char> myList;
while(getline(cin,strInput)){
for(auto ch:strInput){
myList.push_front(ch);
}
for(auto ch:myList){
cout<<ch;
}
cout<<endl;
}
return 0;
}