Difference of by bk1e

s=gets
while s.chop!
puts s
(s.size-1).times{|i|s[i]=(s[i]-s[i+1]).abs+?0}
end

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

download

return to the top page