eval.in

Paste #687

Haskell — Hugs98 September 2006, pasted 4 years ago

1
2
3
4
5
fib 0 = 0
fib 1 = 1
fib n = fib (n - 1) + fib (n - 2)

main = putStrLn $ show $ fib 25

Program Output

75025

OK (0.424 sec real, 0.446 sec wall, 19 MB, 22 syscalls)

Fork