*-----------------------------------------------*| 6 4 X | 8 X X | X X 5 || X X X | X X X | X 7 8 || X X X | X X X | X X X ||---------------+---------------+--------------- || X X X | X X X | 5 1 X || X X X | X 6 X | X X X || 8 X X | 3 5 X | 2 X X ||

来源:学生作业帮助网 编辑:作业帮 时间:2024/02/21 13:36:58
*-----------------------------------------------*| 6 4 X | 8 X X | X X 5 || X X X | X X X | X 7 8 || X X X | X X X | X X X ||---------------+---------------+--------------- || X X X | X X X | 5 1 X || X X X | X 6 X | X X X || 8 X X | 3 5 X | 2 X X ||

*-----------------------------------------------*| 6 4 X | 8 X X | X X 5 || X X X | X X X | X 7 8 || X X X | X X X | X X X ||---------------+---------------+--------------- || X X X | X X X | 5 1 X || X X X | X 6 X | X X X || 8 X X | 3 5 X | 2 X X ||
*-----------------------------------------------*
| 6 4 X | 8 X X | X X 5 |
| X X X | X X X | X 7 8 |
| X X X | X X X | X X X |
|---------------+---------------+--------------- |
| X X X | X X X | 5 1 X |
| X X X | X 6 X | X X X |
| 8 X X | 3 5 X | 2 X X |
|---------------+---------------+---------------|
| 4 X X | 6 X X | 3 X 7 |
| X X 6 | X X X | 1 9 X |
| X X 7 | X X X | X 6 2 |
*-----------------------------------------------*
以上是9×9.81小方格、、要求根据已有的数字提示、在方格内填入1到9数字.
无论是横的还是竖着的、数字都不可以重合、每9个小方格、只能填入1到9数字、不能重合...

*-----------------------------------------------*| 6 4 X | 8 X X | X X 5 || X X X | X X X | X 7 8 || X X X | X X X | X X X ||---------------+---------------+--------------- || X X X | X X X | 5 1 X || X X X | X 6 X | X X X || 8 X X | 3 5 X | 2 X X ||
*-----------------------------------------------*
| 6 4 2 | 8 7 1 | 9 3 5 |
| 5 1 9 | 4 2 3 | 6 7 8 |
| 7 8 3 | 5 9 6 | 4 2 1 |
|---------------+---------------+--------------- |
| 3 7 4 | 2 8 9 | 5 1 6 |
| 9 2 5 | 1 6 4 | 7 8 3 |
| 8 6 1 | 3 5 7 | 2 4 9 |
|---------------+---------------+---------------|
| 4 9 8 | 6 1 2 | 3 5 7 |
| 2 5 6 | 7 3 8 | 1 9 4 |
| 1 3 7 | 9 4 5 | 8 6 2 |
*-----------------------------------------------*
这是数独游戏

答案不是唯一的!
请看:
*-----------------------------------------------*
| 6 4 1 | 8 2 7 | 9 3 5 |
| 9 5 2 | 1 3 6 | 4 7 8 |
| 7 8 ...

全部展开

答案不是唯一的!
请看:
*-----------------------------------------------*
| 6 4 1 | 8 2 7 | 9 3 5 |
| 9 5 2 | 1 3 6 | 4 7 8 |
| 7 8 3 | 4 9 5 | 6 2 1 |
|---------------+---------------+--------------- |
| 2 6 4 | 7 8 9 | 5 1 3 |
| 1 3 5 | 2 6 4 | 7 8 9 |
| 8 7 9 | 3 5 1 | 2 4 6 |
|---------------+---------------+---------------|
| 4 9 8 | 6 1 2 | 3 5 7 |
| 3 2 6 | 5 7 8 | 1 9 4 |
| 5 1 7 | 9 4 3 | 8 6 2 |
*-----------------------------------------------*

收起

*-----------------------------------------------*
| 6 4 2 | 8 7 1 | 9 3 5 |
| 5 1 9 | 4 2 3 | 6 7 8 |
| 7 8 3 | 5 9 6 |...

全部展开

*-----------------------------------------------*
| 6 4 2 | 8 7 1 | 9 3 5 |
| 5 1 9 | 4 2 3 | 6 7 8 |
| 7 8 3 | 5 9 6 | 4 2 1 |
|---------------+---------------+--------------- |
| 3 7 4 | 2 8 9 | 5 1 6 |
| 9 2 5 | 1 6 4 | 7 8 3 |
| 8 6 1 | 3 5 7 | 2 4 9 |
|---------------+---------------+---------------|
| 4 9 8 | 6 1 2 | 3 5 7 |
| 2 5 6 | 7 3 8 | 1 9 4 |
| 1 3 7 | 9 4 5 | 8 6 2 |
*-----------------------------------------------*

收起