summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2021-12-07 22:56:34 +0000
committerTomasz Kramkowski <tk@the-tk.com>2021-12-07 22:56:34 +0000
commitc5f73ef5a3c1458db83fee388ebdbeb749973b52 (patch)
tree289b5554d31a5561bb7403a8b99e4416845c991e
parenta1ff506a7b26eee66646b39e612b2bca86c7a590 (diff)
downloadthe-tk.com-c5f73ef5a3c1458db83fee388ebdbeb749973b52.tar.gz
the-tk.com-c5f73ef5a3c1458db83fee388ebdbeb749973b52.tar.xz
the-tk.com-c5f73ef5a3c1458db83fee388ebdbeb749973b52.zip
aoc2021-bigboys: day 7
-rw-r--r--content/projects/aoc2021-bigboys.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/content/projects/aoc2021-bigboys.md b/content/projects/aoc2021-bigboys.md
index 5f9c734..a3297e7 100644
--- a/content/projects/aoc2021-bigboys.md
+++ b/content/projects/aoc2021-bigboys.md
@@ -55,9 +55,19 @@ them up nicely.
Solution: 2539031 digits 3060363545...5483141435
This took my numpy solution (with dtype=object) 10 minutes on a 5950x.
+## Day 7
+
+* 1000000 crabs
+ [Download 7-1000000-2.in.xz (3.1MiB compressed / 7.2M decompressed)][7-1000000-2.in.xz]
+ Part 1: 348121442862
+ Part 2: 97051441111920642
+ Note: This should be doable in about a second. Unfortunately making it take
+ much longer would require making it much bigger.
+
[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
[5-20000-6400.in.xz]: https://the-tk.com/files/aoc2021-bigboys/5-20000-6400.in.xz
[5-50000-10000.in.xz]: https://the-tk.com/files/aoc2021-bigboys/5-50000-10000.in.xz
[5-50000-10000000.in.xz]: https://the-tk.com/files/aoc2021-bigboys/5-50000-10000000.in.xz
+[7-1000000-2.in.xz]: https://the-tk.com/files/aoc2021-bigboys/7-1000000-2.in.xz