Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
8
Task/Sudan-function/Arturo/sudan-function.arturo
Normal file
8
Task/Sudan-function/Arturo/sudan-function.arturo
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
sudan: function [n, x, y][
|
||||
if n = 0 -> return x + y
|
||||
if y = 0 -> return x
|
||||
|
||||
sudan n-1 sudan n x y-1 y + sudan n x y-1
|
||||
]
|
||||
|
||||
print sudan 1 3 3
|
||||
Loading…
Add table
Add a link
Reference in a new issue