摘要: ---恢复内容开始---//n:盘子个数 a,b,c用字符表示三根柱子void hanoiTower(int n, char a, char b, char c){ static int step = 0; if (n == 1) { cout << ++step<... 阅读全文
posted @ 2015-05-09 23:07 wxquare 阅读(128) 评论(0) 推荐(0) 编辑
摘要: ---恢复内容开始---#include "stdafx.h"#include #include //文件流#include #include using namespace std;void queenSolve(int rowCurrent, int n, int *&queenlist, i... 阅读全文
posted @ 2015-05-09 23:05 wxquare 阅读(183) 评论(0) 推荐(0) 编辑