摘要: 只需考虑 $2017$ 的状态. 令 $0$ 表示没开始,$1$ 表示有 $2$, $2$ 表示有 $20$..... 令 $\mathrm{f[i][sta]}$ 表示 $\mathrm{DP}$ 到 $\mathrm{i}$, 状态为 $\mathrm{sta}$ 的最小删除步数. 然后在进行状 阅读全文
posted @ 2021-10-22 20:53 guangheli 阅读(45) 评论(0) 推荐(0)