AOC
advent2021
AOC | advent2021 | |
---|---|---|
3 | 11 | |
2 | 3 | |
- | - | |
1.8 | 0.0 | |
over 2 years ago | over 2 years ago | |
C++ | Rust | |
- | BSD 2-clause "Simplified" License |
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.
AOC
- -๐- 2021 Day 8 Solutions -๐-
-
-๐- 2021 Day 7 Solutions -๐-
I'm not sure if it was strictly necessary to optimize this, but I implemented a binary search for the most efficient fuel value, and just swapped out the fuel calculation function for part two. https://github.com/BreadFish64/AOC/blob/master/AOC/treachery_of_whales.cpp
-
-๐- 2021 Day 5 Solutions -๐-
Nothing too fancy, I overloaded the stream in operator to read the lines from the files. Sadly the DrawLine function turned kinda ugly once I handled diagonals. https://github.com/BreadFish64/AOC/blob/master/AOC/hydrothermal_venture.cpp
advent2021
- -๐- 2021 Day 11 Solutions -๐-
- -๐- 2021 Day 10 Solutions -๐-
- -๐- 2021 Day 9 Solutions -๐-
- -๐- 2021 Day 8 Solutions -๐-
- -๐- 2021 Day 7 Solutions -๐-
- -๐- 2021 Day 6 Solutions -๐-
- -๐- 2021 Day 5 Solutions -๐-
- Code review AoC Day 4
-
-๐- 2021 Day 4 Solutions -๐-
Rust: Ouch, this one is slow https://github.com/jeremylt/advent2021/blob/main/src/day04.rs 552.623ยตs (Std Dev 32.275) locally, repl currently has some issue with an older version of Rust, so timings are WIP
-
-๐- 2021 Day 3 Solutions -๐-
Ugly but somewhat fast code: https://github.com/jeremylt/advent2021/blob/main/src/day03.rs 46.497ยตs (std dev 5.506) locally, 117.632ยตs (std dev 25.638) on repl.it
What are some alternatives?
aoc2021 - Advent of Code, edition 2021, in Python
advent-of-code-kotlin - Advent of code 2021 - Kotlin
aoc-2021 - Advent of Code 2021 with C#/LINQ
Advent-of-Code - My solutions or attempts at solutions to the Advent of Code event.
aoc2021 - Advent of Code 2021 on my homemade 16-bit CPU SCAMP
aoc2021 - Advent of code 2021 in JS
AoC - my personal repo for the advent of code yearly challenge
advent-of-code - My Advent of Code submissions. For 2021 and before, these are the original code I used, without any modifications after-the-fact. As such, they are probably not as efficient or short as they should be, because I want a working solution faster, not a better solution. For 2022 and after, these are the solutions uploaded to my YouTube channel.
adventofcode - adventofcode.com solutions
advent - ๐ My Advent of Code solutions
adventofcode - Solutions for problems from AdventOfCode.com
adventofcode