Guest User

Untitled

a guest
Feb 23rd, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. def zerosCount(n):
  2. def exp(n,base):
  3. r = 0
  4. while n:
  5. n//=base
  6. r += n
  7. return r
  8. return min(expK(n,5), expK(n,2))
Add Comment
Please, Sign In to add comment