[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Omaha.pm] Pet Paradise: Ruby > Perl > Erlang!



Remember the pet_paradise challenge?

   http://github.com/jhannah/odynug

Juan wrote a Ruby version and took over the leader board!  :)

jhannah@minijaysnet~/src/odynug/pet_paradise/ruby_1$ ruby runHotel.rb
30 reservations made, with a Grand Total of $3014.68
1,4,5,6,7,8,9,11,13,14,16,17,18,19,20,21,22,24,26,27,28,30,31,32,33,34,36,37,38,40
,

I cannot let that stand. I will be beefing up perl_1 to take back the crown for the glory of Perl!! :)

Juan: So those numbers are the reservation IDs you fit into the hotel to maximize revenue, right? Excellent...

If I didn't have to leave the house in 10 minutes I would seek my revenge this morning... Soon. Very soon.

erlang_1 is in 3rd place right now, I believe... Fight back stesla!

:D

j