Ruby by leonid

puts N==0?'\xe2\x97\x87':"/#{'--'*N}\\",(1..N).map{|k|' '*k+"\\#{'  '*N-=1}/"}while N=gets.to_i-1

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

download

return to the top page