摘要: Assume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a point locating in the sea ... 阅读全文
posted @ 2015-08-09 19:54 白一 阅读(219) 评论(0) 推荐(0) 编辑
摘要: n sprinklers are installed in a horizontal strip of grass l meters long and w meters wide. Each sprinkleris installed at the horizontal center line o... 阅读全文
posted @ 2015-08-09 19:44 白一 阅读(438) 评论(0) 推荐(0) 编辑
摘要: Given several segments of line (int the X axis) with coordinates [Li, Ri]. You are to choose the minimalamount of them, such they would completely cov... 阅读全文
posted @ 2015-08-09 19:22 白一 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 题意: My birthday is coming up and traditionally I’m serving pie. Not just one pie, no, I have a numberN of them,of various tastes and of various sizes.... 阅读全文
posted @ 2015-08-09 18:53 白一 阅读(215) 评论(0) 推荐(0) 编辑
摘要: DescriptionBefore the invention of book-printing, it was very hard to make a copy of a book. All the contents had to be re-written by hand by so calle... 阅读全文
posted @ 2015-08-07 21:39 白一 阅读(252) 评论(0) 推荐(0) 编辑
摘要: DescriptionOnce Bob took a paper stripe ofnsquares (the height of the stripe is 1 square). In each square he wrote an integer number, possibly negativ... 阅读全文
posted @ 2015-08-07 20:36 白一 阅读(280) 评论(0) 推荐(0) 编辑
摘要: DescriptionVanya walks late at night along a straight street of lengthl, lit bynlanterns. Consider the coordinate system with the beginning of the str... 阅读全文
posted @ 2015-08-07 20:24 白一 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 题意: bobo has a sequence a1,a2,…,an. He is allowed to swap twoadjacentnumbers for no more than k times.Find the minimum number of inversions after his ... 阅读全文
posted @ 2015-08-07 20:09 白一 阅读(342) 评论(0) 推荐(0) 编辑
摘要: Examine the $6\times 6$ checkerboard below and note that the six checkers are arranged on the board so that one and only one is placed in each row and... 阅读全文
posted @ 2015-08-02 19:50 白一 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 题意:A ring is composed of n (even number) circles as shown in diagram. Put natural numbersinto each circle separately, and the sum of numbers in two ad... 阅读全文
posted @ 2015-07-30 20:16 白一 阅读(526) 评论(0) 推荐(0) 编辑