Skip to content

Instantly share code, notes, and snippets.

@kazua
Created October 18, 2013 14:35
Show Gist options
  • Save kazua/7042488 to your computer and use it in GitHub Desktop.
Save kazua/7042488 to your computer and use it in GitHub Desktop.
Project Euler Problem 16(PHP)
<?php
//http://odz.sakura.ne.jp/projecteuler/index.php?cmd=read&page=Problem%2016
//write kazua
echo array_sum(str_split(bcpow(2, 1000)));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment