- Code: Select all
*----------------------------------------------------------*
| 1 568 258 | 289 4 58 | 7 3 69 |
| 56 3456 235 | 1 259 7 | 8 269 469 |
| 9 48 7 | 238 238 6 | 5 12 14 |
|-------------------+------------------+-------------------|
| 568 5678 1 | 789 689 4 | 2 589 3 |
| 4 38 9 | 5 138 2 | 6 18 7 |
| 2 35678 358 | 3789 13689 18 | 4 1589 159 |
|-------------------+------------------+-------------------|
| 3 2 6 | 4 15 15 | 9 7 8 |
| 7 9 4 | 28 28 3 | 1 56 56 |
| 58 1 58 | 6 7 9 | 3 4 2 |
*----------------------------------------------------------*
1) [r46c45]-8-[r6c6]=8=[r1c6]-8-[r3c45]=8=[r3c2]-8-[r5c2]-3-
-[r5c5|r6c6]-8-[r46c45], => r4c4, r4c5, r6c4, r6c5 <> 8.
2) [r6c5]=6=[r6c2]-6-[r4c1]=6=[r2c1]-6-[r1c2]=6=[r1c9]=9=[r1c4]-9-
-[r4c4|r5c5|r6c46]-1,3-[r6c5], => r6c5<>1,3.
3) [r4c1]=8|4=[r2c2]-4-[r2c9]-9-[r6c9]-1-[r6c6]-8-[r6c3]=8=[r4c1], => r4c1=8.
4) BUG: r6c8=1 , and the puzzle is solved.