My code is working fine one ideone but fails to submit on codechef.
I am new to programming. I was in the practice section of codechef. The problem is quite simple that is to find the total number of trailing zeros in factorial of a given number. My code works fine with the test case provided by them in input section but when I try to submit the code it says "“Wrong Answer” here is my codechef submitted file link.
https://www.codechef.com/viewsolution/22674037
I know that there are already many submissions for this question on codechef but I want to know exactly what is wrong in my code.