Lexicographically Minimal Shortest Path

Problem Name:
Lexicographically Minimal Shortest Path
Site:CodeForces
Links:
Tags: