diff day11.txt @ 19:1e16a25a9553

Strip down the text to just the puzzle, not the fluff
author IBBoard <dev@ibboard.co.uk>
date Mon, 11 Dec 2023 20:38:55 +0000
parents ddb69833346c
children
line wrap: on
line diff
--- a/day11.txt	Mon Dec 11 20:08:47 2023 +0000
+++ b/day11.txt	Mon Dec 11 20:38:55 2023 +0000
@@ -1,12 +1,6 @@
 --- Day 11: Cosmic Expansion ---
 
-You continue following signs for "Hot Springs" and eventually come across an observatory. The Elf within turns out to be a researcher studying cosmic expansion using the giant telescope here.
-
-He doesn't know anything about the missing machine parts; he's only visiting for this research project. However, he confirms that the hot springs are the next-closest area likely to have people; he'll even take you straight there once he's done with today's observation analysis.
-
-Maybe you can help him with the analysis to speed things up?
-
-The researcher has collected a bunch of data and compiled the data into a single giant image (your puzzle input). The image includes empty space (.) and galaxies (#). For example:
+There is a map (your puzzle input). The image includes empty space (.) and galaxies (#). For example:
 
 ...#......
 .......#..
@@ -19,9 +13,7 @@
 .......#..
 #...#.....
 
-The researcher is trying to figure out the sum of the lengths of the shortest path between every pair of galaxies. However, there's a catch: the universe expanded in the time it took the light from those galaxies to reach the observatory.
-
-Due to something involving gravitational effects, only some space expands. In fact, the result is that any rows or columns that contain no galaxies should all actually be twice as big.
+We need to calculate the distance between each galaxy. But the space between them is non-linear. Any rows or columns that contain no galaxies should all actually be twice as big.
 
 In the above example, three columns and two rows contain no galaxies:
 
@@ -97,8 +89,6 @@
 
 --- Part Two ---
 
-The galaxies are much older (and thus much farther apart) than the researcher initially estimated.
-
 Now, instead of the expansion you did before, make each empty row or column one million times larger. That is, each empty row should be replaced with 1000000 empty rows, and each empty column should be replaced with 1000000 empty columns.
 
 (In the example above, if each empty row or column were merely 10 times larger, the sum of the shortest paths between every pair of galaxies would be 1030. If each empty row or column were merely 100 times larger, the sum of the shortest paths between every pair of galaxies would be 8410. However, your universe will need to expand far beyond these values.)