-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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) > [timings for 6x6 square snipped] Here's what I get, although I'm sure we have different hardware. :) [sun@yantram j0 s0 ~/src/ruby_quiz] 612$ time ruby -w 90.rb 10 - ----------------------------------------------------- | 17 62 28 18 65 60 48 95 89 79 | | 6 20 39 7 86 40 75 87 97 76 | | 27 9 66 61 47 67 88 78 98 91 | | 16 63 29 19 64 59 49 94 90 80 | | 5 21 38 8 85 41 74 84 96 77 | | 26 10 33 23 46 68 53 43 99 92 | | 15 1 30 12 35 58 50 70 55 81 | | 4 22 37 3 32 42 73 83 52 72 | | 25 11 34 24 45 69 54 44 100 93 | | 14 2 31 13 36 57 51 71 56 82 | - ----------------------------------------------------- real 0m0.011s user 0m0.007s sys 0m0.002s [sun@yantram j0 s0 ~/src/ruby_quiz] 613$ time ruby -w 90.rb 10 - ----------------------------------------------------- | 30 21 8 31 22 54 73 47 87 74 | | 14 37 93 15 38 94 81 60 95 82 | | 7 69 46 53 70 45 1 75 88 98 | | 29 20 9 32 23 55 72 48 84 61 | | 13 36 92 16 39 91 80 59 96 83 | | 6 68 41 52 71 44 2 76 89 99 | | 28 19 10 33 24 56 65 49 85 62 | | 12 35 26 17 40 51 79 58 97 78 | | 5 67 42 4 66 43 3 77 90 100 | | 27 18 11 34 25 57 64 50 86 63 | - ----------------------------------------------------- real 0m0.011s user 0m0.009s sys 0m0.000s [sun@yantram j0 s0 ~/src/ruby_quiz] 614$ time ruby -w 90.rb 10 - ----------------------------------------------------- | 61 19 46 30 20 100 73 64 88 83 | | 12 36 59 13 37 66 93 81 67 94 | | 45 29 62 44 74 63 87 75 97 84 | | 60 18 47 31 21 48 72 65 89 82 | | 11 35 58 14 38 57 92 80 68 95 | | 6 28 1 43 25 52 40 76 98 85 | | 3 17 8 32 22 49 71 54 90 78 | | 10 34 5 15 39 56 24 51 69 96 | | 7 27 2 42 26 53 41 77 99 86 | | 4 16 9 33 23 50 70 55 91 79 | - ----------------------------------------------------- real 0m0.011s user 0m0.009s sys 0m0.000s :) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFE3OsCmV9O7RYnKMcRAnSuAKCJY/JP8i+HSzYFzNSGzcBxkevRygCfQ7jk BmjqVksuBLsjAJr2cZwRoIw= =iLJD -----END PGP SIGNATURE-----