CodeForces - 1176A Divide it! (模拟+分类处理)

NoSuchKey