线性dp
文章平均质量分 78
winglessbird
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
线性动态规划-文件排版
题目写电子邮件是有趣的,但不幸的是经常写不好看,主要是因为所有的行不一样长,你的上司想要发排版精美的电子邮件,你的任务是为他编写一个电子邮件排版程序。完成这个任务最简单的办法是在太短的行中的单词之间插入空格,但这并不是最好的方法,考虑如下例子:This is the example you areactually considering.假设我们想将第二行变得和第一行一样长,靠简单地插入空格则我们原创 2016-02-13 11:41:42 · 2597 阅读 · 0 评论 -
动态规划-Number String
题目: (很好懂的) Number String Time Limit: 5 Seconds Memory Limit: 65536 KB The signature of a permutation is a string that is computed as follows: for each pair of consecutive elements of原创 2016-03-13 09:47:35 · 498 阅读 · 0 评论
分享