Ruby: Grid Computing Golf

My first attempt at really playing code golf, that is solving a problem in minimum characters of code and I did not do very well (200 character compared to the best 43 perl or 63 ruby characters).

m = []
r = []
c =, 0)
0.upto(9) {|n|m<Update:
I further squeezed some white-space out of the code and it is starting to look uglier (now it is 184 characters). I am not sure I like the code golf concept although I like to solve coding problems.


One Response
  1. January 30, 2008