Code Festival C Div and Add by shinh

puts$<.map &c=->w{(2..1+v=w.to_i).map{|i|v%i<1?c[v/i]:0}.max+v.to_s.sum%48}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page