Tower of Hanoi by 51b

import std.stdio;void main(){for(int l,k=l=1<<getchar%8;--l+k;)putchar=l?((l>0?k-l&k+~l:-(~-l&l))<<k%3)%3+65:10;}

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

download

return to the top page