Thhsdjasdkh askhdh
This commit is contained in:
@@ -50,7 +50,15 @@ class Sudoku {
|
||||
if (n < 1 || n > 9) return false;
|
||||
|
||||
// Check that there'ren't any repeats in a row.
|
||||
for (int[] row : puz) { int[] }
|
||||
for (int[] row : puz) {
|
||||
for (int n : row) {}
|
||||
}
|
||||
|
||||
// Check that there'ren't any repeats in a column.
|
||||
|
||||
// Check that there'ren't any repeats in a 3x3 square.
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user