Turing Machine by 51b

s[];main(t){char*p=s,*q=s+99,*r=q;for(;gets(p+=32););for(;t-35;t=p[2])p=s+*q%8*8+16+t%8,*q=*p,q+=p[1]-61,q<r&&r--;puts(r);}

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

download

return to the top page