斯特林公式求N!

 
 
n!的长度为 ll ans = log10(2*pi*n)/2 + n*(log10(n/exp(1.0)))+1;
 
原文地址:https://www.cnblogs.com/jhz033/p/5779239.html