sum of square numbers by

<?while($l=fgets(STDIN)){for($i=$s=0;$i<=$l;$s+=pow($i++,2)){}echo"$s
";}?>

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

download

return to the top page