Tower of Hanoi by inaniwa

i,b,c;main(j){for(gets(&b);++i<1<<b%8||(i=puts(""),j--);putchar((b%2?c:99-c)%3+65))c=j?i&~-i:-(~i&-i);}

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

download

return to the top page