Codeforces Round #515 (Div. 3)B. Heaters【模拟,思维】

NoSuchKey