浏览代码

Adjust arbitrary numbers.

master
Chris Smith 5 年前
父节点
当前提交
962f2c81fd
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      day22.nim

+ 2
- 2
day22.nim 查看文件

@@ -26,8 +26,8 @@ var
26 26
     dangerSum = 0
27 27
 
28 28
 # Add arbitrary extension to allow for a bit of overshooting.
29
-for y in 0..target.y + 20:
30
-    for x in 0..target.x + 20:
29
+for y in 0..target.y + 75:
30
+    for x in 0..target.x + 75:
31 31
         let
32 32
             geoindex = if (x == 0 and y == 0) or (x, y) == target:
33 33
                     0