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

@ -10,7 +10,6 @@ V NOT_VISITED = 1
T PercolatedException
(Int, Int) t
F (t)
.t = t
@ -24,7 +23,7 @@ F pgrid(cell, percolated)
V where = percolated[0]
print(!) ( * where):cell2char[cell[:nn - 1][where]])
F walk_maze(m, n, &cell, indx) X(PercolatedException) -> N
F walk_maze(m, n, &cell, indx) X(PercolatedException) -> Void
cell[n][m] = indx
I n < :nn - 1 & cell[n + 1][m] == :NOT_VISITED
walk_maze(m, n + 1, &cell, indx)