Browse Source

Adjust arbitrary numbers.

master
Chris Smith 5 years ago
parent
commit
962f2c81fd
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      day22.nim

+ 2
- 2
day22.nim View File

@@ -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