v=0 System.in.each{v-=it print"${v<0?'+'*-v:'-'*v}." v=it}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page