Problem 2643 · Easy

Row With Maximum Ones

Count the ones in each row and keep the first row that strictly beats the best count so far.

Open the interactive visualisation