codingtests/ProjectEuler/016/desc.yml

18 lines
424 B
YAML
Raw Normal View History

2012-03-09 09:43:52 +00:00
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