--------------------------------- | 1 30 12 2 29 13 | | 20 33 27 15 34 8 | | 11 3 36 31 4 23 | | 26 16 19 7 28 14 | | 21 32 10 22 35 9 | | 18 6 25 17 5 24 | --------------------------------- It took a while for the penny to drop. My question is: how did you find the _first_ 6 x 6 solution and long did _that_ take? Regards, Morton On Aug 11, 2006, at 2:39 PM, James Edward Gray II wrote: > On Aug 11, 2006, at 7:58 AM, Ruby Quiz wrote: > >> - Try to fill the biggest board you can with this script, in a >> reasonable amount of time (let's say 48 hours minus scripting >> time) > > $ time ruby grid_fill.rb -s 6 > ------------------------------- > | 15 8 26 16 7 27 | > | 34 11 5 29 12 22 | > | 25 17 14 9 18 1 | > | 4 30 33 21 6 28 | > | 35 10 24 36 13 23 | > | 32 20 3 31 19 2 | > ------------------------------- > > real 0m0.037s > user 0m0.026s > sys 0m0.010s > $ time ruby grid_fill.rb -s 6 > ------------------------------- > | 28 21 3 29 20 4 | > | 11 24 18 6 25 35 | > | 2 30 27 22 31 14 | > | 17 7 10 34 19 5 | > | 12 23 1 13 26 36 | > | 9 33 16 8 32 15 | > ------------------------------- > > real 0m0.037s > user 0m0.026s > sys 0m0.010s > $ time ruby grid_fill.rb -s 6 > ------------------------------- > | 19 12 30 20 11 31 | > | 2 15 9 33 16 26 | > | 29 21 18 13 22 5 | > | 8 34 1 25 10 32 | > | 3 14 28 4 17 27 | > | 36 24 7 35 23 6 | > ------------------------------- > > real 0m0.037s > user 0m0.026s > sys 0m0.010s > > :) > > James Edward Gray II >