Lexicographically Minimum Walk

Problem Name:
Lexicographically Minimum Walk
Site:CodeForces
Links:
Tags:
Problem setters: