HDU 1025 最长递增子序列问题
摘要:
参考:http://www.cnblogs.com/lonelycatcher/archive/2011/07/28/2119123.html//最长递增自序列,吉林大学模板#include<iostream>#include<stdio.h>#include<cstdlib>#include<string.h>using namespace std;int N,ans;int a[500010];int f[500010];int d[500010];//d[i]表示以结尾的最长递增子序列长度,当然,这道题中,数组d可以用不到的int bsea 阅读全文
posted @ 2011-07-28 10:20 lonelycatcher 阅读(1531) 评论(0) 推荐(0)
浙公网安备 33010602011771号