Hi,我是栀景,也叫青龙,很高兴认识你.
文章
共 1 篇- 题解
题解:P1285 队员分组
这是一个存在性的01背包问题。分成两组联系到二分图上 #include <bits/stdc++.h> using namespace std; const int MN=105; const int MM=105; typedef long long ll; bool g[MN…
这是一个存在性的01背包问题。分成两组联系到二分图上 #include <bits/stdc++.h> using namespace std; const int MN=105; const int MM=105; typedef long long ll; bool g[MN…