不是很明白题解为啥能证明复杂度为 nlognn\log{n}nlogn。
如果存在约分后较多 pip_ipi 或者 qiq_iqi 相等,且该值存在较多因数,复杂度就能被卡到 nnn \sqrt{n}nn 吧 /kk