172.Factorial Trailing Zeroes
172.Factorial Trailing Zeroes
难度:Easy
给定一个整数 n,返回 n! 结果尾数中零的数量。
方法:主要是找出5的个数,代码如下:
Last updated
Was this helpful?
172.Factorial Trailing Zeroes
难度:Easy
给定一个整数 n,返回 n! 结果尾数中零的数量。
方法:主要是找出5的个数,代码如下:
Last updated
Was this helpful?