Ad
  • Custom User Avatar

    i forgot about it
    thanks

  • Custom User Avatar

    Needs random tests.

  • Custom User Avatar

    I don't think you understand how Sudoku rules work.

    Besides every row and column, every sub-block must also have distinct numbers.

  • Custom User Avatar

    I solved the task but 2 tests failed, because my program found another solution

    can someone take a look?

    Expected: [[4, 1, 2, 3], [2, 3, 4, 1], [3, 4, 1, 2], [1, 2, 3, 4]], instead got: [[1, 2, 3, 4], [2, 3, 4, 1], [3, 4, 1, 2], [4, 1, 2, 3]]
    Expected: [[4, 2, 3, 1], [3, 1, 2, 4], [1, 3, 4, 2], [2, 4, 1, 3]], instead got: [[3, 2, 4, 1], [2, 1, 3, 4], [1, 4, 2, 3], [4, 3, 1, 2]]

    as you can see both solutions are correct