摘要: Problem Link BZOJ2958 序列染色 题意 给出一个长度为 \(n\),由 \(\tt B,W,X\) 三种字符组成的字符串 \(S\),你需要把每一个 \(\tt X\) 染成 \(\tt B\) 或 \(\tt W\) 中的一个。 Solution 字符串,染色,方案数,一眼 \ 阅读全文
posted @ 2024-11-07 15:12 naughty_Naught 阅读(41) 评论(0) 推荐(0)