int i;int a;for i=1to 100{input a;a=floor(a*0.03314+0.61);print (a+1)*a*(2*a+1)/6;}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page