- Code: Select all
from:
+------+------+------+
|. 3 . |. 9 . |5 . 6 |
|. . . |. . . |8 . 3 |
|2 . 8 |. . . |. 9 . |
+------+------+------+
|. . 7 |. . . |3 . . |
|. . 5 |. 1 . |. . 8 |
|. 6 . |7 . . |. 1 9 |
+------+------+------+
|. . . |4 7 . |. . . |
|. . . |. . 3 |2 6 . |
|6 . . |. 2 . |. . 7 |
+------+------+------+
I reach:
+--------------+------------+--------+
|147 3 14 |128 9 1278 |5 24 6 |
|1479 1459 6 |12 45 127 |8 24 3 |
|2 45 8 |36 36 45 |7 9 1 |
+--------------+------------+--------+
|1489 189 7 |689 46 489 |3 5 2 |
|349 249 5 |239 1 249 |6 7 8 |
|38 6 23 |7 35 258 |4 1 9 |
+--------------+------------+--------+
|138 128 1239|4 7 6 |19 38 5 |
|5 7 19 |19 8 3 |2 6 4 |
|6 48 43 |5 2 19 |19 38 7 |
+--------------+------------+--------+
I solve it like this:
1°) r3c6=5 => r3c2=4 => r1c3=1
2°) r3c6=4 => r5c6=29 and r2c5=5 => r6c5=3 => r5c4=29
which give r5c2<>29 => r5c2=4 => r9c3=4 =>r1c3=1
Therefore r1c3=1 !!
Do you have a shorter way?