poj 1887 Testing the CATCHER

题意:这道题目就是求最长的上升序列。

思路:dp,貌似是比较简单的dp。注意结果不一定是dp[n-1].

代码:

猜你喜欢

转载自blog.csdn.net/kyou007/article/details/5946839