Problem 3546 · Medium

Equal Sum Grid Partition I

Accumulate row sums and column sums from one edge, and check whether a single straight cut splits the grid into equal halves.

Open the interactive visualisation