DECimal number to BINary by uru

var n,i:comp;begin
read(n);for i:=-round(ln(n)/0.7)to 0do write(n shr(-i)and 1)end.

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

download

return to the top page