Educational Codeforces Round 55 E. Increasing Frequency(尺取法+思维)

NoSuchKey