Warning: session_start(): open(/var/lib/php/sessions/sess_grieglmptqepa9sgj9qcrddj02, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
static IterableIterator> allCombinations(final LL base) { if (anyListEmpty(base)) ret emptyItIt(); ret iteratorFromFunction(new F0>() { final int n = l(base); L l = rep((Int) 0, n); public L get() { if (l == null) null; L out = makeList(); int i = 0; while (i < n) { int n = l.get(i); if (n+1 < l(base.get(i))) { l.set(i, n+1); break; } l.set(i++, 0); } if (i >= n) l = null; ret out; } L makeList() { L list = emptyList(n); for i to n: list.add(base.get(i).get(l.get(i))); ret list; } }); }