Rosetta Problems

分成互质组

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