Skip to content

Instantly share code, notes, and snippets.

@yuuki
Created August 10, 2012 21:24
Show Gist options
  • Select an option

  • Save yuuki/3318133 to your computer and use it in GitHub Desktop.

Select an option

Save yuuki/3318133 to your computer and use it in GitHub Desktop.
println((BigInt(1) to 100).product.toString map{_.asDigit} sum)
# 648
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment