I've created a small software which generates sudoku. However I'm testing those sudoku against some sudoku analyser and they don't like my sudokus (they din't the sudoku don't have a valid solution), however I can't find a solution for these.
I tested other applications to solve my sudoku and some of them can find a single solution correctly.
My question is: Is my software wrong, or the other softwares are wrong?
Thank you
I've tested the following websites:
- https://www.stolaf.edu/people/hansonr/sudoku/
https://www.sudokuwiki.org/sudoku.htm
The sudoku generated by my application is the following:
- Code: Select all
--------------------------
| ? ? 4 5 6 8 3 2 ? |
| 5 ? ? ? 9 ? ? ? ? |
| 8 ? ? 1 ? 7 ? 6 ? |
| ? ? ? 6 ? ? ? ? ? |
| ? 8 ? 3 ? 5 ? 1 ? |
| ? 6 ? ? ? ? ? ? ? |
| 4 ? 9 7 ? 2 8 3 ? |
| ? ? ? ? ? 6 5 ? ? |
| ? ? ? ? 8 ? ? ? ? |
--------------------------
While the solution should be the following one:
- Code: Select all
--------------------------
| 1 9 4 5 6 8 3 2 7 |
| 5 7 6 2 9 3 1 4 8 |
| 8 3 2 1 4 7 9 6 5 |
| 2 4 5 6 1 9 7 8 3 |
| 9 8 7 3 2 5 6 1 4 |
| 3 6 1 8 7 4 2 5 9 |
| 4 1 9 7 5 2 8 3 6 |
| 7 2 8 4 3 6 5 9 1 |
| 6 5 3 9 8 1 4 7 2 |
--------------------------