Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@banacorn
Created May 5, 2012 18:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save banacorn/2604404 to your computer and use it in GitHub Desktop.
Save banacorn/2604404 to your computer and use it in GitHub Desktop.
Project Euler
sum [a | a <- [1..1000], mod a 3 == 0 && mod a 5 == 0]
maximum [ sum $ map Char.digitToInt $ show $ a ^ b | a <- [1..100], b <- [1..100]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment