Symmetric matrix by nn

a=[i=0]
System.in.eachLine{s->for(a[j=++i]=s.split();--j;)s=a[j][i-j]+' '+s
println s}

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

download

return to the top page