Https://ide.codingblocks.com/s/335516

what is the mistake in the code, some testcases are giving wrong answer

hello @agarwalarjit.agarwal i have corrected your code and now it is passing all the test cases .


i hope i have cleared your doubt .
if you feel your doubt is cleared please mark this as resolved .
Happy Learning !!

what was the problem with size 100, when the maximum rows and cols can be 100??

@agarwalarjit.agarwal it is just the good habbit of good competitive programming.
Happy Learning !!

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.