Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
Simulation : With small constraints, it is possible to apply changes to each row and column and count odd cells after applying it.
You can accumulate the number you should add to each row and column and then you can count the number of odd cells.