Advent_of_Code
These are my solutions to the Advent of Code puzzles. These are some of my first Python scripts, so please manage your expectations. :^) (by Nomen-Heroum)
adventofcode
Gok's Advent of Code Repo (by gokberkkocak)
Advent_of_Code | adventofcode | |
---|---|---|
4 | 3 | |
0 | 1 | |
- | - | |
0.0 | 4.1 | |
over 2 years ago | 8 months ago | |
Python | Rust | |
- | - |
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 2021-01-21.
-
I wrote a small blog on using F# for Advent of Code 2020. Conclusion: it was a lot of fun!
This made me think about how to make my own Python solution more elegant. It was one of the earlier things I wrote in Python, and I've done almost every AoC year since! I've refactored it and switched to using complex numbers, I think it turned out pretty well. Here's the code for both parts.
-
2020 Day 20 Solutions
Here's my own solution, if you're interested: https://github.com/Nomen-Heroum/Advent_of_Code/blob/master/2020/day20.py
On a vaguely related note, I decided to finally commit my solutions to GitHub! Here is my day 20 solution, cleaned up and commented to death for your reading convenience.
-
-🎄- 2020 Day 22 Solutions -🎄-
Mine went down from 20062 to 16881 recursive calls, here's my code (also Python 3). Just add a global CALLS before line 7 and global CALLS; CALLS += 1 before line 17 in the if block to count the function calls.
adventofcode
Posts with mentions or reviews of adventofcode.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-11.
-
-🎄- 2021 Day 12 Solutions -🎄-
Hmm, interesting! I'm definitely not getting the input on compile time either. I'm using a function in my util mod to either get it from the web (for the first time and store it) or read from a file (I did the flamegraph not on the first run). I see you are using std::fs::read_to_string to read your file. I'm using another method to read the files in a similar way but also use a BufReader in the middle of it. I'm not sure if it can make that of a difference but that seems like the only difference considering the rest of the parsing looks similar with iter/map stuff.
-
-🎄- 2020 Day 22 Solutions -🎄-
RUST
-
2020 Day 21 Solutions
Rust
What are some alternatives?
When comparing Advent_of_Code and adventofcode you can also consider the following projects:
Advent-of-Code - C# solutions for Advent of Code puzzles
advent-of-code-2020 - 🎅🌟❄️☃️🎄🎁
AoC2020 - Programs for Advent of Code 2020
advent-of-code-2020
adventofcode.com
advent-of-code-2020-jq - Solving Advent of Code with jq [Moved to: https://github.com/odnoletkov/advent-of-code-jq]
advent-of-code - 🎄 This is my set of awesome solutions for the Advent of Code puzzles
advent-of-code
advent-of-code-2020 - Solutions for Advent of code
Advent_of_Code vs Advent-of-Code
adventofcode vs advent-of-code-2020
Advent_of_Code vs AoC2020
adventofcode vs advent-of-code-2020
adventofcode vs adventofcode.com
adventofcode vs advent-of-code-2020-jq
adventofcode vs advent-of-code
adventofcode vs advent-of-code
adventofcode vs advent-of-code-2020