sunny_forever
sunny_forever
全部文章
题解
归档
标签
去牛客网
登录
/
注册
梨小畅的空间
全部文章
/ 题解
(共1篇)
题解 | #B-经商#
思路 01 背包 + 并查集 Code #include <bits/stdc++.h> using namespace std; const int N = 10010; int p[N]; int fa[N]; int f[N],v[N],w[N]; int n,m,c; i...
并查集
01背包
2021-08-03
2
571