Cody

Solution 1866433

Submitted on 5 Jul 2019
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
x=[ 1 5 4; 8 6 3; 0 9 7]; y_correct=[ 1 5 4; 8 6 3; 2 9 7]; assert(isequal(sudoku(x),y_correct))

Unable to perform assignment because the left and right sides have a different number of elements. Error in sudoku (line 3) x(x==0) = num; Error in Test1 (line 7) assert(isequal(sudoku(x),y_correct))

2   Fail
x=[ 8 3 0; 2 7 1; 5 4 6]; y_correct=[ 8 3 9; 2 7 1; 5 4 6]; assert(isequal(sudoku(x),y_correct))

Unable to perform assignment because the left and right sides have a different number of elements. Error in sudoku (line 3) x(x==0) = num; Error in Test2 (line 7) assert(isequal(sudoku(x),y_correct))

Suggested Problems

More from this Author12