tc = int(raw_input()) while tc: num = int(raw_input()) count = 0 while num >= 5: count += num / 5 num /= 5 tc -= 1 print count
No comments:
Post a Comment