摘要: Description 给一个长度为 $n(n\le10^5)$ 的字符串, $m$ 次操作,每次给出一个区间 $[l,r]$ ,将 $[l,r]$ 中的字符串重排列成一个回文串,如无法排列则忽略此操作,如有多种方案取字典序最小的一种。 Solution 我的做法比较蠢,开 $26$ 个线段树,每个 阅读全文
posted @ 2018-08-15 17:21 aziint 阅读(236) 评论(0) 推荐(0) 编辑
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.