Sponsored
Use these hints if you're stuck. Try solving on your own first.
Use a 2D prefix sum to precalculate the xor-sum of the upper left submatrix.
Solve with full IDE support and test cases