cwbe coordinatez:
101
63540
2076399
856608
4857954
4858151

ABSOLUT
KYBERIA
permissions
you: r,
system: public
net: yes

neurons

stats|by_visit|by_K
source
tiamat
K|my_K|given_K
last
commanders
polls

total descendants::
total children::1
show[ 2 | 3] flat


Vypocet v zoznamovej monade:

>>> import operator
>>> concat = lambda xs: reduce(operator.concat, xs, [])
>>> fm = lambda p,xs: [[]] if not xs else concat([map(lambda y: [xs[0]]+y, fm(p,xs[1:])) if b else fm(p,xs[1:]) for b in p(xs[0])])
>>> fm(lambda _: [True, False], [1,2,3,4])
[[1, 2, 3, 4], [1, 2, 3], [1, 2, 4], [1, 2], [1, 3, 4], [1, 3], [1, 4], [1], [2, 3, 4], [2, 3], [2, 4], [2], [3, 4], [3], [4], []]


Specializovanejsi postup:
>>> fm = lambda xs: [[]] if not xs else map(lambda y: [xs[0]]+y, fm(xs[1:])) + fm(xs[1:])
>>> fm([1,2,3,4])
[[1, 2, 3, 4], [1, 2, 3], [1, 2, 4], [1, 2], [1, 3, 4], [1, 3], [1, 4], [1], [2, 3, 4], [2, 3], [2, 4], [2], [3, 4], [3], [4], []]


  submission:: Re[2]: kombinacie :: NEW (2 children )   NEW DESCENDANT  4 ❤️ (ziman)


There are currently 10046 K available in
2nd Guild's K-treasury.




get 1 🦆 for 5 🐘
get 1 🐘 for 1 🦆