about summary refs log tree commit diff
path: root/others
diff options
context:
space:
mode:
Diffstat (limited to 'others')
-rwxr-xr-xothers/other/nuoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/others/other/nuoc.py b/others/other/nuoc.py
index 9fcff54..4d53861 100755
--- a/others/other/nuoc.py
+++ b/others/other/nuoc.py
@@ -17,7 +17,7 @@ visited = ([[True] * n]
 result = 0
 
 while queue:
-    h, i, j = heappop(queue)    
+    h, i, j = heappop(queue)
     for x, y in (i + 1, j), (i - 1, j), (i, j + 1), (i, j - 1):
         if 0 <= x < m and 0 <= y < n and not visited[x][y]:
             result += max(0, h - height[x][y])