- Code: Select all
*-----------*
|.5.|...|.8.|
|..2|47.|...|
|...|..1|..6|
|---+---+---|
|..1|...|.9.|
|4..|792|..3|
|.7.|...|54.|
|---+---+---|
|8..|3..|...|
|...|.24|8..|
|.3.|...|.7.|
*-----------*
Play/Print this puzzle online
*-----------*
|.5.|...|.8.|
|..2|47.|...|
|...|..1|..6|
|---+---+---|
|..1|...|.9.|
|4..|792|..3|
|.7.|...|54.|
|---+---+---|
|8..|3..|...|
|...|.24|8..|
|.3.|...|.7.|
*-----------*
1379 5 3479 | 2 36 b369 | 13479 8 1479
1369 169 2 | 4 7 8 | 139 15 159
379 49 8 |a59 35 1 | 3479 2 6
------------------------+----------------------+---------------------
236 26 1 | 68-5 4 d356 | 27 9 278
4 8 5 | 7 9 2 | 16 16 3
2369 7 369 | 168 1368 36 | 5 4 28
------------------------+----------------------+---------------------
8 12469 469 | 3 156 7 | 12469 156 12459
15679 169 679 | 1569 2 4 | 8 3 159
12569 3 469 | 15689 1568 c569 | 12469 7 12459
.----------------------.---------------------.---------------------.
| 1379 5 3479 | 2 36 c369 | 13479 8 1479 |
| 1369 169 2 | 4 7 8 | 139 15 159 |
| 379 49 8 | b59 35 1 | 3479 2 6 |
:----------------------+---------------------+---------------------:
| a236 a26 1 | a568 4 56-3 | a27 9 a278 |
| 4 8 5 | 7 9 2 | 16 16 3 |
| 2369 7 369 | 168 1368 c36 | 5 4 28 |
:----------------------+---------------------+---------------------:
| 8 12469 469 | 3 156 7 | 12469 156 12459 |
| 15679 169 679 | 1569 2 4 | 8 3 159 |
| 12569 3 469 | 15689 1568 569 | 12469 7 12459 |
'----------------------'---------------------'---------------------'
+------------------+----------------+-----------------+
| b1379 5 b3479 | 2 a36 a369 | 13479 8 1479 |
| c1369 169 2 | 4 7 8 | 139 15 159 |
| c379 49 8 | 59 35 1 | 3479 2 6 |
+------------------+----------------+-----------------+
| d236 26 1 | 568 4 e356 | 27 9 278 |
| 4 8 5 | 7 9 2 | 16 16 3 |
| 2369 7 369 | 168 1368 36 | 5 4 28 |
+------------------+----------------+-----------------+
| 8 12469 469 | 3 156 7 | 12469 156 12459 |
| 15679 169 679 | 1569 2 4 | 8 3 159 |
| 12569 3 469 | 15689 1568 f56-9 | 12469 7 12459 |
+------------------+----------------+-----------------+
Ngisa wrote:
(9=3)r1c56 - r1c13 = r2c3 - r4c1 = (3-5)r4c6 = (5)r9c6 => -9 r9c6; stte
I have checked it again, it is stte. Try it also.Sudtyro2 wrote:Ngisa wrote:
(9=3)r1c56 - r1c13 = r23c1 - r4c1 = (3-5)r4c6 = (5)r9c6 => -9 r9c6; stte
Hi Clement,
I think your elimination is a good one, but it may be an "lclste" rather than "stte" solution.
The A/S Solver, at least, needs one "Pointing Pairs" step beyond "Singles" to complete the puzzle.
SteveC
Check it again.Ngisa wrote:I have checked it again...
pjb wrote:I agree that the solution is lclste. BTW I wrote a simple routine that checks if the elimination of a candidate can lead to a stte solution, and lists all such candidates. In this case there is not a single one, so any single digit elimination cannot be stte. Of course, a solution that eliminates multiple digits such as a loop can produce a stte solution in this case.
Phil
SteveG48 wrote : Care to make that routine available?
s="";
for(i=1; i<10; i++) {
for(w=0; w<9; w++) {
for(x=0; x<9; x++) {
if(array0[w][x][i] == 1 && length1(w, x) > 1) { // if cell contains i and has more than one candidate
hit = false;
remove(i, w, x); //removes i from w.x
do {
size1 = getSize(); // total number of digits in grid
Results1("second"); // runs naked singles
Results2("second"); // runs hidden singles
size2 = getSize();
} while(size2 < size1);
hit = solved3(); // checks that grid is reduced to 81 and is valid solution
fix_grid(temp); // restores grid to starting state
if(hit) {
sx = sx+i+" at r"+(w+1)+"c"+(x+1)+";" ; // lists results
}
}
}
}
}