文件名称:shudu
介绍说明--下载内容均来自于网络,请自行研究使用
第一行是随机生成的1~9的排列,第2到9行就要通过搜索来产生了。对于第2到9行的每一个空格,要从1到9逐个尝试放入,看同一列、同一行、同一个3×3的小方阵中是否出现过相同的数字,若没有就尝试放入,然后递归地搜索下一个位置的数字,若1到9都不行就返回上一个位置尝试下一个数字。直到找到一组解就返回。
-The first line is randomly generated from 1 to 9 are arranged, the first 2-9 rows will come through the search produced. For the first 2-9 lines of each space, one by one from 1 to 9 into the attempt to see the same column, same row, with a small 3 × 3 square is appeared in the same figures, if no attempt into, and then recursively to the next location number, if 1-9 is not a position on the line to try to return the next number. Until you find a solution on the back
-The first line is randomly generated from 1 to 9 are arranged, the first 2-9 rows will come through the search produced. For the first 2-9 lines of each space, one by one from 1 to 9 into the attempt to see the same column, same row, with a small 3 × 3 square is appeared in the same figures, if no attempt into, and then recursively to the next location number, if 1-9 is not a position on the line to try to return the next number. Until you find a solution on the back
(系统自动生成,下载前可以参看下载内容)
下载文件列表
数独.txt