Permalink
Browse files

fix

  • Loading branch information...
1 parent 27b5754 commit 99af94414a4a36fd2fa195f5052786d773b0694f huanghuang committed Mar 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 4-9.py
View
2 4-9.py
@@ -39,7 +39,7 @@ def search():
closed = [[0 for row in range(len(grid[0]))] for col in range(len(grid))]
closed[init[0]][init[1]] = 1
expand = [[-1 for row in range(len(grid[0]))] for col in range(len(grid))]
- closed[init[0]][init[1]] = 0
+ expand[init[0]][init[1]] = 0
x = init[0]
y = init[1]

0 comments on commit 99af944

Please sign in to comment.