摘要: 01背包:P(至少一个offer) = 1 - P(拥有全部offer) #include<stdio.h> #include<cstdio> #include<iostream> #include<algorithm> #include<math.h> #include<stdlib.h> #in 阅读全文
posted @ 2019-03-21 15:40 声声醉如兰 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 多重背包,很水 #include<stdio.h> #include<cstdio> #include<iostream> #include<algorithm> #include<math.h> #include<stdlib.h> #include<string.h> #include<stri 阅读全文
posted @ 2019-03-21 15:38 声声醉如兰 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 分组DP 阅读全文
posted @ 2019-03-21 15:37 声声醉如兰 阅读(117) 评论(0) 推荐(0) 编辑