Educational Codeforces Round 102 D. Program(线段树)

NoSuchKey