CodeForces Round#524B - Margarite and the best present (前缀和)

NoSuchKey