Codeforces Round #499 (Div. 2) B. Planning The Expedition(思维)

NoSuchKey