摘要: 题目link:https://www.luogu.com.cn/problem/P5343 Part1: 首先这道题能够想到一个比较显然的 $dp$ 。 设 $dp[i]$ 表示长度为 $i$ 的序列有几种分块方式。 那么容易的出转移方程: $dp[i]$ $=$ $∑$ $dp[i$ $-$ $p 阅读全文
posted @ 2021-07-26 10:56 louis_11 阅读(75) 评论(0) 推荐(0) 编辑