Triangle by hide24

_=*1..m=gets.to_i
puts _.map{|j|(_.map{|i|i+(1+n=j-m-i)*n/2}&_)*' '}-['']

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

download

return to the top page