Anonymous user
Free polyominoes enumeration: Difference between revisions
Updated D entry
(+ second D entry) |
(Updated D entry) |
||
Line 209:
void countSub(in uint n, in uint lv, uint[] field, uint[] putlist,
in uint putno, in uint putlast) nothrow
check(field, n, lv);
if (n == lv) {
Line 239:
}
void initOffset(in uint n) nothrow
g_anRotationOffset[0] = 0;
g_anRotationX[0] = 1;
Line 273:
}
void check(in uint[] field, in uint n, in uint lv) nothrow
g_pnFieldCheck[0 .. n ^^ 2] = 0;
|