Data update
This commit is contained in:
parent
5af6d93694
commit
796d366b97
455 changed files with 7413 additions and 1900 deletions
|
|
@ -3,13 +3,13 @@ m = 3
|
|||
len result[] m
|
||||
#
|
||||
proc combinations pos val . .
|
||||
if pos <= m
|
||||
for i = val to n - m
|
||||
result[pos] = pos + i
|
||||
call combinations pos + 1 i
|
||||
.
|
||||
else
|
||||
print result[]
|
||||
.
|
||||
if pos <= m
|
||||
for i = val to n - m
|
||||
result[pos] = pos + i
|
||||
combinations pos + 1 i
|
||||
.
|
||||
else
|
||||
print result[]
|
||||
.
|
||||
.
|
||||
call combinations 1 0
|
||||
combinations 1 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue