原创 最長上升子序列(動態規劃)

1 7 3 5 9 4 8 找上升子序列(1,7,9),(1,3,4,8)·········,最大爲4 #include<iostream> #include<algorithm> using namespace std; cons