From: Lloyd Zusman Date: 2005-02-25T10:22:37+09:00 Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC) Christian Neukirchen writes: > Lloyd Zusman writes: > >> ruby -e 'def x(n,m)z=n;(m-1).times{|x|z*=n};z;end >> def f(n)d=2;r=[];while(d*d)> n=(n/d).to_i;t+=1;end;while(t>0)do t-=1;r<> (r<1);r;end;p f((x(3,2).to_s+x(2,5).to_s).to_i).inject{ >> |x,y|x+y}.to_s.split(//).inject(1){|a,b|a*b.to_i}' > > Now, that's a lotta code to calculate 6*9. :-) Hey, this is nothing. They had a planet-sized computer working for nearly 10 million years on that calculation. Life ... don't talk to me about life ... -- Lloyd Zusman ljz@asfast.com God bless you.