Anonymous user
Solve a Hidato puzzle: Difference between revisions
Updated second D entry
(Updated second D entry) |
|||
Line 672:
(cell >= 1 && cell <= size));
if (cell > 0)
assert(i == known[
}
} body {
bool[Cell] pathSeen; // A set.
this.nRows = lines.length;
this.nCols = lines[0].split.length;
immutable size = nCols * nRows;
this.board.length =
this.board[] = emptyCell;
this.known.length =
this.flood.length =
auto boardMaxMutable = Cell.min;
|