slope lines by murky-satyr

o=[i=0]
System.in.eachLine{j=-1
it.each{s=o[x=49+i-++j]?:''
o[x]=s+' '*((i+j)*2-s.count)+it}
++i}
o.any{it&&println(it)}

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

download

return to the top page