Codeforces Round #225 (Div. 1) C. Propagating tree dfs序+树状数组

NoSuchKey