勒让德公式(Legendre's Formula) 定义 勒让德公式用于计算阶乘 n! 中质数 p 的指数(幂次)。 cnt=向下取整(n/p)+ 向下取整(n/(p,2)) + ……
Note.ms
/lerangdegongshi