Shortest Path Query Codeforces