B. Applejack and Storages(数学+STL的使用) Codeforces Round #662 (Div. 2)

NoSuchKey