摘要:
1.子集和问题 这个题有多个解,但题面没有明确说出需要哪组解。 此题最大不同是搜索的终止条件可以变化 注意优化,把不需要搜索的数据判断出来,直接给出No Solution的答案! #include<bits/stdc++.h> #define enter printf("\n") using nam 阅读全文
posted @ 2022-01-24 16:07
yinfelix
阅读(36)
评论(0)
推荐(0)
摘要:
#include<bits/stdc++.h>using namespace std;typedef long long ll;int n,p;ll m;struct node{ //save ll g[4][4];}f,res;void ORI(node &x){ //单位矩阵 for(int i 阅读全文
posted @ 2022-01-24 13:16
yinfelix
阅读(40)
评论(0)
推荐(0)
浙公网安备 33010602011771号