摘要: WuKong Problem Description Liyuan wanted to rewrite the famous book “Journey to the West” (“Xi You Ji” in Chinese pinyin). In the original book, the M 阅读全文
posted @ 2017-02-16 09:48 勿忘初心0924 阅读(457) 评论(0) 推荐(0)
摘要: Game Problem Description Bob and Alice are playing a new game. There are n boxes which have been numbered from 1 to n. Each box is either empty or con 阅读全文
posted @ 2017-02-16 08:21 勿忘初心0924 阅读(151) 评论(0) 推荐(0)
摘要: Queuing Problem Description Queues and Priority Queues are data structures which are known to most computer scientists. The Queue occurs often in our 阅读全文
posted @ 2017-02-16 07:40 勿忘初心0924 阅读(267) 评论(0) 推荐(0)
摘要: The Balance Problem Description Now you are asked to measure a dose of medicine with a balance and a number of weights. Certainly it is not always ach 阅读全文
posted @ 2017-02-16 07:34 勿忘初心0924 阅读(237) 评论(0) 推荐(0)
摘要: A Very Simple Problem Problem Description This is a very simple problem. Given three integers N, x, and M, your task is to calculate out the following 阅读全文
posted @ 2017-02-16 01:48 勿忘初心0924 阅读(213) 评论(0) 推荐(0)