摘要:
最长上升子序列(lis) 1.O(n^2) 1 #include<cstdio> 2 #include<algorithm> 3 using std :: max; 4 5 const int maxn=100005; 6 int a[maxn],dp[maxn],pre[maxn]; 7 int 阅读全文
posted @ 2016-04-22 17:00
晴歌。
阅读(181)
评论(0)
推荐(0)
摘要:
描述 输入w,v,m.m表示数量,m=-1表示无限多个. 题解 阅读全文
posted @ 2016-04-22 14:02
晴歌。
阅读(201)
评论(0)
推荐(0)