08 2013 档案
摘要:标程:http://blog.csdn.net/chlxyd/article/details/8800366C DP代码: 150ms 1 #include 2 #include 3 #include 4 using namespace std; 5 const int N=33; 6 const int M=404; 7 int dp[M][M]; 8 int v[N]; 9 int n,m,sum;10 int solve()11 {12 for(int i=0; i=0; j--)14 for(int k=m; k>=0; k--)15 ...
阅读全文
摘要:内容如题:~~~~不过这次是我们队粗的题~~~~~鼓个掌,纪念下,我第一次选题,挂题~~~~~
阅读全文
摘要:同学想到的另类的求最长上升子序列&最长下降子序列的方法,并且可以把序列打出来。
阅读全文