求N!中素数的个数

1 int degree_in_fact(int n, int x)//求n!中素数x的次数
2 {3     if(m)
4         return degree_in_fact(n/x,x)+n/x;
5     return 0;
6 }
原文地址:https://www.cnblogs.com/OFSHK/p/11344718.html