sum of square numbers by teebee

import java.util.*;enum S{S;System z;{for(Scanner s=new Scanner(z.in);s==s;){int i=s.nextInt(),n=0;for(;i>0;)n+=i*i--;z.out.println(n);}}}

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

download

return to the top page