- Code: Select all
*-----------*
|1..|98.|...|
|...|...|..9|
|.45|..2|3..|
|---+---+---|
|...|.7.|23.|
|.8.|429|.6.|
|.27|.5.|...|
|---+---+---|
|..1|2..|79.|
|3..|...|...|
|...|.35|..1|
*-----------*
*-----------*
|1..|98.|...|
|...|...|..9|
|.45|..2|3..|
|---+---+---|
|...|.7.|23.|
|.8.|429|.6.|
|.27|.5.|...|
|---+---+---|
|..1|2..|79.|
|3..|...|...|
|...|.35|..1|
*-----------*
+-------------------+--------------------+----------------------+
| 1 367 26 | 9 8 c3467# | 456 d2457 246 |
| a27* b367# 8 | 5 146 3467* | 46 b147-2# 9 |
| 9 4 5 | 67 16 2 | 3 178 68 |
+-------------------+--------------------+----------------------+
| 4 1 9 | 68 7 68 | 2 3 5 |
| 5 8 3 | 4 2 9 | 1 6 7 |
| 6 2 7 | 3 5 1 | 9 48 48 |
+-------------------+--------------------+----------------------+
| 8 5 1 | 2 46 46 | 7 9 3 |
| 3 67* 246 | 1 9 78* | 4568 d245 246 |
| 27* 9 246 | 78 3 5 | 468 d24 1 |
+-------------------+--------------------+----------------------+
.------------------------------------------------------------.
| 1 b367 a6-2 | 9 8 e3467 | 456 2457 g246 |
| 27 b367 8 | 5 f146 e3467 |hg46 1247 9 |
| 9 4 5 |f67 f16 2 | 3 178 h68 |
|-------------------+-------------------+--------------------|
| 4 1 9 | 68 7 68 | 2 3 5 |
| 5 8 3 | 4 2 9 | 1 6 7 |
| 6 2 7 | 3 5 1 | 9 48 h48 |
|-------------------+-------------------+--------------------|
| 8 5 1 | 2 46 46 | 7 9 3 |
| 3 c67 246 | 1 9 d78 | 4568 245 246 |
| 27 9 246 | 78 3 5 | 468 24 1 |
'------------------------------------------------------------'
+------------------+--------------------+----------------------+
| 1 367 6-2 | 9 8 3467 | 456 2457 a246 |
|h27 367 8 | 5 e146 3467 |d46 1247 9 |
| 9 4 5 |e67 e16 2 | 3 178 68 |
+------------------+--------------------+----------------------+
| 4 1 9 | 68 7 68 | 2 3 5 |
| 5 8 3 | 4 2 9 | 1 6 7 |
| 6 2 7 | 3 5 1 | 9 48 48 |
+------------------+--------------------+----------------------+
| 8 5 1 | 2 46 46 | 7 9 3 |
| 3 67 246 | 1 9 78 |c4568 245 b246 |
|g27 9 246 |f78 3 5 |c468 24 1 |
+------------------+--------------------+----------------------+
+-------------+----------------+---------------+
| 1 367 26 | 9 8 3467 | 456 2457 246 |
|b27 b367 8 | 5 ab146 b3467 |b46 1247 9 |
| 9 4 5 |a67 a16 2 | 3 178 68 |
+-------------+----------------+---------------+
| 4 1 9 | 68 7 68 | 2 3 5 |
| 5 8 3 | 4 2 9 | 1 6 7 |
| 6 2 7 | 3 5 1 | 9 48 48 |
+-------------+----------------+---------------+
| 8 5 1 | 2 46 46 | 7 9 3 |
| 3 67 246 | 1 9 78 | 4568 245 246 |
|c27 9 246 |*8-7 3 5 | 468 24 1 |
+-------------+----------------+---------------+
*--------------------------------------------*
| 1 367 26 | 9 8 3467 | 456 2457 246 |
|b27 367 8 | 5 146 3467 | 46 c1247 9 |
| 9 4 5 |e67 16 2 | 3 d178 68 |
|------------+--------------+----------------|
| 4 1 9 | 68 7 68 | 2 3 5 |
| 5 8 3 | 4 2 9 | 1 6 7 |
| 6 2 7 | 3 5 1 | 9 48 48 |
|------------+--------------+----------------|
| 8 5 1 | 2 46 46 | 7 9 3 |
| 3 67 246 | 1 9 78 | 4568 245 246 |
|a27 9 246 | 8-7 3 5 | 468 24 1 |
*--------------------------------------------*
1r23c8 => r2c1 <> 7
r2c8=1 - r2n2{c8 c1}
r3c8=1 - r3n7{c8 c4} - r9n7{c4 c1}
ste.