Search found 1 match

by y94
Sat May 11, 2002 7:59 am
Forum: Volume 7 (700-799)
Topic: 750 - 8 Queens Chess Problem
Replies: 78
Views: 39010

750

what's wrong with my source?

-------------------------------
/* @JUDGE_ID: ??? 750 C++ "BackTracking" */

#include <stdio.h>
int Solution[8]={-1,-1,-1,-1,-1,-1,-1,-1};
int ColCheck[8];
int LeftCheck[15];
int RightCheck[15];
int Count;

void FindAll(int d)
{
if (d==8)
{
if (Count)
printf("\n ...

Go to advanced search