1
0

11 Commits ddb2e8f96b ... dee80730e1

Autor SHA1 Mensagem Data
  Piotr Czajkowski dee80730e1 Added description há 1 semana atrás
  Piotr Czajkowski bae92527f1 Stupid mistake, solved part1 há 1 semana atrás
  Piotr Czajkowski 319f806072 Better há 1 semana atrás
  Piotr Czajkowski f1b9165841 Too slow for input há 1 semana atrás
  Piotr Czajkowski 8e1cc5eef6 Have regions há 1 semana atrás
  Piotr Czajkowski 836b7349ee Able to read input há 1 semana atrás
  Piotr Czajkowski ab0538500b Solved part2 há 1 semana atrás
  Piotr Czajkowski a3f4bd8b96 Better? há 1 semana atrás
  Piotr Czajkowski 0a3564c497 Added description há 1 semana atrás
  Piotr Czajkowski ad130b25ce Solved part1 há 1 semana atrás
  Piotr Czajkowski f198c7acbe Able to read input há 1 semana atrás
6 ficheiros alterados com 591 adições e 0 exclusões
  1. 93 0
      11/code.go
  2. 69 0
      11/description.txt
  3. 1 0
      11/input
  4. 141 0
      12/code.go
  5. 147 0
      12/description.txt
  6. 140 0
      12/input

+ 93 - 0
11/code.go

@@ -0,0 +1,93 @@
+package main
+
+import (
+	"fmt"
+	"log"
+	"os"
+	"strconv"
+	"strings"
+)
+
+func readInput(file string) map[int]int {
+	data, err := os.ReadFile(file)
+	if err != nil {
+		log.Fatal(err)
+	}
+
+	stones := make(map[int]int)
+
+	parts := strings.Split(strings.Trim(string(data), "\n"), " ")
+	for _, part := range parts {
+		stone, err := strconv.Atoi(part)
+		if err != nil {
+			log.Fatalf("Bad input %s: %s", part, err)
+		}
+
+		stones[stone]++
+	}
+
+	return stones
+}
+
+func splitStone(stoneString string) (int, int) {
+	half := len(stoneString) / 2
+
+	first, err1 := strconv.Atoi(stoneString[:half])
+	if err1 != nil {
+		log.Fatalf("Can't convert %s: %s", stoneString[:half], err1)
+	}
+
+	second, err2 := strconv.Atoi(stoneString[half:])
+	if err1 != nil {
+		log.Fatalf("Can't convert %s: %s", stoneString[half:], err2)
+	}
+
+	return first, second
+}
+
+func processStones(stones map[int]int) map[int]int {
+	newStones := make(map[int]int)
+	for key, value := range stones {
+		if key == 0 {
+			newStones[1] += value
+		} else if stoneString := fmt.Sprintf("%d", key); len(stoneString)%2 == 0 {
+			first, second := splitStone(stoneString)
+			newStones[first] += value
+			newStones[second] += value
+		} else {
+			m := key * 2024
+			newStones[m] += value
+		}
+	}
+
+	return newStones
+}
+
+func blink(stones map[int]int, blinks int) map[int]int {
+	for i := 0; i < blinks; i++ {
+		stones = processStones(stones)
+	}
+
+	return stones
+}
+
+func countStones(stones map[int]int) int {
+	var result int
+	for _, value := range stones {
+		result += value
+	}
+
+	return result
+}
+
+func main() {
+	if len(os.Args) < 2 {
+		log.Fatal("You need to specify a file!")
+	}
+
+	stones := readInput(os.Args[1])
+	part1Stones := blink(stones, 25)
+	fmt.Println("Part1:", countStones(part1Stones))
+	part2Stones := blink(part1Stones, 50)
+	fmt.Println("Part2:", countStones(part2Stones))
+}

+ 69 - 0
11/description.txt

