lp{z,*o=re./.m &:toi b=[[]] *f=0 f.e{|t|t<z&&o.e{|c|b[c+t]||=f<<c+t&&b[t]+[c]}} s [b[z]||:-]*' '}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page