Demo entry 6344825

f

   

Submitted by anonymous on Jan 25, 2017 at 18:57
Language: C#. Code size: 138 Bytes.

function IntToBin(n)
  X:=[];
  repeat
    Append(~X, n mod 2);
    n:=n div 2;
  until(n eq 0);
  return Reverse(X);
end function;

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).