sum of square numbers by isshiki

i[];main(j,k){while(gets(i)){for(j=1,k=0;j<=atoi();)k+=j*j++;printf("%d\n",k);}}

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

download

return to the top page