Codeforces Round #131 (Div. 1) C. Relay Race(棋盘DP)

NoSuchKey