![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
DFS
legend_mxy_csdn
这个作者很懒,什么都没留下…
展开
-
Tempter of the Bone
Description The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, and the doggie could feel the ground sinking. He realized原创 2015-06-28 01:18:52 · 242 阅读 · 0 评论 -
N皇后
#include #include #include #include int a[15], b[15]; int sum=0, n, m; int place(int t) { int i; for(i=1; i<t; i++) { if((abs(i-t)==abs(a[i]-a[t]))||a[i]==a[t])//判断皇后的位置是否可以原创 2015-08-27 11:34:23 · 335 阅读 · 0 评论