随笔分类 -  背包

摘要:题目链接:http://acm.swust.edu.cn/problem/838/Time limit(ms): 1000 Memory limit(kb): 10000Description我们定义了这个一个函数:void Judge(int x, int &A, int &B, i... 阅读全文
posted @ 2015-06-28 00:52 繁夜 阅读(499) 评论(0) 推荐(0)
摘要:题目链接:http://acm.swust.edu.cn/problem/465/还有一道题只是描述不一样,方法一模一样(http://acm.swust.edu.cn/problem/644/)Time limit(ms): 1000 Memory limit(kb): 65535D... 阅读全文
posted @ 2015-06-19 17:02 繁夜 阅读(350) 评论(0) 推荐(0)
摘要:通过:http://www.cnblogs.com/tanky_woo/archive/2010/07/31/1789621.html http://blog.csdn.net/lyhvoyage/article/details/8545852改编而来3种背包的简单概念:0-1背包 (ZeroO... 阅读全文
posted @ 2015-06-14 11:54 繁夜 阅读(2894) 评论(0) 推荐(0)
摘要:题目链接:http://poj.org/problem?id=2184Cow ExhibitionTime Limit:1000MSMemory Limit:65536KTotal Submissions:9479Accepted:3653Description"Fat and docile, bi... 阅读全文
posted @ 2015-06-14 11:39 繁夜 阅读(286) 评论(0) 推荐(0)