#include<iostream>
using namespace std;
int main(){
for(int k=0;k<32;k++){
int i=k;
int a[5]={0,0,0,0,0};
for(int j=4;i!=0;j--){
int temp=i%2;
a[j]=temp;
i=i/2;
}
for(int i=0;i<5;i++){
cout<<a[i];
}
cout<<endl;
}
return 0;
}
LQB:01字串
猜你喜欢
转载自blog.csdn.net/weixin_41297324/article/details/88527516
今日推荐
周排行