DECimal number to BINary by notogawa

main=readLn>>=print.f
f 0=0
f n=10*f(div n 2)+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