背包问题
wchyumo2009
这个作者很懒,什么都没留下…
展开
-
背包九讲
以后要好好看练这个背包问题了 http://love-oriented.com/pack/转载 2011-09-15 18:18:46 · 542 阅读 · 0 评论 -
杭电hdu 1248 寒冰王座 完全背包
http://acm.hdu.edu.cn/showproblem.php?pid=1248 注意与0-1背包的区别 #include #include int max(int a, int b) { return a > b ? a : b; } int main() { int t; int n; int arr[3] = {150, 200, 350}; int i,原创 2012-06-04 22:32:35 · 2986 阅读 · 0 评论