首页
DreamJudge
院校信息
考研初试
考研复试
保研专区
讨论区
兑换中心
登录
注册
上岸
以下题解仅供学习参考使用。
抄袭、复制题解,以达到刷AC率/AC数量或其他目的的行为,在N诺是严格禁止的。
N诺非常重视学术诚信。此类行为将会导致您成为作弊者。具体细则请查看N诺社区规则。
zzzx
2026年3月19日 21:06
01序列 题解:一行秒了
P1001
回复 0
|
赞 1
|
浏览 31
#include<bits/stdc++.h> using namespace std; int main() { for (int i = 0; i < 64; ++i) {cout << bitset<6>(i) << endl;} }
yauqq
2026年3月18日 11:00
01序列 题解:
P1001
回复 0
|
赞 2
|
浏览 37
#include<bits/stdc++.h> using namespace std; string tobinary(int x){ if (x == 0) return "0"; string bin = ""; while (x > 0) { bin += (x & 1) ? '1' : '0'; x >>= 1; } reverse(bin.begin(), bin.end()); return bin; } int main(){ for(int i=0;i...
itachi
2026年3月16日 01:42
01序列 题解:
P1001
回复 0
|
赞 2
|
浏览 75
天才就是百分之九十九的汗水 #include <iostream> using namespace std; int main() { cout << "000000" << endl; cout << "000001" << endl; cout << "000010" << endl; co...
彻底死去
2026年3月14日 20:14
01序列 题解:
P1001
回复 0
|
赞 3
|
浏览 77
#include<iostream> #include<cstdio> #include<cmath> #include<algorithm> #include<string> #include<cstring> using namespace std; int main() { for (int i = 0; i < 64; i++) { for (int j = 5; j >= 0; j--) { cout <&l...
太一
2026年3月14日 17:43
01序列 题解:
P1001
回复 0
|
赞 2
|
浏览 69
#include<iostream> #include<cmath> #include<algorithm> #include<string> using namespace std; int main() { int arr[6] = { 0 }; for (int i = 0;i < 64;i++) { int num = i; &nb...
Tyu0871
2026年3月12日 11:10
01序列 题解:模拟
P1001
回复 0
|
赞 4
|
浏览 100
手动模拟二进制的计算方法 #include<bits/stdc++.h> #include<bitset> using namespace std; int main(){ int n=6; for(int i=0;i<=63;i++){ int temp = i; string ss ; for(int i=0;i<6;i++) {//计算ss,不过注意 如果这里i=2,那么ss中的内容是010000 if(temp%2==0) ss.push_back('0'); else ss.p...
sadhjksdj
2026年3月3日 16:37
01序列 题解:
P1001
回复 0
|
赞 10
|
浏览 285
#include<bits/stdc++.h> using namespace std; int main() { for(int i = 0; i < 64; i++) { //手动转换 for(int j = 5; j >= 0; j--) { cout ...
牧濑
2026年2月12日 11:55
01序列 题解:两种方法,除二取余/模拟二进制加法
P1001
回复 0
|
赞 21
|
浏览 311
#include <iostream> #include <string> using namespace std; int main(){ //法一,模二取余 // for(int i=0;i<64;i++){ // string str; // int x=i; // while(x>0){ // str=char(x%2+'0')+str; // x=x/2; // } // while(str.size()<6){ // str='0'+str; //...
mlx
2026年1月29日 21:11
01序列 题解:
P1001
回复 0
|
赞 3
|
浏览 258
#include<iostream> #include<vector> #include<algorithm> using namespace std; void print(int x) { vector<int> num; while(x) { num.push_back(x%2); x/=2; } reverse(num.begin(),num.end()); if(num.size()<6) { for(int i=0;i<6-num.size();i++)...
曾不会
2026年1月24日 10:26
01序列 题解:
P1001
回复 0
|
赞 14
|
浏览 337
非常暴力 #include<stdio.h> #include<string.h> int main() { int i,j,k,m,n,p; int count=0; for(i=0;i<2;i++) { for(j=0;j<2;j++) &...
1
2
3
...
6
题目
01序列
题解数量
54
发布题解
在线答疑
热门题解
1
01序列 题解:C
2
01序列 题解:两种方法,除二取余/模拟二进制加法
3
01序列 题解:使用一个while+一个01存储数组
4
01序列 题解:
5
01序列 题解:输出0-63的六位二进制即可
6
P1001 - 01 序列 - C
7
01序列 题解:
8
01序列 题解:
9
01序列 题解:
10
01序列 题解: