摘要: 回溯算法的基本框架为 函数名(int cnt){ for() { 赋值; if(==){ }else{ 函数名(cnt+1); ... 阅读全文
posted @ 2015-01-11 20:14 机智的程序员小熊 阅读(261) 评论(0) 推荐(0) 编辑
摘要: /* theme:八皇后 回溯算法 coder:瞿鹏志 time:2015.1.11 */#include using namespace std;#define N 15#define M 8class Eight_Queen{ private: i... 阅读全文
posted @ 2015-01-11 13:20 机智的程序员小熊 阅读(105) 评论(0) 推荐(0) 编辑