ques- https://hack.codingblocks.com/app/practice/6/1041/problem
code-https://ide.codingblocks.com/s/379717
Trailing zeroes in n!
okay sir, please help this out.
hey @aaliyah_beg i have modified your code and now it is working fine .
if you still have any doubt you can ask here
Happy Learning !!
Sir,but my logic is giving the correct answer although not been accepted by hackerblocks
hey @aaliyah_beg do you understand what TLE means ?
TLE- time limit exceeded .
see the constraints number can be 1e9 large, if you will calculate factorial of this large number then it will definitely give TLE.
you are trying the brute force approach but i have given you the modified approach .
please go through it and try to understand that .
Happy Learning !!
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.