摘要: 完全背包模型 二维 #include<iostream> using namespace std; const int N = 4010; const unsigned int mod = 1 << 31; unsigned int f[N][N]; int n; int main(){ cin > 阅读全文
posted @ 2020-10-27 20:15 yys_c 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 离散化+并查集 复杂度:\(O(Tnlogn)\) 被函数名给坑了,因为二分和并查集都习惯用find函数。。。 #include<iostream> #include<vector> #include<algorithm> using namespace std; const int N = 200 阅读全文
posted @ 2020-10-27 19:24 yys_c 阅读(90) 评论(0) 推荐(0) 编辑