aoc2021
solutions for advent of code 2021 (by tumdum)
aoc2021
Advent of Code 2021 (Elixir + Pygame) (by p88h)
aoc2021 | aoc2021 | |
---|---|---|
7 | 19 | |
4 | 15 | |
- | - | |
0.0 | 0.0 | |
over 2 years ago | about 2 years ago | |
Rust | Python | |
GNU Affero General Public License v3.0 | Apache License 2.0 |
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:
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 2022-12-06.
-
Me: "I'm going to learn rust for Advent of code!" Also me:
To be fair, compared to other years, only Elixir (last year) was more frustrating to learn than Rust (such that it does look like the picture above, due to many prototypes and all visualisation code being written in Python). I used Kotlin in 2020 and did Go for 2018 (though I didn't participate in that one live). I'm using C# this year, and all of these were simple enough that I didn't need to spend more time learning how to do things than actually doing them.
-
-๐- 2021 Day 25 Solutions -๐-
Plus Python visualisation
-
-๐- 2021 Day 24 Solutions -๐-
Python only today.
-
-๐- 2021 Day 23 Solutions -๐-
Elixir
-
[2021 Day 22][Pygame] The Cube(s)
Source
-
-๐- 2021 Day 22 Solutions -๐-
Elixir, Python 1708/791
-
-๐- 2021 Day 21 Solutions -๐-
Elixir, 167 ms on Part 2.
- -๐- 2021 Day 20 Solutions -๐-
-
-๐- 2021 Day 18 Solutions -๐-
Elixir 934/972 ; 5ms/100ms
-
[2021 Day 17][Pygame] Parabolic Probe Problem
Source
What are some alternatives?
When comparing aoc2021 and aoc2021 you can also consider the following projects:
adventofcode - Advent of code solutions
advent-of-code
AdventOfCode2021.jl - Advent of Code 2021 in Julia
BenchmarkDotNet - Powerful .NET library for benchmarking
advent-of-code - Advent of Code puzzles
AdventOfCode2022 - https://adventofcode.com/2022
deno_aoc - ๐ Advent of code solutions written in TypeScript for Deno.
aoc
aoc2018 - Advent of Code 2018 (Go)
aoc-2021-rust - Advent of Code 2021 in Rust
aoc21-alpha - Advent of Code 2021 in 25 different languages, alphabet soup edition
Advent-of-Code-2021 - Advent of Code 2021 in mcfunction