K-th Beautiful String CodeForces - 1328B(二分+数学)

NoSuchKey