Advertising
advertising
related pastes to tag 'fib'
- 792183 - Jeff: fib ocaml
-
- let fib count =
- let rec f length accum =
- if length < count then
- match accum with
- x :: y :: xs -> f (length+1) ((x+y) :: accum)
- | [x] -> failwith "local 'f' called but accum only has one starting element"
- | [] -> failwith "local 'f' called but accum is empty"
- else
- 601376 - Eduard Gamonal: p1 upc fib
-
- #include <vector>
- #include <iostream>
- using namespace std;
- struct Info {