八皇后问题
摘要:1 #include 2 #include 3 int count=0; 4 5 //该函数主要是查询皇后摆放位置是否危险 6 notDanger(int row,int n,int (*chess)[8]) 7 { 8 int i,flag1=0,flag2=0,f...
阅读全文
posted @ 2014-09-07 20:46
posted @ 2014-09-07 20:46