Elliot Temple wrote: > ok i came up with a new approach. it doesn't have failed runs anymore. > it has a minor restriction on what it can do. i didn't do anything to > optimize it. > > cg5:~/cs/rb/ruby quizzes >time ruby 90cheat.rb 500 > > real 0m0.650s > user 0m0.586s > sys 0m0.026s > cg5:~/cs/rb/ruby quizzes >time ruby 90cheat.rb 2000 > > real 0m41.895s > user 0m36.671s > sys 0m0.719s > cg5:~/cs/rb/ruby quizzes >time ruby 90cheat.rb 5000 > > real 9m26.551s > user 8m11.184s > sys 0m10.997s > > > -- Elliot Temple > http://www.curi.us/blog/ Hmm, I was going to post some new times, but those blow mine away. I'm still stuck on the nondeterministic approach...looks like you guys are finding actual methods of solving the game. Nice! -Justin