Skip to content

Instantly share code, notes, and snippets.

@hwiorn
Last active December 17, 2015 08:48
Show Gist options
  • Save hwiorn/5582339 to your computer and use it in GitHub Desktop.
Save hwiorn/5582339 to your computer and use it in GitHub Desktop.
euler 6번 문제
println((math.pow((1 to 100).sum, 2) - (1 to 100).map(x=>x*x).sum).toInt)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment