1 2 3
1 10 11 #include<stdio.h> void f(int n) { if(n/2) f(n/2); printf("%d",n%2); } main() { int n; while(scanf("%d",&n)!=EOF) { f(n); printf("\n");} return 0; }
Bitset(位组)
原文:http://blog.csdn.net/l15738519366/article/details/45272677