Broken Line by hakusui

s=[x=d=0];y=9
System.in.each{it>10?s[y]=sprintf("%${x?:''}s%c",s[y]?:'',it,it>32?:d++):0;d%2?y+=2-d%4:x--}
s.any{it?println(it):0}

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

download

return to the top page