Problem 16
http://projecteuler.net/index.php?section=problems&id=16
--Haskell, 20090101 import Char (digitToInt) main = print $ sum $ map digitToInt $ show (2^1000)
Problem 15
http://projecteuler.net/index.php?section=problems&id=15
--Haskell, 20090104 import Sequence (factorial) main = print $ factorial!!39`div`(factorial!!19)^2
数列モジュールを使用.