A (Fast) Walk in the Woods

Problem Name:
A (Fast) Walk in the Woods
Site:CodeForces
Links:
Tags: