sum of square numbers by ASAQ

using C=System.Console;class H{static void Main(){for(int i;(i=int.Parse(C.ReadLine()))>0;C.WriteLine(i*~i*~(2*i)/6));}}

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

download

return to the top page