题目链接
http://poj.org/problem?id=2533
题意:
最长严格上升子序列长度
代码:
#include<iostream>
#include<algorithm>
#include<stdio.h>
#include<string.h>
using namespace std;
int ans,n,f[1005],dp[1005];
int main()
{
ans=0;
scanf("%d",&n);
题目链接
http://poj.org/problem?id=2533
题意:
最长严格上升子序列长度
代码:
#include<iostream>
#include<algorithm>
#include<stdio.h>
#include<string.h>
using namespace std;
int ans,n,f[1005],dp[1005];
int main()
{
ans=0;
scanf("%d",&n);