CF1580B Mathematics Curriculum

发布于 2021-10-01

题目链接 题意 在一个排列中我们定义 $x$ 是好的当且仅当排列中所有包含 $x$ 的子串中恰好有 $m$ 种不同的子串内元素最大 …