solution for 2 in haskell wasn't complete yet
This commit is contained in:
parent
2717476a96
commit
1b37f3d610
1 changed files with 0 additions and 6 deletions
|
@ -1,6 +0,0 @@
|
||||||
main :: IO()
|
|
||||||
main = do
|
|
||||||
print (sum ret)
|
|
||||||
where
|
|
||||||
fibs = 1 : 2 : zipWith (+) fibs (tail fibs)
|
|
||||||
ret = filter even (takeWhile (<= 4000000) fibs)
|
|
Reference in a new issue