Dp 动态规划
SandraOvO
这个作者很懒,什么都没留下…
展开
-
HDU 2602 Bone Collector(01背包)
Description Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , such as dog’s , cow’s , also he went to the grave … Th原创 2016-05-24 23:37:15 · 191 阅读 · 0 评论 -
POJ 3624 Charm Bracelet (01背包)
Description Bessie has gone to the mall's jewelry store and spies a charm bracelet. Of course, she'd like to fill it with the best charms possible from the N(1 ≤ N ≤ 3,402) available charms. Each原创 2016-05-24 23:38:42 · 230 阅读 · 0 评论 -
HDU 1248 寒冰王座 (完全背包)
Description 不死族的巫妖王发工资拉,死亡骑士拿到一张N元的钞票(记住,只有一张钞票),为了防止自己在战斗中频繁的死掉,他决定给自己买一些道具,于是他来到了地精商店前. 死亡骑士:"我要买道具!" 地精商人:"我们这里有三种道具,血瓶150块一个,魔法药200块一个,无敌药水350块一个." 死亡骑士:"好的,给我一个血瓶." 说完他掏出那张N元的大原创 2016-05-24 23:40:53 · 503 阅读 · 0 评论 -
HDU-1029 Ignatius and the Princess IV
Description "OK, you are not too bad, em... But you can never pass the next test." feng5166 says. "I will tell you an odd number N, and then N integers. There will be a special integer among th原创 2016-05-12 18:27:39 · 297 阅读 · 0 评论