其他分享
首页 > 其他分享> > Project Euler:Problem 1

Project Euler:Problem 1

作者:互联网

原文链接:http://www.cnblogs.com/riceLee/archive/2013/03/07/problem1.html

problem:

Multiples of 3 and 5

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.

如果我们列出10以内的自然数中3或5的倍数,我们可以得到3、5、6和9.这些倍数的和为23.

找出1000以内自然数中3或5的倍数之和。

转载于:https://www.cnblogs.com/riceLee/archive/2013/03/07/problem1.html

标签:03,www,problem1,Project,Euler,Problem,archive,multiples,倍数
来源: https://blog.csdn.net/weixin_30933531/article/details/98100755