codingtests/solutions/ProjectEuler/016/desc.yml
2024-07-01 13:49:44 +00:00

18 lines
424 B
YAML

title: What is the sum of the digits of the number 2^1000?
url: http://projecteuler.net/problem=16
desc: |
2^15 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.
What is the sum of the digits of the number 2^1000?
solution: |
Bruteforce
solutions:
solve.php:
desc: Using BCMath to cope with large numbers
language: php
solve.rb:
desc: Basic solution
language: ruby