摘要: Codeforces Round 1021 (Div. 1) A 先统计每个 \(a_i\) 出现了多少次,随后倒序对所有位置进行考虑。如果当前 \(a_{i + 2}\) 没有限制,则 \(a_i = 1\) 无用,\(a_i = 2,3\) 老师可以强制让 \(a_{i+1}\) 带上限制,\( 阅读全文
posted @ 2025-06-15 10:56 Vizing 阅读(40) 评论(0) 推荐(0)