begin var n,i,j:word;read(n);for i:=1to n do for j:=1to n do write(abs(i-j)+1,(" ")[j div n+1])end.

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

download

return to the top page