euro denominations by cojna

m@main=readLn>>=putStrLn.init.f>>m
s=1:2:5:map(10*)s
f n=last$"":[shows x"+"++f(n-x)|x<-take 15s,x<=n]

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

download

return to the top page