count=0
t=input()
def z(x):
answer=0
while(x>5):
x=x/5
answer=answer+x
return answer
while(count<t):
print z(input())
count+=1
..........
.........
........
this is my code.....it gives me the correct result on ideone.com....but codechef isn't aacepting this and says "wrong answer" although the given sample input gives the required output....please tell what to do??
↧
factorial question
↧