Created
December 29, 2022 17:04
-
-
Save MAGANER/6467f92bb611bd0ceb6f6ac1033746a9 to your computer and use it in GitHub Desktop.
task #20 from https://projecteuler.net in haskell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Data.Char(digitToInt) | |
main::IO() | |
main = print $ sum $ map digitToInt $ show $ product[1..100] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment