From aeac868c663ae1ee7d7cd90bd76f93b1e3c72e82 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Sat, 25 Dec 2021 23:44:35 +0000 Subject: aoc2021-bigboys: days 11, 12, 14 and 15 --- content/projects/aoc2021-bigboys.md | 77 +++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) (limited to 'content/projects') diff --git a/content/projects/aoc2021-bigboys.md b/content/projects/aoc2021-bigboys.md index ee97f01..da522b5 100644 --- a/content/projects/aoc2021-bigboys.md +++ b/content/projects/aoc2021-bigboys.md @@ -101,6 +101,74 @@ Part 2: 414722113627868611885125107843994224159303286542249554058907565200722421 Part 2 % 2^64: 4019508546077889102 Part 2 % 2^32: 4104032846 +## Day 11 + +* 100x100 octopi + [Download 11-100-2.in.xz (8.0KiB compressed / 12KiB decompressed)][11-100-2.in.xz] + Part 1: 155620 + Part 2: 202 +* 1000x1000 octopi + [Download 11-1000-2.in.xz (412KiB compressed / 980KiB decompressed)][11-1000-2.in.xz] + Part 1: 15030707 + Part 2: 454 + +## Day 12 + +* 18 small caves, 9 big caves, maximum of 7 caves connected to any given one + [Download 12-18-9-7.in (240B uncompressed)][12-18-9-7.in] + Part 1: 617617055 + Part 2: 51532272174 +* 18 small caves, 10 big caves, maximum of 7 caves connected to any given one + [Download 12-18-10-7-2.in (382B uncompressed)][12-18-10-7-2.in] + Part 1: 63130821975168 + Part 2: 9781700422939493 +* 21 small caves, 12 big caves, maximum of 7 caves connected to any given one + [Download 12-21-12-7.in (352B uncompressed)][12-21-12-7.in] + Part 1: 29474222813529 + Part 2: 5141038157763320 +* 24 small caves, 14 big caves, maximum of 7 caves connected to any given one + [Download 12-24-14-7.in (446B uncompressed)][12-24-14-7.in] + Part 1: 154850773837774189 + Part 2: 33501351222065201672 + Part 2 % 2^64: 15054607148355650056 + +## Day 14 + +[Download 14.in (822B uncompressed)][14.in] + +* Iterated 100000 times + Solution: 30104 digits 2058072250...8302987714 + Solution % 2^64: 3612905615560025538 + Solution % 2^32: 4000851394 +* Iterated 200000 times + Solution: 60207 digits 2056018485...9950238903 + Solution % 2^64: 1164363483496783031 + Solution % 2^32: 1329798327 +* Iterated 1000000 times + Solution: 301031 2039661977...9465801772 + Solution % 2^64: 15865429992962593836 + Solution % 2^32: 459084844 + +## Day 15 + +* 1000x1000 cave map + [Download 15-1000.in.xz (412KiB compressed / 980KiB decompressed)][15-1000.in.xz] + Part 1: 5576 + Part 2: 27759 +* 10000x10000 cave map + [Download 15-10000.in.xz (41MiB compressed / 96MiB decompressed)][15-10000.in.xz] + Part 1: 55502 + Part 2: 277236 + +## Day 17 + +* `target area: x=117..7310, y=-9546..-89` + Part 1: 45558285 + Part 2: 69665558 +* `target area: x=50842..144383, y=-187041..-90458` + Part 1: 17492074320 + Part 2: 12490271023 + [3-1000001-100.in.xz]: https://the-tk.com/files/aoc2021-bigboys/3-1000001-100.in.xz [4-900-15.in.xz]: https://the-tk.com/files/aoc2021-bigboys/4-900-15.in.xz [4-3600-30.in.xz]: https://the-tk.com/files/aoc2021-bigboys/4-3600-30.in.xz @@ -113,3 +181,12 @@ Part 2 % 2^32: 4104032846 [9-4096-4.in.xz]: https://the-tk.com/files/aoc2021-bigboys/9-4096-4.in.xz [10-10000-1000.in.xz]: https://the-tk.com/files/aoc2021-bigboys/10-10000-1000.in.xz [10-10000-10000.in.xz]: https://the-tk.com/files/aoc2021-bigboys/10-10000-10000.in.xz +[11-100-2.in.xz]: https://the-tk.com/files/aoc2021-bigboys/11-100-2.in.xz +[11-1000-2.in.xz]: https://the-tk.com/files/aoc2021-bigboys/11-1000-2.in.xz +[12-18-9-7.in]: https://the-tk.com/files/aoc2021-bigboys/12-18-9-7.in +[12-18-10-7-2.in]: https://the-tk.com/files/aoc2021-bigboys/12-18-10-7-2.in +[12-21-12-7.in]: https://the-tk.com/files/aoc2021-bigboys/12-21-12-7.in +[12-24-14-7.in]: https://the-tk.com/files/aoc2021-bigboys/12-24-14-7.in +[14.in]: https://the-tk.com/files/aoc2021-bigboys/14.in +[15-1000.in.xz]: https://the-tk.com/files/aoc2021-bigboys/15-1000.in.xz +[15-10000.in.xz]: https://the-tk.com/files/aoc2021-bigboys/15-10000.in.xz -- cgit v1.2.3-54-g00ecf