aoc2021
solutions for advent of code 2021 (by tumdum)
adventofcode
Advent of Code challenge solutions (by flwyd)
aoc2021 | adventofcode | |
---|---|---|
7 | 59 | |
4 | 6 | |
- | - | |
0.0 | 8.5 | |
over 2 years ago | 4 months ago | |
Rust | Julia | |
GNU Affero General Public License v3.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
aoc2021
Posts with mentions or reviews of aoc2021.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-23.
-
-๐- 2021 Day 24 Solutions -๐-
my rust solution:
-
-๐- 2021 Day 23 Solutions -๐-
my rust solution - runs in ~650ms. All it does is explore all possible move sequences that obey game rules. Ordered by increasing total cost.
-
-๐- 2021 Day 21 Solutions -๐-
Thanks! In the meantime, I was able to slash the runtime in half by using a faster hash (fxhash) for the cache.
-
[2021] My aim is for all of this years solutions to be sub 1s in total. So far so good.
Same here $ cargo run --release -- --skip-output Finished release [optimized + debuginfo] target(s) in 0.02s Running target/release/aoc21 --skip-output Day 01 took 10.008ยตs to compute (with i/o: 146.55ยตs) Day 02 took 9.355ยตs to compute (with i/o: 87.184ยตs) Day 03 took 82.134ยตs to compute (with i/o: 155.095ยตs) Day 04 took 52.834ยตs to compute (with i/o: 240.457ยตs) Day 05 took 673.742ยตs to compute (with i/o: 776.801ยตs) Day 06 took 1.306ยตs to compute (with i/o: 7.122ยตs) Day 07 took 33.248ยตs to compute (with i/o: 55.737ยตs) Day 08 took 984.71ยตs to compute (with i/o: 1.00838ms) Day 09 took 883.739ยตs to compute (with i/o: 922.913ยตs) Day 10 took 19.062ยตs to compute (with i/o: 126.791ยตs) Day 11 took 398.191ยตs to compute (with i/o: 400.35ยตs)
-
-๐- 2021 Day 10 Solutions -๐-
rust
-
-๐- 2021 Day 9 Solutions -๐-
my rust day9:
-
-๐- 2021 Day 5 Solutions -๐-
my rust solution for day5:
adventofcode
Posts with mentions or reviews of adventofcode.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-09.
-
-โ๏ธ- 2023 Day 10 Solutions -โ๏ธ-
Code on GitHub is currently a mess.
-
[2023 Day 5] Exlplanation Like I'm 5
In the spirit of the Day 5 ALLEZ CUISINE! challenge to ELI5 (Explain Like I'm Five), here's a tasty explanation of how my algorithm works using only a large bucket of Red Vines and a knife. It says to use lined paper, but if you try this at home consider aligning things on a cutting board.
-
-โ๏ธ- 2023 Day 4 Solutions -โ๏ธ-
[Language: Jsonnet] (on GitHub)
- -๐- 2022 Day 25 Solutions -๐-
-
-๐- 2022 Day 24 Solutions -๐-
Elixir code, thoughts
-
-๐- 2022 Day 23 Solutions -๐-
Elixir 1554/1502 code, reflections
-
-๐- 2022 Day 21 Solutions -๐-
Elixir 2506/3402 (24 minutes, 2 hours), code, thoughts
-
-๐- 2022 Day 20 Solutions -๐-
Bonus solution in Go (golang) because I was confused about why my Elixir solution didn't work and decided to implement from scratch in case I'd done something dumb. The Go one also got the wrong answer, but took less than 100ms instead of a minute, so I could try out lots of tweaks that didn't change the answer.
-
-๐- 2022 Day 19 Solutions -๐-
Elixir 2031/2641 after 3.25/6.5 hours! Code on GitHub
-
-๐- 2022 Day 18 Solutions -๐-
I spent time this afternoon sprucing up my helpers for the iex REPL. I spent a bunch of time poking at things in IEx the last couple days and wanted to make sure I would minimize keystrokes if I needed to debug things on my phone while drunk. Turns out Thursday night > Friday night > Saturday night in terms of difficulty, so all those macros have so far saved me zero seconds :-)
What are some alternatives?
When comparing aoc2021 and adventofcode you can also consider the following projects:
adventofcode - Advent of code solutions
adventofcode - Solutions for problems from AdventOfCode.com
AdventOfCode2021.jl - Advent of Code 2021 in Julia
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
advent-of-code - Advent of Code puzzles
aoc2021 - Advent of Code 2021 - my answers
deno_aoc - ๐ Advent of code solutions written in TypeScript for Deno.
aoc2021 - Advent of Code 2021 on my homemade 16-bit CPU SCAMP
rockstar - The Rockstar programming language specification
Advent-of-Code - Advent of Code
aoc2021 vs adventofcode
adventofcode vs adventofcode
aoc2021 vs AdventOfCode2021.jl
adventofcode vs adventofcode
aoc2021 vs advent-of-code
adventofcode vs aoc2021
aoc2021 vs deno_aoc
adventofcode vs AdventOfCode2021.jl
adventofcode vs aoc2021
adventofcode vs rockstar
adventofcode vs Advent-of-Code
adventofcode vs adventofcode