Rosetta Problems

公因数匹配

https://www.acwing.com/problem/content/4973