Golf ball pyramid by teebee

import java.util.*;enum G{G;System z;int n;{for(Scanner r=new Scanner(z.in);(n=(int)(r.nextInt()/30.17+0.58))>0;)z.out.println(n*~n*~(2*n)/6);}}

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

download

return to the top page