Golf ball pyramid by macik

repeat
input""x
z=int((x/21.335-2)/1.4142+2)
print int(z*(z+1)*(2*z+1)/6)until(x=2488)

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

download

return to the top page