摘要:
Description Jesus, what a great movie! Thousands of people are rushing to the cinema. However, this is really a tuff time for Joe who sells the film t 阅读全文
posted @ 2016-08-08 16:09
野小子&
阅读(158)
评论(0)
推荐(0)
摘要:
Description Description 给定K个整数的序列{ N1, N2, ..., NK },其任意连续子序列可表示为{ Ni, Ni+1, ..., Nj },其中 1 <= i <= j <= K。最大连续子序列是所有连续子序列中元素和最大的一个, 例如给定序列{ -2, 11, - 阅读全文
posted @ 2016-08-08 15:23
野小子&
阅读(381)
评论(0)
推荐(0)
摘要:
Description Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the m 阅读全文
posted @ 2016-08-08 15:05
野小子&
阅读(3941)
评论(0)
推荐(0)

浙公网安备 33010602011771号