大会员可查看代码,点此开通大会员
#include<bits/stdc++.h>
using namespace std;
int main(){
string res = "000000";
cout << res << endl;
for (int i = 0; i < 63;i++){
for (int i = 5; i >= 0;i--){
if(res[i]=='0'){
res[i] = '1';
break;
}
else{
res[i] = '0';
}
}
cout << res << endl;
}
return 0;
}