Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
31
Task/Fibonacci-sequence/Chef/fibonacci-sequence.chef
Normal file
31
Task/Fibonacci-sequence/Chef/fibonacci-sequence.chef
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
Stir-Fried Fibonacci Sequence.
|
||||
|
||||
An unobfuscated iterative implementation.
|
||||
It prints the first N + 1 Fibonacci numbers,
|
||||
where N is taken from standard input.
|
||||
|
||||
Ingredients.
|
||||
0 g last
|
||||
1 g this
|
||||
0 g new
|
||||
0 g input
|
||||
|
||||
Method.
|
||||
Take input from refrigerator.
|
||||
Put this into 4th mixing bowl.
|
||||
Loop the input.
|
||||
Clean the 3rd mixing bowl.
|
||||
Put last into 3rd mixing bowl.
|
||||
Add this into 3rd mixing bowl.
|
||||
Fold new into 3rd mixing bowl.
|
||||
Clean the 1st mixing bowl.
|
||||
Put this into 1st mixing bowl.
|
||||
Fold last into 1st mixing bowl.
|
||||
Clean the 2nd mixing bowl.
|
||||
Put new into 2nd mixing bowl.
|
||||
Fold this into 2nd mixing bowl.
|
||||
Put new into 4th mixing bowl.
|
||||
Endloop input until looped.
|
||||
Pour contents of the 4th mixing bowl into baking dish.
|
||||
|
||||
Serves 1.
|
||||
Loading…
Add table
Add a link
Reference in a new issue