Codeforces Beta Round #6 (Div. 2 Only)E. Exposition(线段树or multiset)

NoSuchKey