(二分查找+前缀和)Codeforces Round #645 (Div. 2) D - The Best Vacation

NoSuchKey