Skip to content

Instantly share code, notes, and snippets.

@jami-i
Last active December 14, 2015 20:29
Show Gist options
  • Save jami-i/5144105 to your computer and use it in GitHub Desktop.
Save jami-i/5144105 to your computer and use it in GitHub Desktop.
project euler #20
((BigInt(1) /: (2 to 100)){ _ * BigInt(_)}).toString.map(_.asDigit).sum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment