Shortest Path Query Codeforces Sheet