advent-of-code
Advent-of-code
advent-of-code | Advent-of-code | |
---|---|---|
6 | 25 | |
2 | 27 | |
- | - | |
6.6 | 0.0 | |
5 months ago | over 1 year ago | |
Rust | Nim | |
- | - |
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
-
-🎄- 2021 Day 22 Solutions -🎄-
Rust GitHub. My approach is to go through all cuboids and always remove their intersection with all previously added cuboids. Then, If it is a "on" cuboid it is added to the list of cuboids. This way no cuboids will overlap and I can sum all their volumes in the end.
-
-🎄- 2021 Day 19 Solutions -🎄-
Rust GitHub. Kinda ugly brute force solution which runs in ~10 sec.
-
-🎄- 2021 Day 18 Solutions -🎄-
Rust GitHub. This took me much longer that I care to admit. I started with a tree-based solution, tried a list, went back to tree and the back to the list again...
-
-🎄- 2021 Day 6 Solutions -🎄-
Rust GitHub
-
2020 Day 21 Solutions
GitHub.
-
2020 Day 20 Solutions
Rust GitHub. This took a very long time to solve, and the code is not very nice looking.
Advent-of-code
- -🎄- 2022 Day 11 Solutions -🎄-
- -🎄- 2022 Day 9 Solutions -🎄-
-
-🎄- 2022 Day 6 Solutions -🎄-
Wow, almost identical to mine: https://github.com/MichalMarsalek/Advent-of-code/blob/master/2022/Nim/day6.nim
- -🎄- 2022 Day 4 Solutions -🎄-
- -🎄- 2022 Day 3 Solutions -🎄-
- -🎄- 2022 Day 2 Solutions -🎄-
-
[2021] [Nim] Nim is Beautiful + All days in < 130ms
This year I was writing two sets of solutions in Nim. The first one focuses on idiomatic, nice and short and readable Nim. The other focuses purely on speed. The combined running times of the fast solutions is 130 ms. Please let me know if you have any tips on how to make my solutions more simple and/or idiomatic.
- -🎄- 2021 Day 19 Solutions -🎄-
- -🎄- 2021 Day 18 Solutions -🎄-
-
-🎄- 2021 Day 15 Solutions -🎄-
Beautiful Nim! My solution is actually very similar.
What are some alternatives?
aoc2021 - My solutions for the 2021 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:
Advent-of-Code - My solutions for the Advent of Code puzzles (work in progress).
aoc2021 - Solutions to Advent of Code 2021
AdventOfCode2021
Wren - The Wren Programming Language. Wren is a small, fast, class-based concurrent scripting language.
AdventOfCode2021.jl - Advent of Code 2021 in Julia
CSpydr - A static typed low-level compiled programming language inspired by Rust and C
adventofcode - :christmas_tree: Advent of Code (2015-2023) in C#
AdventOfCode_2022_Rust
adventofcode - Solutions for problems from AdventOfCode.com