随笔分类 -  贪心

摘要:Doing Homework againTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6577Accepted Submission(s): 39... 阅读全文
posted @ 2014-08-15 09:59 我家小破孩儿 阅读(168) 评论(0) 推荐(0)
摘要:A group of N people wishes to go across a river with only one boat, which can at most carry two persons. Therefore some sort of shuttle arrangement must be arranged in order to row the boat back and forth so that all people may cross. Each person has a different rowing speed; the speed of a couple i 阅读全文
posted @ 2013-11-25 19:45 我家小破孩儿 阅读(127) 评论(0) 推荐(0)
摘要:Kia's CalculationTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 588Accepted Submission(s): 158Problem DescriptionDoctor Ghee is teaching Kia how to calculate the sum of two integers. But Kia is so careless and alway forget to carry a number wh 阅读全文
posted @ 2013-09-12 19:19 我家小破孩儿 阅读(242) 评论(0) 推荐(0)