aoc
AdventOfCode2021
Our great sponsors
aoc | AdventOfCode2021 | |
---|---|---|
21 | 49 | |
23 | 61 | |
- | - | |
9.3 | 2.6 | |
4 months ago | 4 months ago | |
C | Rust | |
- | MIT 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
-
[2016 all days] [C] Advent of Code 2016 in C
Personally I just stick to raw arrays for most days, usually with static storage (so pre-allocated). Keeps things simple! Here's my repo.
-
-π- 2022 Day 22 Solutions -π-
- C -
-
[2022 Day 21 (Part 2)] Well, that's a new one for me...
Here's my solution. Sorry, I did go a bit overboard making it compact.
-
[2022 Day 18] I'm the only one?
That was one heck of a tough day but also very satisfying. I spent quite some time working out a 3D rectangle splitting/merging algorithm on paper and then I had to go and implement that in C. It turned out pretty clean and idiomatic, if I may say so!
-
[2022 Day 12] Flood fill
This was my first attempt (or at least in a very long time) at generating video. Here I'm generating raw RGB frames in memory and writing them to ffmpeg, which works well enough but it's a little primitive.
-
[2022] Writing C solutions the way Dennis intended it
At 50 year sold and very stable, C must be one of the easiest languages to get working on old machines. Required just some of the polyfills I wrote back in 2020.
-
-π- 2022 Day 6 Solutions -π-
My original solution checked every character against every other character, which performed perfectly fine even for 14 chars, but it felt wrong.
-
-π- 2022 Day 4 Solutions -π-
- C -
-
-π- 2021 Day 25 Solutions -π-
First a straightforward solution with a double buffer, later realised you could do it in-place by just holding onto one value per row/column.
-
-π- 2021 Day 24 Solutions -π-
First wrote a short AWK program to convert the input to C and play with it while running a hopeless brute force attempt.
AdventOfCode2021
- [All years, all dates] Me after finishing all Advent of Code problems this year (my first year of AoC)
-
How to organize Rust code for Advent of Code puzzles?
I found this repository which solves the problem by having a src/main.rs file which basically calls cargo run --release {day} and parses the output to extract the time each day took, but I don't find this very satisfactory. I'd prefer to have everything compiled into the same executable, without having to run external commands.
-
Advent of Code: A suggestion for more advanced learners
You can always check out the problems from previous years.
-
Can I learn python in a month?
https://adventofcode.com/2021 for practice.
- C++ knowledge
- Prawda o Pracy
- O que Γ© o Advent Of Code?
- Knobelaufgaben fΓΌr C#
-
Practice exercises in c++
Here is 2021: https://adventofcode.com/2021
- Give Me a Program to Code
What are some alternatives?
advent-of-code-typescript-starter - Typescript template in Node.js for Advent of Code event
100-days-of-code - Fork this template for the 100 days journal - to keep yourself accountable (multiple languages available)
advent-of-code-jq - Solving Advent of Code with jq
adventofcode - My solutions to the Advent of Code challenges
AdventOfCode - My Advent of Code solutions. I also upload videos of my solves: https://www.youtube.com/channel/UCuWLIm0l4sDpEe28t41WITA
Advent-of-code - My solutions of adventofcode.com
scamp-cpu - A homebrew 16-bit CPU with a homebrew Unix-like-ish operating system.
AoC - my personal repo for the advent of code yearly challenge
AlgorithmProblems - Solutions to Algorithm Problems :chart_with_upwards_trend: :neckbeard:
advent-of-code - Advent Of Code Solutions
aoc-21 - Advent of Code 2021
aoc2021 - My solutions to Advent of Code 2021.