设
x=∏i=1mqiai
是 x 的质因数分解,其中:
定义正整数 n 的权值为 n 的正因子的数量,即 wt(n)=r(n) ,
其中 r(n) 表示 n 的因子个数。
给定一个正整数 x ,你可以将 x 分解为若干个大于 1 的正整数 p1,p2,...,p(k≥1) ,要求
By signing up a CodeFun2000 universal account, you can submit code and join discussions in all online judging services provided by us.