Is this correct? Any comments?
Thanks
Javier
First the puzzle, then the solutions
[/code]
. 4 . | . 1 . | . . 9|
. . . | . . . | . 1 . |
9 . . | . . . | 4 . 5 |
------+-----+------+
. . 4 | . . 6 | . 8 . |
. . . | 3 8 9 | . . . |
. 5 . | 4 . . | 6 . . |
------+-----+------+
5 . 8 | . . 2| . . 1 |
. . . | . . .| . . . |
7 . . | . 6 . | . 3 . |
-----+------+-----+
first solution
3 4 5 | 6 1 7 | 8 2 9 |
2 8 6 | 9 4 5 | 3 1 7 |
9 7 1 | 8 2 3 | 4 6 5 |
-------+-------+------+
1 9 4 | 2 5 6 | 7 8 3 |
6 2 7 | 3 8 9 | 1 5 4 |
8 5 3 | 4 7 1 | 6 9 2 |
-------+-------+------+
5 6 8 | 7 3 2 | 9 4 1 |
4 3 2 | 1 9 8 | 5 7 6 |
7 1 9 | 5 6 4 | 2 3 8 |
-------+-------+------+
second solution
2 4 5 | 6 1 3 | 8 7 9 |
6 8 7 | 9 4 5 | 3 1 2 |
9 3 1 | 8 2 7 | 4 6 5 |
------+-------+-------+
3 9 4 | 2 5 6 | 1 8 7 |
1 7 6 | 3 8 9 | 2 5 4 |
8 5 2 | 4 7 1 | 6 9 3 |
------+-------+-------+
5 6 8 | 7 3 2 | 9 4 1 |
4 1 3 | 5 9 8 | 7 2 6 |
7 2 9 | 1 6 4 | 5 3 8 |
------+-------+------+
- Code: Select all