Golf ball pyramid by rst76

m@main=do h<-readLn;print$sum$map(^2)[1..div(29*h+522)875];m

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

download

return to the top page