repeated permutation by mitchs (Histocrat)

(x=*1..gets.hex).product(*[x]*$_[2]-=49).map{|y|puts y*' '}

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

download

return to the top page