Help for question 1849C
Can someone tell me why this code is giving WA. I have tried coming up with counter testcases but it passes all of them. Thanks.