摘要: 题目的意思比较明确,就是求不减子序列的个数。那道题目很容易想到的是dp来写,DP的地推公式就是dp[i] = sum{dp[j] | j #include #include #include #include #include #include #define FOR(i,x,y) for(int... 阅读全文
posted @ 2015-05-03 16:56 hqwhqwhq 阅读(170) 评论(0) 推荐(0)