Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
4
Task/Power-set/Zkl/power-set-1.zkl
Normal file
4
Task/Power-set/Zkl/power-set-1.zkl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
fcn pwerSet(list){
|
||||
(0).pump(list.len(),List, Utils.Helpers.pickNFrom.fp1(list),
|
||||
T(Void.Write,Void.Write) ) .append(list)
|
||||
}
|
||||
3
Task/Power-set/Zkl/power-set-2.zkl
Normal file
3
Task/Power-set/Zkl/power-set-2.zkl
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
foreach n in (5){
|
||||
ps:=pwerSet((1).pump(n,List)); ps.println(" Size = ",ps.len());
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue