摘要: 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) 编辑