摘要: In a certain course, you take n tests. If you get ai out of bi questions correct on test i, your cumulative average is defined to be . Given your test 阅读全文
posted @ 2017-05-10 16:12 天之道,利而不害 阅读(235) 评论(0) 推荐(0) 编辑
摘要: Signals of most probably extra-terrestrial origin have been received and digitalized by The Aeronautic and Space Administration (that must be going th 阅读全文
posted @ 2017-05-10 14:31 天之道,利而不害 阅读(207) 评论(0) 推荐(0) 编辑
摘要: The company "21st Century Fruits" has specialized in creating new sorts of fruits by transferring genes from one fruit into the genome of another one. 阅读全文
posted @ 2017-05-07 00:07 天之道,利而不害 阅读(276) 评论(0) 推荐(0) 编辑
摘要: The aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end, often because they become t 阅读全文
posted @ 2017-05-06 17:36 天之道,利而不害 阅读(320) 评论(0) 推荐(0) 编辑
摘要: Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , such as dog’s , cow’s 阅读全文
posted @ 2017-05-04 23:17 天之道,利而不害 阅读(1253) 评论(0) 推荐(0) 编辑
摘要: Nowadays, a kind of chess game called “Super Jumping! Jumping! Jumping!” is very popular in HDU. Maybe you are a good boy, and know little about this 阅读全文
posted @ 2017-05-04 23:12 天之道,利而不害 阅读(214) 评论(0) 推荐(0) 编辑
摘要: A subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = <x1, x2, ..., xm> another se 阅读全文
posted @ 2017-05-04 23:10 天之道,利而不害 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 给定K个整数的序列{ N1, N2, ..., NK },其任意连续子序列可表示为{ Ni, Ni+1, ..., Nj },其中 1 <= i <= j <= K。最大连续子序列是所有连续子序列中元素和最大的一个, 例如给定序列{ -2, 11, -4, 13, -5, -2 },其最大连续子序列 阅读全文
posted @ 2017-05-04 23:03 天之道,利而不害 阅读(285) 评论(0) 推荐(0) 编辑
摘要: Given a sequence a11 ,a22 ,a33 ......ann , your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in th 阅读全文
posted @ 2017-05-04 23:00 天之道,利而不害 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 相信大家都听说一个“百岛湖”的地方吧,百岛湖的居民生活在不同的小岛中,当他们想去其他的小岛时都要通过划小船来实现。现在政府决定大力发展百岛湖,发展首先要解决的问题当然是交通问题,政府决定实现百岛湖的全畅通!经过考察小组RPRush对百岛湖的情况充分了解后,决定在符合条件的小岛间建上桥,所谓符合条件, 阅读全文
posted @ 2017-04-30 22:47 天之道,利而不害 阅读(247) 评论(0) 推荐(0) 编辑