CodeForces 1348-B Phoenix and Beauty(思维、子序列和相等)

NoSuchKey