Snippets tagged inclusion-exclusion
This snippet is code that solves first Project Euler problem. It finds the sum of all the multiples of 3 or 5 below 1000. Please add other (more efficient, succinct or interesting) solutions to this snippet.
3 people like this
Like the snippet!
Posted: 3 years ago by