dhxh.pw
Codeforces 1234F Yet Another Substring Reverse
给你一个字符串,你可以选择一个连续子串并将其反转。问反转后的字符串中不出现相同字符的连续子串的长度最大为多少。