Magic square by not

n;main(o,t){for(;o<t*t;printf("%3d%c",n%(t*t)+t*t,o%t?32:10))n-=~scanf("%d",&t)?t/2:t<<(o++%t&&--n%t);}

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

download

return to the top page