Can't find the error

Sir am not able to find the error, thank you.

code link :-

Hi… ur code is perfectly fine. u were doing just one mistake. u have to take input row and col value but u were inputting only row value. take input 2 values and run code. it will run fine

Got it. Thanks @Vaibhav277

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.