cobra90nj on 04/25/09
Last Edited at 04/25/09 10:41am
<?php//project euler 16//by cobra90nj $pot = bcpow(2,1000);$loop = $sum = 0;$strpot = strlen($pot); while ($loop < $strpot) { $sum += $pot{$loop}; $loop++;} echo $sum;
Report this snippet Tweet
Comment:
You need to login to post a comment.