组合型

递归实现组合型枚举

#include<iostream> using namespace std; const int N=500; int n; int m; int state[N]; bool used[N]; void dfs(int u,int c){ //边界条件 if(c==m){//已经选了m个数 fo ......
组合型
共1篇  :1/1页 首页上一页1下一页尾页