摘要: 序列 dp woc 之前写的什么玩意 LIS 首先是正常的 dp。 \[f_i=\max\limits_{a_j<a_i,1\leq i<j}\{f_j+1\} \]memset(f, 1, sizeof f); for(int i = 2; i <= n; i++) for(int j = 1; 阅读全文
posted @ 2024-01-10 22:24 CQWDX 阅读(35) 评论(0) 推荐(0)