Golf ball pyramid by primo (height:base is not correct

#!ruby -n
p (1+(3+2*h=0|$_.to_i/30.173+0.6)*h)*h/6

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

download

return to the top page