会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
xlturing
梦如茶,一个程序员的逐梦之旅 - 转载请注明
http://www.cnblogs.com/xlturing/
博客园
新随笔
联系
订阅
管理
2013年10月13日
ZOJ Problem Set - 1383 Binary Numbers
摘要: 水题,输出的时候注意下#include #include int main(){ int d; scanf("%d",&d); while(d--) { int binary[30]; int n,i=0; scanf("%d",&n); while(n!=0) { binary[i++]=n%2; n/=2; } int flag=1; for(int j=0;j<i;j++) { ...
阅读全文
posted @ 2013-10-13 19:06 xlturing
阅读(284)
评论(0)
推荐(0)
编辑
公告