Restructuring
This commit is contained in:
17
solutions/ProjectEuler/016/desc.yml
Normal file
17
solutions/ProjectEuler/016/desc.yml
Normal file
@ -0,0 +1,17 @@
|
||||
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
|
Reference in New Issue
Block a user