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

20 lines
506 B
YAML

title: Calculate the sum of all the primes below two million.
url: http://projecteuler.net/problem=10
desc: |
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.
Find the sum of all the primes below two million.
solution: |
Use a primenumber tester
solutions:
solve.php:
desc: Basic solution
language: php
solve.rb:
desc: Basic solution
language: ruby
solve.c:
desc: C solution compiled with gcc-4.3.4 (Support for long long needed)
language: c