随笔分类 -  DP

摘要:Watch The MovieTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 245 Accepted Submission(s): 116Problem DescriptionNew semester is coming, and DuoDuo has to go to school tomorrow. She decides to have fun tonight and will be very busy after tonight.. 阅读全文
posted @ 2012-08-31 03:20 YogyKwan 阅读(273) 评论(0) 推荐(1)
摘要:悼念512汶川大地震遇难同胞——珍惜现在,感恩生活Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 209 Accepted Submission(s): 120Problem Description急!灾区的食物依然短缺! 为了挽救灾区同胞的生命,心系灾区同胞的你准备自己采购一些粮食支援灾区,现在假设你一共有资金n元,而市场有m种大米,每种大米都是袋装产品,其价格不等,并且只能整袋购买。 请问:你用有限的资金最多能采购多少公斤粮食呢?后记:. 阅读全文
posted @ 2012-08-31 03:10 YogyKwan 阅读(189) 评论(0) 推荐(1)
摘要:Piggy-BankTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 215 Accepted Submission(s): 117Problem Description Before ACM can do anything, a budget must be prepared and the necessary financial support obtained. The main income for this action comes. 阅读全文
posted @ 2012-08-31 03:07 YogyKwan 阅读(194) 评论(0) 推荐(1)
摘要:Bone CollectorTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 226 Accepted Submission(s): 115Problem DescriptionMany years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , such . 阅读全文
posted @ 2012-08-31 03:03 YogyKwan 阅读(434) 评论(0) 推荐(0)
摘要:QueuingTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 608 Accepted Submission(s): 278Problem DescriptionQueues and Priority Queues are data structures which are known to most computer scientists. The Queue occurs often in our daily life. There . 阅读全文
posted @ 2012-08-31 01:24 YogyKwan 阅读(713) 评论(0) 推荐(0)
摘要:Examining the RoomsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 365 Accepted Submission(s): 218Problem DescriptionA murder happened in the hotel. As the best detective in the town, you should examine all the N rooms of the hotel immediately. H. 阅读全文
posted @ 2012-08-30 21:21 YogyKwan 阅读(267) 评论(0) 推荐(0)