[Codeforces 975C] [Valhalla Siege] [前缀和+二分]

NoSuchKey