Rosetta Problems
← atcoder に戻る
GCD of Path Weights
https://atcoder.jp/contests/arc144/tasks/arc144_e