On Jul 17, 2005, at 8:13 AM, Dominik Bathon wrote:

> Here is my solution:

I need a little revenge, since you slaughtered my initial quiz  
time...  ;)

Neo:~/Documents/Ruby/Ruby Quiz/solutions/Dominik Bathon$ time ./ 
sample 999_999 1_000_000 > /dev/null

real    0m28.151s
user    0m27.846s
sys     0m0.298s
Neo:~/Documents/Ruby/Ruby Quiz/solutions/Dominik Bathon$ cd ../James\  
Edward\ Gray\ II/
Neo:~/Documents/Ruby/Ruby Quiz/solutions/James Edward Gray II$ time ./ 
sample 999_999 1_000_000 > /dev/null

real    0m5.903s
user    0m5.884s
sys     0m0.019s

Not really picking on you Dominik.  Just showing that there are other  
problems in this challenge besides the one I initially posted.

My code above is what I used in creating the quiz.  I'll post it when  
I get some time.

James Edward Gray II