NOIP2018 模擬賽 10.22

T1 cards 分析 這道題很明顯是一道最長不下降子序列的題,用sort排序+樸素dp可以拿60分,用樹狀數組優化就能拿100了。 #include<iostream> #include<cstdio> #include<cstring> #include<algorithm> #include<vector> #include<queue> using namespace std; type
相關文章
相關標籤/搜索