DECimal number to BINary by rst76

main=readLn>>=print.f
f 0=0
f n=f(div n 2)*10+mod n 2

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

download

return to the top page