文件名称:shudu
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.29kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
第一行是随机生成的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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.