CodeForces - 55D——Beautiful numbers (数位dp)

NoSuchKey