#include<iostream>
using namespace std;
int a[1010],dp[1010];//dp[i]表示以第i个数为终点时的最大上升子序列
int max(int a,int b)
{
北大oj百练-2757:最长上升子序列
最新推荐文章于 2021-04-25 14:08:49 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
#include<iostream>
using namespace std;
int a[1010],dp[1010];//dp[i]表示以第i个数为终点时的最大上升子序列
int max(int a,int b)
{