ACM 167 The Sultan's Successors
作法 : DFS搜出組合(在途中可以剪枝)皇后解92個 , 也可以直接暴力/***********************************************************/#include<stdio.h>#include<stdlib.h>int used[10]={0},xy[10][2];/*xy[][0]->x xy[][1]->y*/int check(int x,int y){ int a; ...