题目 传送门 AcWing 1118. 分成互质组 - AcWing题库https://www.acwing.com/problem/content/1120/https://www.acwing.com/problem/content/1120/https://www.acwing.com/problem/content/1120/https://www.acwing.com/problem/content/1120/https://www.acwing.com/problem/content/1120/信息学奥赛一本通 信息学奥赛一本通(C++版)在线评测系统https://ybt.ssoier.cn/problem_show.php?pid=1221https://ybt.ssoier.cn/problem_show.php?pid=1221https://ybt.ssoier.cn/problem_show.php?pid=1221https://ybt.ssoier.cn/problem_show.php?pid=1221https://ybt.