摘要: 滑雪Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 65570Accepted: 24041DescriptionMichael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等待升降机来载你。Michael想知道载一个区域中最长底滑坡。区域由一个二维数组给出。数组的每个数字代表点的高度。下面是一个例子 1 2 3 4 5 16 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9一个人可以从某个... 阅读全文
posted @ 2013-05-08 22:06 ~~Snail~~ 阅读(445) 评论(2) 推荐(0)
摘要: How many 0's?Time Limit: 1000MSMemory Limit: 65536KTotal Submissions: 2591Accepted: 1349DescriptionA Benedict monk No.16 writes down the decimal representations of all natural numbers between and including m and n, m ≤ n. How many 0's will he write down?InputInput consists of a sequence of l 阅读全文
posted @ 2013-05-08 06:54 ~~Snail~~ 阅读(445) 评论(0) 推荐(0)