摘要: 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 天之道,利而不害 阅读(1261) 评论(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 天之道,利而不害 阅读(218) 评论(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 天之道,利而不害 阅读(216) 评论(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 天之道,利而不害 阅读(289) 评论(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 天之道,利而不害 阅读(215) 评论(0) 推荐(0)