Rosetta Problems
← atcoder に戻る
GCD Sequence
https://atcoder.jp/contests/agc022/tasks/agc022_b