advent-of-code
By asciiphil
aoc2020
Advent of Code 2020 (by ednl)
Our great sponsors
advent-of-code | aoc2020 | |
---|---|---|
17 | 13 | |
- | 0 | |
- | - | |
- | 0.0 | |
- | 6 months ago | |
C | ||
- | 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.
advent-of-code
Posts with mentions or reviews of advent-of-code.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-06.
-
-❄️- 2023 Day 6 Solutions -❄️-
My solution in Common Lisp.
-
[2022 Day 16] Cave Layout in Graphviz (potential spoilers)
Dot file generated by my code and then run through fdp from Graphviz.
-
[2022 Day 12] Elevation Shading
Just a simple relief-shaded image like you might find on a map. Principally generated with GDAL. The particular commands used are at the bottom of my solution code for the day. I also made a more flat version, which shows the elevation colors better, but really doesn't feel right in terms of elevation.
-
[2022 Day 9 (Part 2)] Pulling an Elastic Rope
The code is written in Common Lisp using Cairo and ffmpeg. https://gitlab.com/asciiphil/advent-of-code/-/blob/master/2022/09.lisp
-
-🎄- 2021 Day 24 Solutions -🎄-
So I spend more time analyzing the input calculation. I wrote up that analysis and committed it to my repository, too.
-
-🎄- 2021 Day 14 Solutions -🎄-
This was a bit difficult. My original part one solution worked completely differently to what I had to do for part two.
-
-🎄- 2021 Day 12 Solutions -🎄-
My solution in Common Lisp, 2335/2041.
-
-🎄- 2021 Day 11 Solutions -🎄-
No. It's just here, as part of my Advent of Code repository.
-
[2021 Day 9] Cave Floor Relief Map
The code is at the bottom of my day 9 source file, in Common Lisp. (The AdvMAME3x code was something I originally wrote for my 2020 day 20 visualization.)
-
-🎄- 2021 Day 4 Solutions -🎄-
As a side note, I took inspiration from a post the other day about adding AoC badges to your repository README file. I use GitLab, which lets you define badges as properties of your repository. So I added badges to my repository's header area, driven by a JSON file in the repository. The JSON file is updated manually by a script. (I might add some automated updates at some point, but manual works okay for now.)
aoc2020
Posts with mentions or reviews of aoc2020.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-06.
-
Need help finding good python solutions
I got all but one star in 2020 when I did it in Python: https://github.com/ednl/aoc2020 but I'm afraid there may be some short variable names despite not doing it for speed.
-
2015-2022: What solution to a problem are you the most proud of
I liked my solution for https://adventofcode.com/2020/day/17 Game of Life in 3D and 4D: https://github.com/ednl/aoc2020/blob/main/day17.py
-
2020 Day 8.2 in Python - trying to figure out how to do this efficiently?
Day 8 runs in 0.02 s using python 3.9 on my M1 Mac Mini. Just flipping in part 2, no special optimisation. My code: https://github.com/ednl/aoc2020/blob/main/day08.py
-
[2020] [Rust] Solving Advent of Code 2020 in under a second
Yep, linked above, or: https://github.com/ednl/aoc2020/blob/main/day15.c
- [2020 Day 17] Breaking Day 17's Game of Life to extreme levels, with interactive visualizations and demos
-
[2020 Day 6 (Part 2)][C] Works on example but not on puzzle input. Can't figure out why.
Good that you got it working! My version in C is a bit shorter, perhaps you could use some ideas for the next puzzles? I like the dynamically sized getline() function, for instance: https://github.com/ednl/aoc2020/blob/main/day06.c
-
Day 3 AoC
Here is my C version with lots of built-in checks: https://github.com/ednl/aoc2020/blob/main/day03.c
-
[2020] Optimized solutions in C++ (291 ms total)
Day 23 part 2 in 0.06 s on a dual core 1.3 GHz i5 Haswell (2013 MB Air) https://github.com/ednl/aoc2020/blob/main/day23.c because of a simple array as a linked list.
-
[2020 Day *][C99] Computers are fast: AoC 2020 in < 2s, including compile time
Day 23 part 2 (1 million cups, 10 million moves) runs in 0.06 s on my 2013 dual core Haswell i5 1.3 GHz. Main reason is a super fast simulated linked list via a pre-allocated array of integers. Source https://github.com/ednl/aoc2020/blob/main/day23.c
-
-🎄- 2020 Day 24 Solutions -🎄-
Thanks to /u/thomasahle for encouraging me to implement axial coordinates, which made it a lot easier. Also thought of a better way to parse the input in one go. And this allowed me to tighten up the grid dimensions. Runs in under a second on a very old laptop, half of which is because of the scipy import ... https://github.com/ednl/aoc2020/blob/main/day24alt2.py
What are some alternatives?
When comparing advent-of-code and aoc2020 you can also consider the following projects:
AdventOfCode - My Advent of Code solutions. I also upload videos of my solves: https://www.youtube.com/channel/UCuWLIm0l4sDpEe28t41WITA
AdventOfCode2020
AdventOfCode2020 - My solutions for Advent Of Code 2020
AOC2020
hac - HAC Ada Compiler - a small, quick Ada compiler fully in Ada
Advent-of-Code-2021
advent-of-code-2020 - :christmas_tree: My Advent of Code solutions in Rust. http://adventofcode.com/2020
advent2020 - Advent of Code 2020
AoC-2020-solutions - My Python solutions to Advent of Code 2020!
dyalog-apl-extended - Dyalog APL Extended
Advent-of-Code-2k20
advent-of-code vs AdventOfCode
aoc2020 vs AdventOfCode2020
advent-of-code vs AdventOfCode2020
aoc2020 vs AOC2020
advent-of-code vs AdventOfCode2020
aoc2020 vs hac
advent-of-code vs Advent-of-Code-2021
aoc2020 vs advent-of-code-2020
advent-of-code vs advent2020
aoc2020 vs AoC-2020-solutions
advent-of-code vs dyalog-apl-extended
aoc2020 vs Advent-of-Code-2k20