Codeforces Round #417 (Div. 2) C. Sagheer and Nubian Market ---- 贪心+二分★

NoSuchKey