Codeforces Global Round 7E(线段树,贪心)

NoSuchKey