Gray code by murky-satyr

writeln("Gray code  n=",n:="\x03\x04\x07"at(Date second&3))for(i,1,2**n,for(j,1,n,write(-(i-1>>n-j)>>1&1))writeln)

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

download

return to the top page