AdventOfCode2021_Julia
aoc
AdventOfCode2021_Julia | aoc | |
---|---|---|
3 | 21 | |
1 | 23 | |
- | - | |
0.0 | 9.3 | |
over 2 years ago | 4 months ago | |
Julia | C | |
GNU General Public License v3.0 only | - |
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.
AdventOfCode2021_Julia
-
[2021 Day: all of them] [Julia, Rust & C] Repo. Thank you for an amazing December of puzzles.
This has been a very fun year of puzzles. Looking forward to not having my alarm set for 05:45 in the morning any more. This year I've done everything in Julia to be fast (usually placed around 1000 for both parts), then trying to make nicer solutions in Rust later in the day, and then trying to make solutions in C, which this year meant that I would be implementing a Priority queue. The C repo is not quite complete. Missing a working solution for day 3 part 2 so far (Tried to be really big brain there, did not work out, and I haven't bothered going back yet), and day 23-25 is not yet completed. The rust repo should have working solutions for all days.
-
[2021 Day 12 Part 2] Has somebody found a sub 1s solution for part 2?
My part2_memo() solution here in julia runs in under 1ms timed with @btime.
-
-๐- 2021 Day 9 Solutions -๐-
After a bit of cleanup, mine is taking 230ยตs: https://github.com/MarcusTL12/AdventOfCode2021_Julia/blob/main/src/day9.jl
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.
What are some alternatives?
aoc2021 - Advent of code 2021 solutions, in varied languages
advent-of-code-typescript-starter - Typescript template in Node.js for Advent of Code event
Advent_of_Code_in_Pascal - My solutions to the Advent of Code, in Free Pascal
advent-of-code-jq - Solving Advent of Code with jq
advent-of-code
AdventOfCode - My Advent of Code solutions. I also upload videos of my solves: https://www.youtube.com/channel/UCuWLIm0l4sDpEe28t41WITA
adventofcode - Answers to Advent of Code
scamp-cpu - A homebrew 16-bit CPU with a homebrew Unix-like-ish operating system.
advent-of-code
AdventOfCode2021 - Solutions to all 25 AoC 2021 problems in Rust :crab: Less than 100 lines per day and under 1 second total execution time! :christmas_tree:
AlgorithmProblems - Solutions to Algorithm Problems :chart_with_upwards_trend: :neckbeard:
aoc-21 - Advent of Code 2021