Trailing zeroes issue

the above code contains the question link and also the code i wrote but it is giving error please tell where is the mistake and how to correct it?

also check if have written the correct time complexity for the question?

@Rj.25 you were not giving input of n


yes time comp is right

sir please check the question link it is still not giving correct answer because i am not taking input correctly as each testcase does not have ct=5.i do not know how to correct it please help me with it.

@Rj.25 corrected your code (see the input)


dont forget to hit like and mark resolved if cleared :smiley:

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.