๐Ÿ“ฆ schubart / euler

๐Ÿ“„ euler0016.hs ยท 4 lines
1
2
3
4import Data.Char

main = print $ sum $ map digitToInt $ show $ 2^1000