/ Published in: Ruby
ruby
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
o=(s=' '.ord)/s;a=[o^o,o] o.upto(s-b=o+o){|x|print x,': ',(a<<a[-b]+a[-o])[-b],"\n"}