C - Smallest Word CodeForces - 1043C(思维+构造)

NoSuchKey