Lose it! CodeForces - 1176C(好题,思维,前缀递推)

NoSuchKey