#include typedef unsigned int boolean; #define FALSE 0 #define TRUE 1 typedef struct s{ int *board,row; }board_s; int NQ; int numSolutions = 0; int checked = 0; boolean legal(),solve(); main() { int i,*board; unsigned long endTime,startTime; printf("enter board size> "); scanf("%d",&NQ); board = (int *) malloc(NQ*sizeof(int)); for(i=0;i