#!ruby -n x=$_.to_i a=[] 15.times{|m|a+=[k=5/(m%3+1)*10**(4-m/3)]*(x/k);x%=k} puts a*"+"
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page