top of page

Problem 13

This is a C++ solution to Project Euler problem 13 found at: https://projecteuler.net/problem=13

My Algorithm

For this problem, we are given one-hundred 50-digit numbers and are asked to find the first ten digits of the sum. To do this, we can simply read in the numbers with a loop and add them up. After doing this, we can return the first ten digits, which are 5537376230.

Full Solution on GitHub

© 2023 by Matthew Woodring

    bottom of page