Problem 16
http://projecteuler.net/index.php?section=problems&id=16
2^1000 の各ケタの和
そのまま
import Char main = print $ sum $ map digitToInt $ show $ 2 ^ 1000
http://projecteuler.net/index.php?section=problems&id=16
2^1000 の各ケタの和
そのまま
import Char main = print $ sum $ map digitToInt $ show $ 2 ^ 1000