18 lines
440 B
YAML
18 lines
440 B
YAML
title: Find the last ten digits of 11 + 22 + ... + 10001000.
|
|
url: http://projecteuler.net/problem=48
|
|
|
|
desc: |
|
|
The series, 1^1 + 2^2 + 3^3 + ... + 10^10 = 10405071317.
|
|
Find the last ten digits of the series, 1^1 + 2^2 + 3^3 + ... + 1000^1000.
|
|
|
|
solution: |
|
|
Bruteforce
|
|
|
|
solutions:
|
|
solve.php:
|
|
desc: Using BCMath to cope with large numbers
|
|
language: php
|
|
solve.rb:
|
|
desc: Basic solution
|
|
language: ruby
|