Codeforces C. Minimum Grid Path (Round 106 Rated for Div.2) (模拟枚举/前缀(和&最小值))

NoSuchKey