slope lines by 51b

import std.cstream;void main(){char[][]t;int l,m,n;foreach(char[]s;din)l=s.length-n++,m=l>m?l:m,t~=s.dup;for(;l=2*m-1,--m+n;printf=\n)foreach(i,r;t)try printf("%*c",l,r[i+m]),l=4;catch{l+=4;}}

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

download

return to the top page