Codeforces Round #624 (Div. 3) C. Perform the Combo(二分或前缀和)

NoSuchKey