CodeForces - 456D A Lot of Games(字典树+博弈)

NoSuchKey