advent-of-code
Advent-of-code
advent-of-code | Advent-of-code | |
---|---|---|
3 | 25 | |
1 | 27 | |
- | - | |
3.7 | 0.0 | |
5 months ago | over 1 year ago | |
Common Lisp | Nim | |
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.
advent-of-code
-
[2022 Day 22 (Part 2/3)] Solving generally without hardcoding
In my code I represented a quaternion as a four element list, and it can encode a 3D rotation around an axis. I wrote the basic functions for working with them almost straight from Wikipedia. There's only really four functions in my solution that use the basic functions: frame-forward, turn, rc-to-cube, and net-direction.
-
-🎄- 2021 Day 18 Solutions -🎄-
I spent a long time on this on Sunday but really enjoyed it. I've linked the code for the day above but I've split off the library functions into my general AoC repository, they're in zipper.lisp maybe.lisp and a couple of functions in monad.lisp.
-
-🎄- 2021 Day 4 Solutions -🎄-
I've been writing the parsing functions in a utility library for Advent of Code as I worked through all of the stars. The parser is here https://github.com/blake-watkins/advent-of-code/blob/main/parser.lisp
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?
AdventOfCode - My solutions for all years of Advent of Code in Python 3 and Rust
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:
adventofcode - Solutions for problems from AdventOfCode.com
aoc2021 - Solutions to Advent of Code 2021
adventofcode - Advent of code solutions
Wren - The Wren Programming Language. Wren is a small, fast, class-based concurrent scripting language.
adventofcode - Advent of Code challenge solutions
CSpydr - A static typed low-level compiled programming language inspired by Rust and C
aoc2021 - Advent of Code 2021, this time in Go
AdventOfCode_2022_Rust
Advent-of-Code - Advent of Code
AdventOfCode2021