Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    The number of tests should be increased (this incorrect solution may pass all tests occasionally). I also recommend to add small random tests (random 10 x 10 matrices).

  • Custom User Avatar

    Potentially add some random tests of a smaller grid size? My earlier solutions passed all fixed tests but failed some random, and it is difficult to debug when the grids are too large to output.