Problem A
Problem B
Problem C
Problem D
Problem E
每个数的因子个数大概100个(最多128个)
那么把这些数全都放到集合里面就可以了。
然后直接上启发式合并,合并的时候求答案即可。
Problem F
Problem G
Problem H
Problem I
Problem J
Problem K
Problem L