i;main(l,j){for(printf("Gray code n=%d\n",j=l=j%5+7);!(i>>l);putchar(!j?j=l,i++,10:48|1&(i^i>>1)>>--j));}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page