The 2018 ACM-ICPC (青岛)-H题-Traveling on the Axis(找规律+前缀和)

NoSuchKey