mirror of
https://github.com/CyC2018/CS-Notes.git
synced 2025-07-08 19:02:36 +08:00
auto commit
This commit is contained in:
@ -2316,7 +2316,7 @@ public void solveSudoku(char[][] board) {
|
|||||||
colsUsed[j][num] = true;
|
colsUsed[j][num] = true;
|
||||||
cubesUsed[cubeNum(i, j)][num] = true;
|
cubesUsed[cubeNum(i, j)][num] = true;
|
||||||
}
|
}
|
||||||
backtracking(i, 0);
|
backtracking(0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean backtracking(int row, int col) {
|
private boolean backtracking(int row, int col) {
|
||||||
|
BIN
docs/notes/pics/474e5579-38b1-47d2-8f76-a13ae086b039.jpg
Normal file
BIN
docs/notes/pics/474e5579-38b1-47d2-8f76-a13ae086b039.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
BIN
docs/notes/pics/PPjwP.png
Normal file
BIN
docs/notes/pics/PPjwP.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 363 KiB |
BIN
docs/notes/pics/f76067a5-7d5f-4135-9549-8199c77d8f1c.jpg
Normal file
BIN
docs/notes/pics/f76067a5-7d5f-4135-9549-8199c77d8f1c.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
docs/pics/474e5579-38b1-47d2-8f76-a13ae086b039.jpg
Normal file
BIN
docs/pics/474e5579-38b1-47d2-8f76-a13ae086b039.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
BIN
docs/pics/PPjwP.png
Normal file
BIN
docs/pics/PPjwP.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 363 KiB |
BIN
docs/pics/f76067a5-7d5f-4135-9549-8199c77d8f1c.jpg
Normal file
BIN
docs/pics/f76067a5-7d5f-4135-9549-8199c77d8f1c.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
Reference in New Issue
Block a user