#include "stdafx.h"#include "stdio.h"#include "malloc.h"#define MAX 8static int Queen[8][8];static int a=1;typedef struct{ int *elem; int top;}ColStack;//栈:存放每一行放置皇后的列号 void InitQueen(){ int i,j; for(i = 0; i < 8; i++) {for(j = 0; j < 8; j++){ Queen[j] = 0;} }} int I...