Rosetta Problems

『公約数』総和企画

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/1516