diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2021-12-07 22:56:16 +0000 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2021-12-07 22:56:16 +0000 |
commit | a1ff506a7b26eee66646b39e612b2bca86c7a590 (patch) | |
tree | 074b081f9df4e6d43fda2f65a13d30b3b3d7f069 /content | |
parent | 6eb53a75231279bf293895af2a0a0794c1b2e23d (diff) | |
download | the-tk.com-a1ff506a7b26eee66646b39e612b2bca86c7a590.tar.gz the-tk.com-a1ff506a7b26eee66646b39e612b2bca86c7a590.tar.xz the-tk.com-a1ff506a7b26eee66646b39e612b2bca86c7a590.zip |
day 6: extra bigboy
Diffstat (limited to 'content')
-rw-r--r-- | content/projects/aoc2021-bigboys.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/content/projects/aoc2021-bigboys.md b/content/projects/aoc2021-bigboys.md index c142371..5f9c734 100644 --- a/content/projects/aoc2021-bigboys.md +++ b/content/projects/aoc2021-bigboys.md @@ -51,6 +51,9 @@ them up nicely. * The example sequence `3,4,3,1,2` after 9999999 cycles Solution: 378346 digits 4182599183...6707352532 +* The example sequence `3,4,3,1,2` after 67108864 (2^26) cycles + Solution: 2539031 digits 3060363545...5483141435 + This took my numpy solution (with dtype=object) 10 minutes on a 5950x. [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 |