问题:B Shortest Distance