euro denominations by mitchs

loop{n,*a=eval gets
15.times{|i|a+=[m='\x05\x02\x01'[i%3]*10**(4-i/3)]*(n/m);n%=m}
puts a*'+'}

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

download

return to the top page