whats wrong with that guys ?? O.o

wa on codechef

the problem asks to count all the zeroes that occur after a non negative number in the factorial of the input.which means that if the factorial of some input (say a) is 9809000,then the answer must be 4, not 3(which is the number of trailing zeroes).

your code just counts the number of trailing zeroes.it does not take into account the number of zeroes that occur in between 2 non zero digits.