Sha256: 31d37bcebe6acd0a4a217ec1286259d53ee2329d0f41de97f75b1e46f6c2b299
Contents?: true
Size: 1.19 KB
Versions: 80
Compression:
Stored size: 1.19 KB
Contents
# Sum Of Multiples Given a number, find the sum of all the multiples of particular numbers up to but not including that number. If we list all the natural numbers up to but not including 20 that are multiples of either 3 or 5, we get 3, 5, 6 and 9, 10, 12, 15, and 18. The sum of these multiples is 78. Given a number, find the sum of the multiples of a given set of numbers, up to but not including that number. ## Loading your exercise implementation in PolyML ``` $ poly --use {exercise}.sml ``` Or: ``` $ poly > use "{exercise}.sml"; ``` **Note:** You have to replace {exercise}. ## Running the tests ``` $ poly -q --use test.sml ``` ## Feedback, Issues, Pull Requests The [exercism/sml](https://github.com/exercism/sml) repository on GitHub is the home for all of the Standard ML exercises. If you have feedback about an exercise, or want to help implementing a new one, head over there and create an issue. We'll do our best to help you! ## Source A variation on Problem 1 at Project Euler [http://projecteuler.net/problem=1](http://projecteuler.net/problem=1) ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise.
Version data entries
80 entries across 80 versions & 1 rubygems