Rosetta Problems

GCD β

https://atcoder.jp/contests/chokudai_S002/tasks/chokudai_S002_j