| 软件简介: 那个老掉牙的问题,八皇后问题,老归老,但我很喜欢,并试图用各种方法来实现求解,出乎意料的是,同样的算法,非递归实现的速度竟然比递归实现慢!下面是当时关于算法一些说明,是用Java实现的,不过用C还是J在思想上都是一样的, -software Profile : that long-standing problems, 8 Queens problems and old to the old, but I like and and trying to use various means to achieve solution, surprisingly, the same algorithm, Non - recursive achieve speed as high recursive slow! Below are some of the time on the algorithm that is used Java, but with C or J ideologically are the same. 下载 |