https://www.codechef.com/submit/CIELAB

Hi ,
Please see my code and help me to overcome the problem

This is a link to submit the problem. You need to share your link to submission. You can find that in “My Submission” on the problem page.

You are getting wrong answer for:

5858 1238

Your output:

4619

Hint

Be careful when last digit (units place) is 0.