摘要: Problem DescriptionDear contestant, now you are an excellent navy commander, who is responsible of a tough mission currently.Your fleet unfortunately ... 阅读全文
posted @ 2015-01-17 00:57 DSChan 阅读(131) 评论(0) 推荐(0)
摘要: Problem DescriptionHatsune Miku is a popular virtual singer. It is very popular in both Japan and China. Basically it is a computer software that allo... 阅读全文
posted @ 2015-01-16 23:59 DSChan 阅读(172) 评论(0) 推荐(0)
摘要: Benford's Law, also called the First-Digit Law, refers to the frequency distribution of digits in many (but not all) real-life sources of data. In thi... 阅读全文
posted @ 2015-01-16 16:17 DSChan 阅读(254) 评论(0) 推荐(0)
摘要: One day, Edward and Flandre play a game. Flandre will show two 01-strings s1 and s2, the lengths of two strings are n. Then, Edward must move exact k ... 阅读全文
posted @ 2015-01-16 15:34 DSChan 阅读(119) 评论(0) 推荐(0)
摘要: Alice and Bob both love playing games. Now, Alice and Bob are playing a cue sport like Nine-ball Pool. Two players move in turn. A move is that one pl... 阅读全文
posted @ 2015-01-16 14:22 DSChan 阅读(163) 评论(0) 推荐(0)
摘要: Edward think a game of billiards is too long and boring. So he invented a new game called Easy billiards.Easy billiards has N balls on a brimless rect... 阅读全文
posted @ 2015-01-16 12:58 DSChan 阅读(173) 评论(0) 推荐(0)
摘要: There are N (1 ≤ N ≤ 105) colored blocks (numbered 1 toN from left to right) which are lined up in a row. And the i-th block's color isCi (1 ≤ Ci ≤ 10... 阅读全文
posted @ 2015-01-13 15:32 DSChan 阅读(239) 评论(0) 推荐(0)
摘要: Problem DescriptionNow I think you have got an AC in Ignatius.L's "Max Sum" problem. To be a brave ACMer, we always challenge ourselves to more diffic... 阅读全文
posted @ 2014-12-03 23:43 DSChan 阅读(191) 评论(0) 推荐(0)
摘要: Problem DescriptionBefore ACM can do anything, a budget must be prepared and the necessary financial support obtained. The main income for this action... 阅读全文
posted @ 2014-12-03 22:29 DSChan 阅读(138) 评论(0) 推荐(0)
摘要: Problem DescriptionFatMouse believes that the fatter a mouse is, the faster it runs. To disprove this, you want to take the data on a collection of mi... 阅读全文
posted @ 2014-12-03 21:00 DSChan 阅读(198) 评论(0) 推荐(0)