day 19 part 1 (ugly, many useless code)
This commit is contained in:
@@ -363,3 +363,14 @@ The full list of beacons (relative to scanner 0) is:
|
||||
In total, there are 79 beacons.
|
||||
|
||||
Assemble the full map of beacons. How many beacons are there?
|
||||
|
||||
Your puzzle answer was 318.
|
||||
|
||||
The first half of this puzzle is complete! It provides one gold star: *
|
||||
--- Part Two ---
|
||||
|
||||
Sometimes, it's a good idea to appreciate just how big the ocean is. Using the Manhattan distance, how far apart do the scanners get?
|
||||
|
||||
In the above example, scanners 2 (1105,-1205,1229) and 3 (-92,-2380,-20) are the largest Manhattan distance apart. In total, they are 1197 + 1175 + 1249 = 3621 units apart.
|
||||
|
||||
What is the largest Manhattan distance between any two scanners?
|
||||
|
Reference in New Issue
Block a user