文章列表
最近在本站看到某篇关于解数独的程序的博客,于是下载后尝试了下,发现有些数独是可以解的,但当我把下面这个数独放进去后,它不能够给我解出来:
{8,0,0,0,0,0,0,0,0},
{0,0,3,6,0,0,0,0,0},
{0,7,0,0,9,0,2,0,0},
{0,5,0,0,0,7,0,0,0},
{0,0,0,0,4,5,7,0,0},
{0,0,0,1,0,0,0,3,0},
{0,0,1,0,0,0,0,6,8},
{0,0,8,5,0,0,0,1,0},
{0,9,0,0,0,0,4,0,0},
我并没有去看他的算法是什么样的,索性就直接自己重新写了个。在对fill ...