摘要: Bone Collector II Time Limit: 5000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4948 Accepted Submission(s): 25 阅读全文
posted @ 2017-07-20 23:18 ISGuXing 阅读(257) 评论(0) 推荐(0) 编辑
摘要: Nowadays, we all know that Computer College is the biggest department in HDU. But, maybe you don't know that Computer College had ever been split into 阅读全文
posted @ 2017-07-20 23:04 ISGuXing 阅读(157) 评论(0) 推荐(0) 编辑
摘要: The Fewest Coins Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 6615 Accepted: 2039 Description Farmer John has gone to town to buy some f 阅读全文
posted @ 2017-07-20 22:56 ISGuXing 阅读(244) 评论(0) 推荐(0) 编辑
摘要: Coins Time Limit: 3000MS Memory Limit: 30000K Total Submissions: 37959 Accepted: 12882 Description People in Silverland use coins.They have coins of v 阅读全文
posted @ 2017-07-20 22:46 ISGuXing 阅读(163) 评论(0) 推荐(0) 编辑
摘要: Dividing Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 71507 Accepted: 18648 Description Marsha and Bill own a collection of marbles. The 阅读全文
posted @ 2017-07-20 22:35 ISGuXing 阅读(518) 评论(0) 推荐(0) 编辑
摘要: On January 1st 2002, The Netherlands, and several other European countries abandoned their national currency in favour of the Euro. This changed the e 阅读全文
posted @ 2017-07-20 22:23 ISGuXing 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 最近xhd正在玩一款叫做FATE的游戏,为了得到极品装备,xhd在不停的杀怪做任务。久而久之xhd开始对杀怪产生的厌恶感,但又不得不通过杀怪来升完这最后一级。现在的问题是,xhd升掉最后一级还需n的经验值,xhd还留有m的忍耐度,每杀一个怪xhd会得到相应的经验,并减掉相应的忍耐度。当忍耐度降到0或 阅读全文
posted @ 2017-07-20 22:10 ISGuXing 阅读(238) 评论(0) 推荐(0) 编辑
摘要: The trouble of Xiaoqian Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2277 Accepted Submission( 阅读全文
posted @ 2017-07-20 01:03 ISGuXing 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 1101 换零钱 基准时间限制:1 秒 空间限制:131072 KB 分值: 20 难度:3级算法题 1101 换零钱 基准时间限制:1 秒 空间限制:131072 KB 分值: 20 难度:3级算法题 1101 换零钱 基准时间限制:1 秒 空间限制:131072 KB 分值: 20 难度:3级算 阅读全文
posted @ 2017-07-20 00:51 ISGuXing 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 有N种物品,每种物品的数量为C1,C2......Cn。从中任选若干件放在容量为W的背包里,每种物品的体积为W1,W2......Wn(Wi为整数),与之相对应的价值为P1,P2......Pn(Pi为整数)。求背包能够容纳的最大价值。 Input第1行,2个整数,N和W中间用空格隔开。N为物品的种 阅读全文
posted @ 2017-07-20 00:41 ISGuXing 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 先判断是否大于等于5元,如果是就排序,找出最大的,对剩下的菜进行动态规划 饭卡 Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 30534 Acc 阅读全文
posted @ 2017-07-20 00:36 ISGuXing 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 还是入门题,只不过需要优化一下空间,不然就会内存超限 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 char 阅读全文
posted @ 2017-07-20 00:30 ISGuXing 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 01背包入门题,刚学完当写模板。 在N件物品取出若干件放在容量为W的背包里,每件物品的体积为W1,W2……Wn(Wi为整数),与之相对应的价值为P1,P2……Pn(Pi为整数)。求背包能够容纳的最大价值。 Input第1行,2个整数,N和W中间用空格隔开。N为物品的数量,W为背包的容量。(1 <= 阅读全文
posted @ 2017-07-20 00:23 ISGuXing 阅读(142) 评论(0) 推荐(0) 编辑