摘要: > 题目链接:https://ac.nowcoder.com/acm/contest/58604/G > 来源:牛客网 设 $f[i]$ 表示以 $s[i]$ 为结尾的合法序列个数 1. 如果 $s[i]\ne 1$ ,那么我们可以在从 $f[i-1]$ 到 $f[1]$ 所包含的序列后面添加 $s 阅读全文
posted @ 2023-07-16 18:46 Tanphoon 阅读(18) 评论(0) 推荐(0)