From: brian.mattern@... Date: 2006-07-08T03:38:36+09:00 Subject: Re: [QUIZ] Panagrams (#86) On Sat, Jul 08, 2006 at 03:18:26AM +0900, James Edward Gray II wrote: > On Jul 7, 2006, at 12:34 PM, brian.mattern@gmail.com wrote: > > >Is it a spoiler if we post a resulting pangram (no code)? > > Not at all. Please do. > How about: rephorm@boru ~/code/ruby/quiz/pangram $ time ruby pangram.rb > p real 0m28.613s user 0m27.474s sys 0m1.000s rephorm@boru ~/code/ruby/quiz/pangram $ cat p a ruby quiz solution found this sentence enumerating four a's, two b's, two c's, three d's, thirty-four e's, nine f's, three g's, eight h's, sixteen i's, one j, one k, three l's, two m's, twenty-five n's, fifteen o's, one p, two q's, eleven r's, twenty-nine s's, twenty-five t's, nine u's, four v's, nine w's, three x's, six y's, and two z's rephorm@boru ~/code/ruby/quiz/pangram $ ruby verify.rb p Sentence passes! It looks like the exact wording of the prelude has a large effect on how quickly a solution can be found. Brian