Percolation/Bond percolation: Difference between revisions

Content added Content deleted
Line 66: Line 66:
print(‘!) ’(‘ ’ * where)‘ ’f[1])
print(‘!) ’(‘ ’ * where)‘ ’f[1])


F flood_fill(m, n, &cell, hwall, vwall) -> N
F flood_fill(m, n, &cell, hwall, vwall) -> Void
cell[n][m] = 1
cell[n][m] = 1
I n < :nn - 1 & !hwall[n + 1][m] & !cell[n + 1][m]
I n < :nn - 1 & !hwall[n + 1][m] & !cell[n + 1][m]