Gives WA in 2nd test case

link to my code :- https://ide.codingblocks.com/s/208809
whats wrong with my code ?

@O17LPOLA020011
Is this the right code
It is not giving any output
Please check your code again

forgot to comment out a line

new link to the code : https://ide.codingblocks.com/s/212419

@O17LPOLA020011
Your code seems fine
Issue is with the test case maybe
I’ll send the update to the team
Till then I request you to proceed with other questions
Happy Coding !

1 Like

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.