[chbot] Choc fish challenege 3

Andre Renaud andre at bluewatersys.com
Wed Aug 31 21:37:16 BST 2011


Hi Mike,

Just a quick question on this - is your program calculating the actual
solutions, or just the count? I saw on the internet that there was an
algorithm to tell you the number of solutions available, without
actually working out what the solutions were.

Andre

On 31/08/11 22:07, hamster wrote:
> Hi Andre,
> 
> I can verify that and add a couple more...
> 
> [hamster at linuxdev q3]$ time ./q 14
> 365596 solutions found at 14
> 
> real	0m2.096s
> user	0m2.069s
> sys	0m0.006s
> [hamster at linuxdev q3]$ time ./q 15
> 2279184 solutions found at 15
> 
> real	0m13.189s
> user	0m13.133s
> sys	0m0.009s
> [hamster at linuxdev q3]$ time ./q 16
> 14772512 solutions found at 16
> 
> real	1m30.293s
> user	1m30.002s
> sys	0m0.042s



More information about the Chchrobotics mailing list