@@ -0,0 +1,69 @@
+--- Day 11: Plutonian Pebbles ---
+
+The ancient civilization on Pluto was known for its ability to manipulate spacetime, and while The Historians explore their infinite corridors, you've noticed a strange set of physics-defying stones.
+
+At first glance, they seem like normal stones: they're arranged in a perfectly straight line, and each stone has a number engraved on it.
+
+The strange part is that every time you blink, the stones change.
+
+Sometimes, the number engraved on a stone changes. Other times, a stone might split in two, causing all the other stones to shift over a bit to make room in their perfectly straight line.
+
+As you observe them for a while, you find that the stones have a consistent behavior. Every time you blink, the stones each simultaneously change according to the first applicable rule in this list:
+
+    If the stone is engraved with the number 0, it is replaced by a stone engraved with the number 1.
+    If the stone is engraved with a number that has an even number of digits, it is replaced by two stones. The left half of the digits are engraved on the new left stone, and the right half of the digits are engraved on the new right stone. (The new numbers don't keep extra leading zeroes: 1000 would become stones 10 and 0.)
+    If none of the other rules apply, the stone is replaced by a new stone; the old stone's number multiplied by 2024 is engraved on the new stone.
+
+No matter how the stones change, their order is preserved, and they stay on their perfectly straight line.
+
+How will the stones evolve if you keep blinking at them? You take a note of the number engraved on each stone in the line (your puzzle input).
+
+If you have an arrangement of five stones engraved with the numbers 0 1 10 99 999 and you blink once, the stones transform as follows:
+
+    The first stone, 0, becomes a stone marked 1.
+    The second stone, 1, is multiplied by 2024 to become 2024.
+    The third stone, 10, is split into a stone marked 1 followed by a stone marked 0.
+    The fourth stone, 99, is split into two stones marked 9.
+    The fifth stone, 999, is replaced by a stone marked 2021976.
+
+So, after blinking once, your five stones would become an arrangement of seven stones engraved with the numbers 1 2024 1 0 9 9 2021976.
+
+Here is a longer example:
+
+Initial arrangement:
+125 17
+
+After 1 blink:
+253000 1 7
+
+After 2 blinks:
+253 0 2024 14168
+
+After 3 blinks:
+512072 1 20 24 28676032
+
+After 4 blinks:
+512 72 2024 2 0 2 4 2867 6032
+
+After 5 blinks:
+1036288 7 2 20 24 4048 1 4048 8096 28 67 60 32
+
+After 6 blinks:
+2097446912 14168 4048 2 0 2 4 40 48 2024 40 48 80 96 2 8 6 7 6 0 3 2
+
+In this example, after blinking six times, you would have 22 stones. After blinking 25 times, you would have 55312 stones!
+
+Consider the arrangement of stones in front of you. How many stones will you have after blinking 25 times?
+
+Your puzzle answer was 231278.
+
+The first half of this puzzle is complete! It provides one gold star: *
+--- Part Two ---
+
+The Historians sure are taking a long time. To be fair, the infinite corridors are very large.
+
+How many stones would you have after blinking a total of 75 times?
+
+Your puzzle answer was 274229228071551.
+
+Both parts of this puzzle are complete! They provide two gold stars: **

+ 1 - 0
11/input

@@ -0,0 +1 @@
+1750884 193 866395 7 1158 31 35216 0

+ 141 - 0
12/code.go

@@ -0,0 +1,141 @@
+package main
+
+import (
+	"bufio"
+	"fmt"
+	"log"
+	"os"
+)
+
+type Point struct {
+	y, x   int
+	value  byte
+	fences int
+}
+
+func (p *Point) key() string {
+	return fmt.Sprintf("%d_%d", p.y, p.x)
+}
+
+func readInput(file *os.File) [][]byte {
+	scanner := bufio.NewScanner(file)
+	var matrix [][]byte
+
+	for scanner.Scan() {
+		line := scanner.Text()
+		if line == "" {
+			break
+		}
+
+		matrix = append(matrix, []byte(line))
+	}
+
+	return matrix
+}
+
+var directions [][]int = [][]int{
+	{0, -1}, {1, 0}, {0, 1}, {-1, 0},
+}
+
+func getPlots(current Point, matrix [][]byte, xMax, yMax int) []Point {
+	var plots []Point
+	for _, direction := range directions {
+		plot := Point{x: current.x + direction[0], y: current.y + direction[1]}
+		if plot.x >= 0 && plot.x < xMax &&
+			plot.y >= 0 && plot.y < yMax && matrix[plot.y][plot.x] == current.value {
+			plot.value = matrix[plot.y][plot.x]
+			plots = append(plots, plot)
+		}
+	}
+
+	return plots
+}
+
+func countFences(current Point, matrix [][]byte, xMax, yMax int) int {
+	var fences int
+	for _, direction := range directions {
+		plot := Point{x: current.x + direction[0], y: current.y + direction[1]}
+		if plot.x >= 0 && plot.x < xMax &&
+			plot.y >= 0 && plot.y < yMax && matrix[plot.y][plot.x] == current.value {
+			continue
+		}
+
+		fences++
+	}
+
+	return fences
+}
+
+func getRegion(start Point, matrix [][]byte, xMax, yMax int, checked map[string]bool) map[string]Point {
+	plots := []Point{start}
+	region := make(map[string]Point)
+
+	for len(plots) > 0 {
+		current := plots[0]
+		plots = plots[1:]
+
+		if checked[current.key()] {
+			continue
+		}
+
+		if current.fences == 0 {
+			current.fences = countFences(current, matrix, xMax, yMax)
+		}
+
+		region[current.key()] = current
+		checked[current.key()] = true
+
+		newPlots := getPlots(current, matrix, xMax, yMax)
+		for _, plot := range newPlots {
+			if !checked[plot.key()] {
+				plots = append(plots, plot)
+			}
+		}
+	}
+
+	return region
+}
+
+func calculate(region map[string]Point) int {
+	var perimeter int
+	for _, plot := range region {
+		perimeter += plot.fences
+	}
+
+	return perimeter * len(region)
+}
+
+func part1(matrix [][]byte) int {
+	xMax := len(matrix[0])
+	yMax := len(matrix)
+	checked := make(map[string]bool)
+	var result int
+
+	for y := range matrix {
+		for x := range matrix[y] {
+			current := Point{x: x, y: y, value: matrix[y][x]}
+			if !checked[current.key()] {
+				current.fences = countFences(current, matrix, xMax, yMax)
+				region := getRegion(current, matrix, xMax, yMax, checked)
+				result += calculate(region)
+			}
+		}
+	}
+
+	return result
+}
+
+func main() {
+	if len(os.Args) < 2 {
+		log.Fatal("You need to specify a file!")
+	}
+
+	filePath := os.Args[1]
+	file, err := os.Open(filePath)
+	if err != nil {
+		log.Fatalf("Failed to open %s!\n", filePath)
+	}
+
+	matrix := readInput(file)
+	fmt.Println("Part1:", part1(matrix))
+}

+ 147 - 0
12/description.txt

@@ -0,0 +1,147 @@
+--- Day 12: Garden Groups ---
+
+Why not search for the Chief Historian near the gardener and his massive farm? There's plenty of food, so The Historians grab something to eat while they search.
+
+You're about to settle near a complex arrangement of garden plots when some Elves ask if you can lend a hand. They'd like to set up fences around each region of garden plots, but they can't figure out how much fence they need to order or how much it will cost. They hand you a map (your puzzle input) of the garden plots.
+
+Each garden plot grows only a single type of plant and is indicated by a single letter on your map. When multiple garden plots are growing the same type of plant and are touching (horizontally or vertically), they form a region. For example:
+
+AAAA
+BBCD
+BBCC
+EEEC
+
+This 4x4 arrangement includes garden plots growing five different types of plants (labeled A, B, C, D, and E), each grouped into their own region.
+
+In order to accurately calculate the cost of the fence around a single region, you need to know that region's area and perimeter.
+
+The area of a region is simply the number of garden plots the region contains. The above map's type A, B, and C plants are each in a region of area 4. The type E plants are in a region of area 3; the type D plants are in a region of area 1.
+
+Each garden plot is a square and so has four sides. The perimeter of a region is the number of sides of garden plots in the region that do not touch another garden plot in the same region. The type A and C plants are each in a region with perimeter 10. The type B and E plants are each in a region with perimeter 8. The lone D plot forms its own region with perimeter 4.
+
+Visually indicating the sides of plots in each region that contribute to the perimeter using - and |, the above map's regions' perimeters are measured as follows:
+
++-+-+-+-+
+|A A A A|
++-+-+-+-+     +-+
+              |D|
++-+-+   +-+   +-+
+|B B|   |C|
++   +   + +-+
+|B B|   |C C|
++-+-+   +-+ +
+          |C|
++-+-+-+   +-+
+|E E E|
++-+-+-+
+
+Plants of the same type can appear in multiple separate regions, and regions can even appear within other regions. For example:
+
+OOOOO
+OXOXO
+OOOOO
+OXOXO
+OOOOO
+
+The above map contains five regions, one containing all of the O garden plots, and the other four each containing a single X plot.
+
+The four X regions each have area 1 and perimeter 4. The region containing 21 type O plants is more complicated; in addition to its outer edge contributing a perimeter of 20, its boundary with each X region contributes an additional 4 to its perimeter, for a total perimeter of 36.
+
+Due to "modern" business practices, the price of fence required for a region is found by multiplying that region's area by its perimeter. The total price of fencing all regions on a map is found by adding together the price of fence for every region on the map.
+
+In the first example, region A has price 4 * 10 = 40, region B has price 4 * 8 = 32, region C has price 4 * 10 = 40, region D has price 1 * 4 = 4, and region E has price 3 * 8 = 24. So, the total price for the first example is 140.
+
+In the second example, the region with all of the O plants has price 21 * 36 = 756, and each of the four smaller X regions has price 1 * 4 = 4, for a total price of 772 (756 + 4 + 4 + 4 + 4).
+
+Here's a larger example:
+
+RRRRIICCFF
+RRRRIICCCF
+VVRRRCCFFF
+VVRCCCJFFF
+VVVVCJJCFE
+VVIVCCJJEE
+VVIIICJJEE
+MIIIIIJJEE
+MIIISIJEEE
+MMMISSJEEE
+
+It contains:
+
+    A region of R plants with price 12 * 18 = 216.
+    A region of I plants with price 4 * 8 = 32.
+    A region of C plants with price 14 * 28 = 392.
+    A region of F plants with price 10 * 18 = 180.
+    A region of V plants with price 13 * 20 = 260.
+    A region of J plants with price 11 * 20 = 220.
+    A region of C plants with price 1 * 4 = 4.
+    A region of E plants with price 13 * 18 = 234.
+    A region of I plants with price 14 * 22 = 308.
+    A region of M plants with price 5 * 12 = 60.
+    A region of S plants with price 3 * 8 = 24.
+
+So, it has a total price of 1930.
+
+What is the total price of fencing all regions on your map?
+
+Your puzzle answer was 1375476.
+
+The first half of this puzzle is complete! It provides one gold star: *
+--- Part Two ---
+
+Fortunately, the Elves are trying to order so much fence that they qualify for a bulk discount!
+
+Under the bulk discount, instead of using the perimeter to calculate the price, you need to use the number of sides each region has. Each straight section of fence counts as a side, regardless of how long it is.
+
+Consider this example again:
+
+AAAA
+BBCD
+BBCC
+EEEC
+
+The region containing type A plants has 4 sides, as does each of the regions containing plants of type B, D, and E. However, the more complex region containing the plants of type C has 8 sides!
+
+Using the new method of calculating the per-region price by multiplying the region's area by its number of sides, regions A through E have prices 16, 16, 32, 4, and 12, respectively, for a total price of 80.
+
+The second example above (full of type X and O plants) would have a total price of 436.
+
+Here's a map that includes an E-shaped region full of type E plants:
+
+EEEEE
+EXXXX
+EEEEE
+EXXXX
+EEEEE
+
+The E-shaped region has an area of 17 and 12 sides for a price of 204. Including the two regions full of type X plants, this map has a total price of 236.
+
+This map has a total price of 368:
+
+AAAAAA
+AAABBA
+AAABBA
+ABBAAA
+ABBAAA
+AAAAAA
+
+It includes two regions full of type B plants (each with 4 sides) and a single region full of type A plants (with 4 sides on the outside and 8 more sides on the inside, a total of 12 sides). Be especially careful when counting the fence around regions like the one full of type A plants; in particular, each section of fence has an in-side and an out-side, so the fence does not connect across the middle of the region (where the two B regions touch diagonally). (The Elves would have used the Möbius Fencing Company instead, but their contract terms were too one-sided.)
+
+The larger example from before now has the following updated prices:
+
+    A region of R plants with price 12 * 10 = 120.
+    A region of I plants with price 4 * 4 = 16.
+    A region of C plants with price 14 * 22 = 308.
+    A region of F plants with price 10 * 12 = 120.
+    A region of V plants with price 13 * 10 = 130.
+    A region of J plants with price 11 * 12 = 132.
+    A region of C plants with price 1 * 4 = 4.
+    A region of E plants with price 13 * 8 = 104.
+    A region of I plants with price 14 * 16 = 224.
+    A region of M plants with price 5 * 6 = 30.
+    A region of S plants with price 3 * 6 = 18.
+
+Adding these together produces its new total price of 1206.
+
+What is the new total price of fencing all regions on your map?
+

+ 140 - 0
12/input

@@ -0,0 +1,140 @@
+RRRRRRRRRRRRRRRRKKKKKKKKRRRRRRRRRRRRRRRRRRRROOPOOOOOOOOGOOONYYYYYYEDDDDDDDDDDDLLLLLLLLOOOOOOOOOOOOOOOXVVXHHHHHHHHHHLLLLLLLLLLLLLLJJJJJJJJJJC
+RRRRRRRRRRRRRRRRKKK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