Brainfuck FIXED by 51b

s[99999];b[999],*q=b;c;i=48,k;main(char*p){for(read(0,p=s,s)<200&&puts(p="Hello, world!");!c?k=*p:1;p++)k==91&!*q|k==93?*p-91?*p-93?:--c:++c,k>92?p-=2-!c:0:k-43?k-45?k-62?k-60?k-46?k-44?:(*q=i++%58):putchar(*q):q--:q++:--*q:++*q;}

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

download

return to the top page