advent-of-code-2021
advent-of-code-2021
advent-of-code-2021 | advent-of-code-2021 | |
---|---|---|
1 | 16 | |
0 | 3 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | over 1 year ago | |
Rust | Zig | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
advent-of-code-2021
-
-🎄- 2021 Day 21 Solutions -🎄-
Rust: https://github.com/nj-vs-vh/advent-of-code-2021/blob/main/src/day21.rs At first I misread the second part and forgot that dice are thrown more than opce... Banged my head against the wall trying to figure out some clever way to iterate through possible move combinations. Also got sidetracked trying to solve the whole thing modulo 10. When I finally understood triple dice throw, it became feasible to brute-force the puzzle for distinct move values while keeping track of the number of universes this happens in. It's not too elegant but works in 2.5 seconds.
advent-of-code-2021
- 2015-2022: What solution to a problem are you the most proud of
- [2021 day 6] What's you're fastest solution?
-
[2021 Day 16] [Rust] A stupidly overbuilt solution (I even found a rustc ICE)
nice work! i had been trying to write zero alloc solutions when possible, but i had missed that it was possible on this one. here's my zig translation, it runs in about 15us on my m1 macbook / WSL 10850k. there are no iterators in zig so i had to write that myself, but i think my final solution reads reasonably well
- -🎄- 2021 Day 21 Solutions -🎄-
- -🎄- 2021 Day 20 Solutions -🎄-
- -🎄- 2021 Day 19 Solutions -🎄-
- -🎄- 2021 Day 18 Solutions -🎄-
- -🎄- 2021 Day 17 Solutions -🎄-
- -🎄- 2021 Day 16 Solutions -🎄-
- -🎄- 2021 Day 15 Solutions -🎄-
What are some alternatives?
AdventOfCode2021FSharp - Solutions for Advent of Code 2021 in F#
advent-of-code-2021-rust
advent-of-code-go - All 8 years of adventofcode.com solutions in Go/Golang; 2015 2016 2017 2018 2019 2020 2021 2022
swift-algorithms - Commonly used sequence and collection algorithms for Swift
Advent-of-Code - Advent of Code
aoc - Advent of Code - mscha's Perl 6 solutions
Advent_of_Code_in_Pascal - My solutions to the Advent of Code, in Free Pascal
advent-of-code-2021 - Code I used for solving https://adventofcode.com/2021
memoize - A method caching macro for elixir using CAS on ETS.
adventofcode2021 - Advent of Code 2022
advent-2021-kotlin - :christmas_tree: Advent of Code 2021: Solutions in Kotlin
advent-of-code - https://adventofcode.com/