摘要: Watashi's BGTime Limit: 3 Seconds Memory Limit: 65536 KBWatashi is the couch of ZJU-ICPC Team and he is very kind hearted. In ZJU-ICPC summer training... 阅读全文
posted @ 2014-12-03 14:21 哈特13 阅读(180) 评论(0) 推荐(0) 编辑
摘要: Magic NumberTime Limit: 2 Seconds Memory Limit: 32768 KBA positive number y is called magic number if for every positive integer x it satisfies that p... 阅读全文
posted @ 2014-12-03 14:12 哈特13 阅读(199) 评论(0) 推荐(0) 编辑
摘要: Battle ShipsTime Limit: 2 Seconds Memory Limit: 65536 KBBattle Ships is a new game which is similar to Star Craft. In this game, the enemy builds a de... 阅读全文
posted @ 2014-12-03 14:09 哈特13 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 又见01背包时间限制:1000ms | 内存限制:65535KB难度:3描述有n个重量和价值分别为wi 和 vi 的 物品,从这些物品中选择总重量不超过 W的物品,求所有挑选方案中物品价值总和的最大值。 1 #include #include using namespace std;#define... 阅读全文
posted @ 2014-12-03 00:00 哈特13 阅读(124) 评论(0) 推荐(0) 编辑