摘要: $a$题解 题目描述 首先考虑$60$分暴力,可以对每一个字母用前缀和维护一下。 然后我们可以得到 $$ans=\max(sum[a][r] sum[a][l 1]) \min(sum[b][r] sum[b][l 1])$$ 我们设$a$字符为$max$,$b$设为$min$ $$ans=(sum 阅读全文
posted @ 2019-09-07 08:49 准点的星辰 阅读(206) 评论(1) 推荐(0) 编辑