摘要: //回溯法求解八皇后问题 //Linruier#include<iostream>#include<algorithm>#include<cmath>using namespace std;bool ok(int a[],int num){ if(num==0)return true; for(in 阅读全文
posted @ 2018-03-23 19:55 erge1998 阅读(272) 评论(0) 推荐(0)