Codeforces Round #625 (Div. 2, based on Technocup 2020 Final Round) B. Journey Planning

NoSuchKey