随笔分类 -  背包

摘要:状态: 转移 判断 计算面积 $S=\sqrt{p (p a) (p b) (p c)}$ $p$为半周长:$(a+b+c)/2$ 献上完整代码: cpp include using namespace std; int n,c; int l[50]; int wood[4]; bool dp[80 阅读全文
posted @ 2019-05-06 11:23 hulean 阅读(328) 评论(0) 推荐(0)