Factoradic Decoder by clock

#!ruby -n\x0d
n=$_.size;r=0;chomp.chars{|d|r=d.to_i+r*n-=1};p r

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

download

return to the top page