Codeforces Round 491 div2 C Candies (典型下边界二分)

NoSuchKey