【算法日练】欧拉项目 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.
3或5的倍数
在小于的自然数中,或的倍数有、、和,这些数之和是。
求小于的自然数中所有或的倍数之和。
分析
求10
原创
2022-03-11 14:40:08 ·
158 阅读 ·
0 评论