Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def _fibin
  2. def _fibout
  3. f fib
  4.     def tmp def pov def a def b
  5.     = pov 0
  6.  
  7.     = tmp = _fibin 1
  8.     if tmp    = pov 1    .
  9.  
  10.     = tmp = _fibin 2
  11.     if tmp    = pov 1   .
  12.  
  13.     = _fibout pov
  14.     = tmp - pov 1
  15.  
  16.     if tmp
  17.         = a - _fibin 1
  18.         = b - a 1
  19.         = _fibin a   call fib   = a _fibout
  20.         = _fibin b   call fib   = b _fibout
  21.         = _fibout + a b
  22.     .
  23. .
  24. inc _fibin
  25. call fib
  26. out _fibout
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement