From: Christian Neukirchen Date: 2005-02-24T23:26:04+09:00 Subject: Re: ANN: 2005 International Obfuscated Ruby Code Contest (IORCC) 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. :-) -- Christian Neukirchen http://chneukirchen.org