euro denominations by Histocrat

#!ruby -n
x,*a=eval$_
a<<x-x-=x>5e4?50000:(x-=1until"#{x}"=~/^[125]0*$/;x)while x>0
puts a*'+'

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

download

return to the top page