Row column sorted search

I have implemented this way but tescases are incorrect all.

hello @guptashubham210a
pls save ur code here-> https://ide.codingblocks.com/
and share the link with me

I have sended the screenshot of my code pls see.

see this screenshot.


check ur updated code.

mistake.
u were not taking input as per input format

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.