You are viewing a single comment's thread. Return to all comments →
That was the thing. Misleading pre provided scanning code. It scans by columns - not by rows - which I assume most would not expect. I was so sure mine was right but had no idea why certain test cases were failing. Only thing I had to change was to switch the for statements (outer to inner and inner to outer) and all test cases passed.
Yours is the most observant and helpful comment. Thanks much
thanks dear you solve my problem i am face this problem from last two days, one again a lot of thanks how to communicate with cats