![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
动态规划
文章平均质量分 89
SIUH
他强任他强 我选托比昂
展开
-
Codeforces Beta Round #61 (Div. 2) B. Petya and Countryside (DP)
time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Little Petya often travels to his grandmother in the countryside. The grandmother has a lar原创 2016-12-05 15:54:14 · 339 阅读 · 0 评论 -
最长递增子序列 动态规划基础
1134 最长递增子序列 基准时间限制:1 秒 空间限制:131072 KB 分值: 0 难度:基础题 收藏 关注 给出长度为N的数组,找出这个数组的最长递增子序列。(递增子序列是指,子序列的元素是递增的) 例如:5 1 6 8 2 4 5 10,最长递增子序列是1 2 4 5 10。 Input 第1行:1个数N,N为序列的长度(2 <= N <= 50000) 第2 - N + 1原创 2016-11-21 19:40:48 · 289 阅读 · 0 评论