1、严格上升子序列和;

dp[i]=max (dp[j]) + a[i]; j>=0 && j<i    i>=1&& i<= n ;

 

2、

 

posted on 2016-05-24 19:34  cleverbiger  阅读(124)  评论(0)    收藏  举报