凹凸曼 提交的代码
提交时间:2020年7月26日 19:19 语言:C运行时间:0ms占用内存:140K
运行状态: Accepted
题目:01序列1001

大会员可查看代码,点此开通大会员

                
                    #include<stdio.h>
int main()
{
   int n = 64;
	int b[6]={0};
	for(int i=0;i<64;i++)
	{
		int h=0,count=i;
		while(count!=0)
		{
          int k=count%2;
			count/=2;
			b[h]=k;
			h++;
		}
		for(int j=5;j>=0;j--)
		{
			printf("%d",b[j]);
		}
		printf("\n");
	}
		
}