box world by 51b

char*p,*r,*q;main(k,l,s){for(r=q+=k=printf(q=p=gets(s));*p;)for(l=-2;l++<k+!*p;)putchar(~l?l?l-1?*p?32:*--r:*--q:10:*p++);}

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

download

return to the top page