Symmetric matrix by tm

main(){char a[99][99],i,j,k,l,b;i=j=k;while((b=getchar())!=-1){a[j][i*l+k]=b==10?32:(a[i][j*l+k]=b);b==10?puts(a[i++]),j=i,k=-1:1;(b==32)?l=k+1,k=0,j++:k++;}}

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

download

return to the top page