- 博客(1)
- 收藏
- 关注
原创 枚举子集
1、枚举子集#include<iostream>using namespace std;int main() { int n = 4; for(int i = 0; i < (1<<n); ++i){ for(int j = 0; j < n; ++j){ if(i&(1<<j)) cout << 1; else cout << 0;
2021-01-12 09:55:31 531
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人