__iPadd__ solution in Clear category for Factorial Zeros by veky
def fact_zeros(n: int) -> int: p = 0 while n: n //= 5 p += n return p
Feb. 21, 2024