Getting wrong answer for last (9th) test case

Question: https://online.codingblocks.com/app/player/178555/content/173708/5076/code-challenge

Solution: https://ide.codingblocks.com/s/441484

Passed all test-cases(0 to 8). Failed 9th test-case - wrong answer.

Hello @mohaktrivedi this is your corrected code:


take a,b and c also of type ll.

Got it! Thanks! What a 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.