题解 | #求长方体表面积#

数字颠倒

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;
}
全部评论

相关推荐

fRank1e:吓得我不敢去外包了,但是目前也只有外包这一个实习,我还要继续去吗
点赞 评论 收藏
分享
06-05 19:46
已编辑
武汉大学 后端
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务