Rosetta Problems

K-优字符串

https://www.acwing.com/problem/content/3336