摘要: 92. 递归实现指数型枚举 dfs递归做法 #include<iostream> using namespace std; const int N = 20; int n; bool st[N]; //1~N每个数的状态数组:0表示未选择,1表示已选择 void dfs(int u) { if(u 阅读全文
posted @ 2022-01-07 18:32 安河桥北i 阅读(68) 评论(0) 推荐(0)