Search found 1 match

by tonmoycse05
Thu Dec 14, 2006 12:22 pm
Forum: Volume 7 (700-799)
Topic: 750 - 8 Queens Chess Problem
Replies: 78
Views: 26116

750 wa plz help

#include<stdio.h> #include<math.h> long int place(long int,long int); void queen(long int); long int p[8],r,c,count; void main(void) { while(2==scanf("%ld %ld",&c,&r)) { printf("SOLN COLUMN\n"); printf(" # 1 2 3 4 5 6 7 8\n\n"); count=0; queen(0); } } long int place(long int k,long int i) { long int...

Go to advanced search