Will Clausen's Website

Categories
WCW

Solution: Project Euler Problem 1

The problem:

Find the sum of all the multiples of 3 or 5 below 1000.

My solution was just to use the principle of inclusion/exclusion. No code necessary.

Leave a Reply

Your email address will not be published. Required fields are marked *