2014年11月7日
摘要: DescriptionMr. Robinson and his pet monkey Dodo love peanuts very much. One day while they were having a walk on a country road, Dodo found a sign by ... 阅读全文
posted @ 2014-11-07 15:41 王润文ACM 阅读(312) 评论(0) 推荐(0) 编辑
摘要: DescriptionThe database of the Pentagon contains a top-secret information. We don't know what the information is — you know, it's top-secret, — but we... 阅读全文
posted @ 2014-11-07 15:39 王润文ACM 阅读(218) 评论(0) 推荐(0) 编辑
摘要: DescriptionFJ is surveying his herd to find the most average cow. He wants to know how much milk this 'median' cow gives: half of the cows give as muc... 阅读全文
posted @ 2014-11-07 15:37 王润文ACM 阅读(182) 评论(0) 推荐(0) 编辑
摘要: Description输入一行数字,如果我们把这行数字中的‘5’都看成空格,那么就得到一行用空格分割的若干非负整数(可能有些整数以‘0’开头,这些头部的‘0’应该被忽略掉,除非这个整数就是由若干个‘0’组成的,这时这个整数就是0)。 你的任务是:对这些分割得到的整数,依从小到大的顺序排序输出。 I... 阅读全文
posted @ 2014-11-07 15:34 王润文ACM 阅读(370) 评论(0) 推荐(0) 编辑