Problem 1. Multiples of 3 and 5

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/m0_37345402/article/details/82996399

Problem 1.  Multiples of 3 and 5

题目链接:https://projecteuler.net/problem=1

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.

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

猜你喜欢

转载自blog.csdn.net/m0_37345402/article/details/82996399