![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
dp
文章平均质量分 58
wb129945130
这个作者很懒,什么都没留下…
展开
-
hdu 1003 Max Sum
DescriptionGiven 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 max sum in this sequence is 6 + (-1) + 5 + 4 = 14. InputT原创 2015-08-12 10:01:09 · 294 阅读 · 0 评论 -
HDU 1069 – Monkey and Banana
Description 一组研究人员正在设计一项实验,以测试猴子的智商。他们将挂香蕉在建筑物的屋顶,同时,提供一些砖块给这些猴子。如果猴子足够聪明,它应当能够通过合理的放置一些砖块建立一个塔,并爬上去吃他们最喜欢的香蕉。研究人员有n种类型的砖块,每种类型的砖块都有无限个。第i块砖块的长宽高分别用xi,yi,zi来表示。 同时,由于砖块是可以旋转的,每个砖块的3条边可以组成6种不同的长宽高。在构建塔转载 2015-08-12 16:29:06 · 611 阅读 · 0 评论 -
POJ 3903 Stock Exchange(LIS)
DescriptionThe world financial crisis is quite a subject. Some people are more relaxed while others are quite anxious. John is one of them. He is very concerned about the evolution of the stock exchang原创 2015-08-12 20:03:02 · 459 阅读 · 0 评论 -
HDU 2602 Bone Collector
DescriptionMany 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 , also he went to the grave … The bon转载 2015-08-16 15:50:11 · 304 阅读 · 0 评论 -
数字三角形——动态转移方程
数字三角形问题。 7 3 8 8 1 0 2 7 7 4 5 5 2 6 5数字三角形中的数字为不超过100的正整数。现规定从最顶层走到最底层,每一步可沿左斜线向下或右斜线向下走。假设三角形行数≤100,编程求解从最顶层走到最底层的一条路径,使得沿着原创 2015-08-22 12:08:47 · 664 阅读 · 0 评论