Skip to content

Instantly share code, notes, and snippets.

@jaredcacurak
Created February 24, 2011 02:33
Show Gist options
  • Select an option

  • Save jaredcacurak/841650 to your computer and use it in GitHub Desktop.

Select an option

Save jaredcacurak/841650 to your computer and use it in GitHub Desktop.
A Groovy solution for Project Euler - Problem 6
(1..100).sum() ** 2 - (1..100).collect { it ** 2 }.sum()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment