会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
菜花炒肉
博客园
首页
新随笔
联系
订阅
管理
2013年8月2日
将任意的数倒叙输出
摘要: #include "stdafx.h"#include #include using namespace std;int _tmain(int argc, _TCHAR* argv[]){ string input; cin>>input; int i=input.length()-1; while(i!=-1) { cout<<input[i]; --i; } return 0;}
阅读全文
posted @ 2013-08-02 00:53 一桶白开水
阅读(235)
评论(0)
推荐(0)
编辑
公告