摘要: #include <iostream> using namespace std; const int N = 16; bool record[N]; void selection(int start, int end,int capacity,int num) { if(num == capacit 阅读全文
posted @ 2023-02-06 17:34 破忒头头 阅读(13) 评论(0) 推荐(0)
摘要: 回溯 #include <iostream> using namespace std; const int N = 16; bool record[N]; void selection(int start, int end) { if(start>end){ //到达上届 for(int i = 1 阅读全文
posted @ 2023-02-06 17:13 破忒头头 阅读(27) 评论(0) 推荐(0)