Percolation/Bond percolation: Difference between revisions
Content added Content deleted
Alextretyak (talk | contribs) m (→{{header|11l}}: X.throw) |
Alextretyak (talk | contribs) m (→{{header|11l}}: Void) |
||
Line 66: | Line 66: | ||
print(‘!) ’(‘ ’ * where)‘ ’f[1]) |
print(‘!) ’(‘ ’ * where)‘ ’f[1]) |
||
F flood_fill(m, n, &cell, hwall, vwall) -> |
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] |