CF 407B - Long Path

Codeforces 407B: Long Path

CF 407B - Long Path

Rating: 1600
Tags: dp, implementation
Solve time: 1m 3s
Verified: no

Solution