Following is the summarized formula for counting trailing 0s. Trailing 0s in n! = Count of 5s in prime factors of n! = floor(n/5) + floor(n/25) ...
確定! 回上一頁