Codeforces Round #540 (Div. 3) D. Coffee and Coursework 二分

NoSuchKey