摘要: DescriptionYou are playing the game ‘Whack the Groundhog’ with your little nephew. Considering your terrible performance, you decide to get some help to establish your glory image in front of him. The first is to collect some necessary data. After a few times of practicing, you get to know exactly w 阅读全文
posted @ 2013-04-30 19:28 冰鸮 阅读(269) 评论(0) 推荐(0)
摘要: DescriptionYou are given a number matrixAwithNrows andMcolumns. Elements in the matrix are referred asAi,jwhere 0≤i<Nand 0 ≤j<M. The matrix has the following two properties:lFor each row, the numbers increase from left to right, that isAi,j-1≤Ai,jfor all 0 ≤i<Nand 1 ≤j<MlFor each column, 阅读全文
posted @ 2013-04-30 09:47 冰鸮 阅读(244) 评论(0) 推荐(0)