Symmetric matrix by macik

import std.stdio,std.string;void main(){char[]l;string[][]s;for(int n;readln(l);n++){s~=split(l.idup);for(int i;i<n;i++)write(s[i][n-i],' ');write(l);}}

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

download

return to the top page