here is my code >>>https://ide.codingblocks.com/s/476023
sir, some test case is showing successful but two test case showing wrong answer.
in which case my answer is wrong ?
here is my code >>>https://ide.codingblocks.com/s/476023
sir, some test case is showing successful but two test case showing wrong answer.
in which case my answer is wrong ?
hello @r_kumar_17
if the left most digit is 9 then keep it as it is otherwise u will get leading zero in output
but sir why we keep it as it is. if we can make it zero or remove zero . then that will be smallest number. also i do as you say but it still not working. what i can do now ? here is my code >>>https://ide.codingblocks.com/s/476124
check now->
they want same number of digit without leading 0. if u remove 0 then number of digits will get reduced
thank you sir, i am doing silly mistake.
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.