i;main(n){scanf("%d",&n);for(;i<n*n;i++)if(i%n==n-printf("%d",i<n||i>=n*n-n||(i-1)%n>n-3))puts("");}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page