- Code: Select all
*-----------*
|..6|..4|.81|
|.7.|..8|9.4|
|...|.6.|...|
|---+---+---|
|1..|.73|..8|
|..9|...|1..|
|8..|14.|..2|
|---+---+---|
|...|.9.|...|
|3.2|4..|.1.|
|54.|2..|8..|
*-----------*
*-----------*
|..6|..4|.81|
|.7.|..8|9.4|
|...|.6.|...|
|---+---+---|
|1..|.73|..8|
|..9|...|1..|
|8..|14.|..2|
|---+---+---|
|...|.9.|...|
|3.2|4..|.1.|
|54.|2..|8..|
*-----------*
9 35 6 | 357 235 4 | 237 8 1
2 7 f135 |g35 135 8 | 9 6 4
4 18 138 | 9 6 127 | 237 5 37
------------------------+----------------------+---------------------
1 2 4 | 6 7 3 | 5 9 8
7 36 9 | 8 25 25 | 1 4 36
8 356 e35 | 1 4 9 | 367 d37 2
------------------------+----------------------+---------------------
6 18 18-7 |h357 9 157 | 4 2 357
3 9 2 | 4 8 57 | 67 1 567
5 4 a17 | 2 b13 6 | 8 c37 9
+-------------------+--------------------+-------------------+
| 9 a35 6 | A357 x235 4 |VB237 8 1 |
| 2 7 Yb135 | 35 135 8 | 9 6 4 |
| 4 X18 Xb138 | 9 6 127 | W237 5 W37 |
+-------------------+--------------------+-------------------+
| 1 2 4 | 6 7 3 | 5 9 8 |
| 7 36 9 | 8 25 25 | 1 4 36 |
| 8 356 c35 | 1 4 9 | C367 D7-3 2 |
+-------------------+--------------------+-------------------+
| 6 18 178 | 357 9 157 | 4 2 357 |
| 3 9 2 | 4 8 57 | 67 1 567 |
| 5 4 Z17 | 2 y13 6 | 8 Zz37 9 |
+-------------------+--------------------+-------------------+
9 35 6 357 235 4 237 8 1
2 7 135 35 135 8 9 6 4
4 18 138 9 6 127 237 5 37
1 2 4 6 7 3 5 9 8
7 36 9 8 25 25 1 4 36
8 356 35 1 4 9 367 37 2
6 18 178 357 9 157 4 2 357
3 9 2 4 8 57 67 1 567
5 4 17 2 13 6 8 37 9
3r9c5 => r69c8 <> 3
r9c5=3 - r9n1{c5 c3} - c3n7{r9 r7} - r7c4{n37 n5} - r2c4{n5 n3} - r2c3{n13 n5} - r6c3{n5 n3}
| |
r9c8<>3 r6c8<>3
=> r9c5 <> 3
ste.
*---------------------------------------------------*
| 9 35 6 | 357 235 4 | 237 8 1 |
| 2 7 e135 |e35 f35-1 8 | 9 6 4 |
| 4 18 138 | 9 6 127 | 237 5 37 |
*----------------+----------------+-----------------|
| 1 2 4 | 6 7 3 | 5 9 8 |
| 7 36 9 | 8 25 25 | 1 4 36 |
| 8 356 d35 | 1 4 9 | 367 cd37 2 |
*----------------+----------------+-----------------|
| 6 cd18 cd178 |c357 9 157 | 4 2 357 |
| 3 9 2 | 4 8 57 | 67 1 567 |
| 5 4 b17 | 2 ab13 6 | 8 b37 9 |
*---------------------------------------------------*
+-------------+--------------+-------------+
| 9 35 6 | 357 235 4 | 237 8 1 |
| 2 7 b135| 35 135 8 | 9 6 4 |
| 4 18 138| 9 6 127| 237 5 37 |
+-------------+--------------+-------------+
| 1 2 4 | 6 7 3 | 5 9 8 |
| 7 36 9 | 8 25 25 | 1 4 36 |
| 8 356 h35 | 1 4 9 | 367 a37 2 |
+-------------+--------------+-------------+
| 6 18 178| 357 9 157| 4 2 357|
| 3 9 2 | 4 8 57 | 67 1 567|
| 5 4 b17 | 2 13 6 | 8 3-7 9 |
+-------------+--------------+-------------+
eleven wrote:i can't see that from the marked cells (like pjb i would need 3 more cells for the elimination). Am i missing something ?
. 14 . | . . .
1234 x x | 24 34 .
. . 135 | . . 3 |
. . . | . . . |
--------- --------
. . . | . . . |
. . . | . . . |
. . 35 | . . . | . 37 . | . . 5 | . . . | . 3 . |
--------------------------- ---------------------------
. . x | . . 7 |
. . . | . . . |
. . 17 | . . 1 |
Hajime wrote:I believe you are right. There are 2 non-restricted candidates. That is wrong. I must review my code