Files
python/TangDou/AcWing/TopSort/TestBitSet.cpp

15 lines
418 B
C++
Raw Normal View History

2025-08-30 18:35:01 +08:00
#include <bits/stdc++.h>
using namespace std;
const int N = INT_MAX;
//一维静态数组,不能开到2147483647,此时INT 4byte,需要 4*2147483647/1024/1024/1024≈8GB,开不下,报错
// int a[N];
//每八位占用一个字节,相比于int 占4个字节,可以说是小于32倍,可以正常开启程序并运行
bitset<N> bit;
int main() {
cout << "Hello World~" << endl;
return 0;
}