Alignment
| Time Limit: 1000MS | Memory Limit: 30000K | |
| Total Submissions: 17559 | Accepted: 5778 |
Description
In the army, a platoon is composed by n soldiers. During the morning inspection, the soldiers are aligned in a straight line in front of the captain. The captain is not satisfied with the way his soldiers are aligned; it is true that the

本文详细解析了POJ-1836 Alignment问题,主要涉及动态规划和线性dp算法。通过实例展示了如何找出输入序列中的最长上升子序列。
最低0.47元/天 解锁文章
718

被折叠的 条评论
为什么被折叠?



