Codeforces Round #587 (Div. 3) F - Wi-Fi dp 最短路

NoSuchKey