public
Created

Project Euler - Problem 6

  • Download Gist
euler-006.hs
Haskell
1 2
result = (sum ns ^ 2) - sum (map (^ 2) ns)
where ns = [1..100]

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.