-- Problem 2 module Main (main) where import qualified Common as C (fibs) main :: IO () main = print $ problem2 problem2 :: (Integral a) => a problem2 = sum [ x | x <- takeWhile (< 4000000) C.fibs, even x ] |
最新の20件2023-08-12
2022-12-28
2017-08-15
2014-01-31
2014-01-29
2013-06-04
2012-11-23
2010-08-01
2010-07-24
Tweet
|