[chbot] Choc fish challenege 3

Synco Reynders synco.reynders at gmail.com
Wed Aug 31 02:32:31 BST 2011


hmmm, I'll need some more time to verify that answer.
/s

On 31 August 2011 13:14, Andre Renaud <andre at bluewatersys.com> wrote:

> I've got 73712 for 13 queens, but it takes a noticeable amount of time.
> This is single threaded.
>
> andre at dunstan:~/tmp/queens$ gcc -o queens3 queens_single.c -O3 -g -Wall
> -pipe -lm && time ./queens3
> 13 queens = 73712 solutions
>
> real    5m56.986s
> user    3m57.079s
> sys     0m0.508s
>
>
> Regards,
> Andre
>
>
> On 31/08/11 12:46, Synco Reynders wrote:
> > Hi All,
> >   Now I'm willing to put up a chocolate fish for the person who can tell
> > how many solutions there are for the largest n.
> > I include all rotations / mirrored results. So for example:
> > For n=4 there are 2 solutions
> > For n=5 there are 10 solutions
> > For n=6 there are 4 solutions
> > For n=7 there are 40 solutions
> > ...
> > For n=10 there are 724 solutions
> > ...
> > Good-luck,
> > /s
>
> _______________________________________________
> Chchrobotics mailing list Chchrobotics at lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/chchrobotics
> Mail Archives: http://lists.ourshack.com/pipermail/chchrobotics/
> Web site: http://kiwibots.org
> Meetings 3rd Monday each month at Tait Radio Communications, 175 Roydvale
> Ave, 6.30pm
>
> When replying, please edit your Subject line to reflect new content.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ourshack.com/pipermail/chchrobotics/attachments/20110831/e9278a79/attachment.htm 


More information about the Chchrobotics mailing list