杭电-2051 Bitset
来源:互联网 发布:php就业形势 编辑:程序博客网 时间:2024/05/18 08:07
http://acm.hdu.edu.cn/showproblem.php?pid=2051
#include<stdio.h>int main(){int n,i;int a[10000];while(~scanf("%d",&n)){int num=0;while(n){a[num]=n%2;n/=2;++num;}for(i=num-1;i>=0;--i){printf("%d",a[i]);}printf("\n");}return 0;}
0 0
- 杭电 2051 Bitset
- 杭电 2051 Bitset
- 杭电2051 Bitset
- 杭电-2051 Bitset
- 【杭电】[2051]Bitset
- 杭电ACM 2051 Bitset
- 杭电ACM 2051 Bitset
- 杭电Hd 2051 Bitset
- 2051 Bitset
- 【Bitset 2051】
- Bitset 2051
- 2051 Bitset
- 2051 Bitset
- [2051]:Bitset
- 2051Bitset
- HDOJ 2051 Bitset
- Hdu 2051 - Bitset
- HDU 2051 Bitset
- Vijos 1922 木姑娘的生日
- Vijos 1919 最有活力的鲜花
- Vijos 1924 幸福的二次相遇
- Vijos 1925 老爷爷与老奶奶
- Vijos 1932 重要的誓言
- 杭电-2051 Bitset
- NOIP 2014 提高组 Day2 T2 寻找道路
- 四,从头到尾在myeclipse中的java开发环境搭建之SQLServer2000数据库的安装
- 杭电-2099 整除的尾数
- NOIP 2014 提高组 Day2 T1 无线网路发射器选址
- POJ 1001 Exponentiation
- POJ 1002 487-3279
- C#设计模式(十三)迭代器模式
- POJ 1003 Hangover