Problem code : FACTORIAL

kindly help me to understand the question and logic behind this problem ,

It is basically finding the power of 5 in the factorial. You may refer to this for understanding.
https://discuss.codechef.com/problems/FCTRL