Rosetta Problems
← atcoder に戻る
Common Divisors Shortest Path Queries
https://atcoder.jp/contests/tkppc6-2/tasks/tkppc6_2_j