DP
Greedy_
这个作者很懒,什么都没留下…
展开
-
7.26 A - Bone Collector
A - Bone Collector 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 , also he went to the gr原创 2017-07-26 18:07:40 · 407 阅读 · 0 评论 -
7.26 B - I NEED A OFFER!
B - I NEED A OFFER! Speakless很早就想出国,现在他已经考完了所有需要的考试,准备了所有要准备的材料,于是,便需要去申请学校了。要申请国外的任何大学,你都要交纳一定的申请费用,这可是很惊人的。Speakless没有多少钱,总共只攒了n万美元。他将在m个学校中选择若干的(当然要在他的经济承受范围内)。每个学校都有不同的申请费用a(万美元),并且Speakles原创 2017-07-26 18:08:22 · 277 阅读 · 0 评论 -
7.26 D - Max Sum
D - Max Sum 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 this sequence is 6 + (-原创 2017-07-26 18:10:05 · 339 阅读 · 0 评论 -
7.26 E - Super Jumping! Jumping! Jumping!
E - Super Jumping! Jumping! Jumping! 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 game原创 2017-07-26 18:13:28 · 212 阅读 · 0 评论 -
7.26 F - Common Subsequence
F - Common Subsequence A subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = another sequence Z = is a subsequence o原创 2017-07-26 18:15:20 · 171 阅读 · 0 评论