Codeforces 981 D.Bookshelves(数位DP)

NoSuchKey