Challenge round question

the code which i wrote on the eclipse was same as given in description but the compiler is still showing the wrong answer
but it is giving write answer in eclipse

There will probably be some difference in output format or a type-casting mistake. Please share your code so I can help you more

Due to no response, i am closing this for now. Re-open if required.

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.