摘要: Crossing RiverTime Limit:1000MSMemory Limit:10000KTotal Submissions:9887Accepted:3737DescriptionA 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 阅读全文
posted @ 2013-11-24 21:25 芷水 阅读(253) 评论(0) 推荐(0) 编辑
摘要: Alice's Print ServiceTime Limit: 2 Seconds Memory Limit: 65536 KBAlice is providing print service, while the pricing doesn't seem to be reasonable, so people using her print service found some tricks to save money.For example, the price when printing less than 100 pages is 20 cents per page, 阅读全文
posted @ 2013-11-24 20:16 芷水 阅读(516) 评论(0) 推荐(0) 编辑