Cody

Solution 1204839

Submitted on 5 Jun 2017 by Said BOUREZG
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   Pass
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))

ans = 1 2 3 4 5 6 7 8 9 x = 1 5 4 8 6 3 2 9 7 ans = 1 5 4 8 6 3 2 9 7

2   Pass
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))

ans = 1 2 3 4 5 6 7 8 9 x = 8 3 9 2 7 1 5 4 6 ans = 8 3 9 2 7 1 5 4 6

Suggested Problems

More from this Author12