Codeforces Round #481 (Div. 3) 前缀和+lower_bound

NoSuchKey