摘要: VF时间限制:1000 ms | 内存限制:65535 KB难度:2描述 Vasya is the beginning mathematician. He decided to make an important contribution to the sci... 阅读全文
posted @ 2017-09-29 20:10 _大美 阅读(117) 评论(0) 推荐(0)
摘要: 又见01背包时间限制:1000 ms | 内存限制:65535 KB难度:3描述 有n个重量和价值分别为wi 和 vi 的 物品,从这些物品中选择总重量不超过 W 的物品,求所有挑选方案中物品价值总和的最大值。 1 #include#include#d... 阅读全文
posted @ 2017-09-29 19:40 _大美 阅读(104) 评论(0) 推荐(0)