box world by nn

for(s=readline(),l=s[i=-1];i++<l;print(o))for(o=j='';j<=l;j++)o+=i%l&&j%l?' ':s[(i%l?j?i:l-i:i?l-j:j)%l]

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

download

return to the top page