Hi. I’ve done many tests, with small and large inputs, but still getting WA. Could anyone kindly review my code?
Code deleted
Try a test case 182 x 182, with one white pixel in a corner.
(I tried to paste one here, but it’s too big.)
Thank you. I spotted the mistake.