sum of square numbers by ozy4dm

#import<algo.h>
main(){for(int n;cin>>n;)cout<<n*~n*~(n*2)/6<<endl;}

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

download

return to the top page