Data update

This commit is contained in:
Ingy döt Net 2024-07-13 15:19:22 -07:00
parent 29a5eea0d4
commit 5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions

View file

@ -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
combinations pos + 1 i
.
else
if pos > m
print result[]
return
.
for i = val to pos + n - m
result[pos] = i
combinations pos + 1 i + 1
.
.
combinations 1 0
combinations 1 1