【Codeforces】967C Stairs and Elevators (二分)。

NoSuchKey