From: James Edward Gray II Date: 2006-08-12T03:39:42+09:00 Subject: Re: [QUIZ] Pen and Paper (#90) 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