so
- Code: Select all
*-----------*
|...|...|...|
|...|.8.|...|
|7.9|2.1|...|
|---+---+---|
|5..|...|..1|
|8.3|...|9..|
|...|5.8|.2.|
|---+---+---|
|.3.|.7.|..5|
|..6|4..|2..|
|..8|.52|...|
*-----------*
*-----------*
|215|...|48.|
|364|.85|..2|
|789|241|563|
|---+---+---|
|5.7|...|8.1|
|8.3|...|956|
|6.1|5.8|.2.|
|---+---+---|
|.32|87.|..5|
|.56|4..|278|
|.78|.52|...|
*-----------*
*-----------------------------------------------------------*
| 2 1 5 | 3679 369 3679 | 4 8 79 |
| 3 6 4 | 79 8 5 | 17 19 2 |
| 7 8 9 | 2 4 1 | 5 6 3 |
|-------------------+-------------------+-------------------|
| 5 249 7 | 369 2369 3469 | 8 34 1 |
| 8 24 3 | 17 12 47 | 9 5 6 |
| 6 49 1 | 5 39 8 | 37 2 47 |
|-------------------+-------------------+-------------------|
| 149 3 2 | 8 7 69 | 16 149 5 |
| 19 5 6 | 4 139 39 | 2 7 8 |
| 149 7 8 | 169 5 2 | 136 1349 49 |
*-----------------------------------------------------------*
the programs wants to color the 9's like this
- Code: Select all
*-----------*
|...|...|...|
|...|.8.|...|
|7.9|2.1|...|
|---+---+---|
|5..|...|..1|
|8.3|...|9..|
|...|5.8|.2.|
|---+---+---|
|.3.|.7.|..5|
|..6|4..|2..|
|..8|.52|...|
*-----------*
*-----------*
|215|...|48.|
|364|.85|..2|
|789|241|563|
|---+---+---|
|5.7|...|8.1|
|8.3|...|956|
|6.1|5.8|.2.|
|---+---+---|
|.32|87.|..5|
|.56|4..|278|
|.78|.52|...|
*-----------*
*-----------------------------------------------------------*
| 2 1 5 | 3679 369 3679 | 4 8 +79 |
| 3 6 4 | +79 8 5 | 17 -19 2 |
| 7 8 9 | 2 4 1 | 5 6 3 |
|-------------------+-------------------+-------------------|
| 5 249 7 | 369 2369 3469 | 8 34 1 |
| 8 24 3 | 17 12 47 | 9 5 6 |
| 6 49 1 | 5 39 8 | 37 2 47 |
|-------------------+-------------------+-------------------|
| 149 3 2 | 8 7 69 | 16 149 5 |
| 19 5 6 | 4 139 39 | 2 7 8 |
| 149 7 8 | 169 5 2 | 136 1349 -49 |
*-----------------------------------------------------------*
somehow the 9 at r9c4 gets excluded.. how is that possable when there are more 9's in c4 and r9
thanks[/code]