Tower of Hanoi by not

n;main(o,t){for(t%=9;++n;)putchar(n>>-t?n=--o,10:(n-~o*(n&-n)<<~t)%3+65);}

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

download

return to the top page