Codeforces Round #FF (Div. 1) C (Segment_Tree)

NoSuchKey