Educational Codeforces Round 18 E. Colored Balls 分块思想+思维

NoSuchKey