Closed fredericojordan closed 6 years ago
Same as always. Iterate from 0 to 1000, filtering multiples of 3 or 5 and then sum them.
Try it online!
Real time: 2.820 s User time: 4.846 s Sys. time: 0.170 s CPU share: 177.89 % Exit code: 0
Woohoo! One more language! 🎉
How the solution works
Same as always. Iterate from 0 to 1000, filtering multiples of 3 or 5 and then sum them.
Performance
Try it online!