八皇后問題 回朔法

// 0513實驗.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> using namespace std; #define n 8 static int x[n];//x[i]表示第i個皇后放在第i行第x[i]列上 int Pla
相關文章
相關標籤/搜索