Missing information

As per I did, I covered all the possible test cases for this code but I am still getting wrong answer for two test cases. Kindly look over it my code. There can be some information missing in the question maybe, either way let me know.

Thank you
Code ID: https://ide.codingblocks.com/s/327529

Hey @aman.chirania72
For input : 998999
You get an output of 1000
whereas the expected output it should give is 901000
Try to debug your code for this

Thanks! its done, it was having contraint problem.