-
TypeScript Easy puzzle to cross the half the mark, while it took me sometime to figure out how to solve it without creating a large two dimensional array, I wonder how much time it takes for Eric Wastl to create so perfect precise puzzle inputs, thank you again.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
-
-
GitHub
-
-
Racket
-
C# 1143/1092
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
TypeScript
-
Link to full solution
-
Python solution.
-
Python 1358/999
-
-
Perl Quick and simple with hash instead of table; Stupid mistake to start with last instruction instead of first (pop/shift) on stage 1 took like 10 minutes...
-
Rust
-
Numpy makes this relatively trivial. Python
-
Python + "AOCR" + complex numbers.
-
Go, 2400/1659
-
Common Lisp. Pretty ugly, I could have merged fold-left and fold-up and the printing logic leaves something to be desired
-
-
Python 3 (1896/2316)
-
-
-
Full code at https://github.com/petertseng/adventofcode-rb-2021/blob/master/13_transparent_origami.rb
-
adventofcode-hs-2021
Solutions to https://adventofcode.com/2021 (all but day 23, unlikely to add day 23 due to lack of interest)
Full code at https://github.com/petertseng/adventofcode-hs-2021/blob/master/bin/13_transparent_origami.hs
-
Parts 1 & 2
-
-
I had to refer to your answer. My solution (https://github.com/LXSMNSYC/aoc-2021/blob/main/13/solution.js) was missing a single dot for who knows what reason but it was able to plot the map correctly.
-
Glad the folds were always right in the middle
-
-
Full solution here.
-
-
I was using a hash at first in my Ruby solution then rewrote to use a Set: https://github.com/Sharparam/advent-of-code/blob/main/2021/13/solve.rb
-
-
-
Python. I always write test cases for the sample and my input, so I can debug and refactor. Today was interesting because we assert against strings rather than ints in part 2!
-
Advent-of-Code
My solutions for Advent of Code [2015, 2016, 2020, 2021, 2023, 2024] (by MartinSeeler)
Python 3, <1ms runtime
-
Raku 3695/5712 because 23 of the 34 minutes I spent on part two were spent tilting my head trying to interpret the strange letter forms instead of switching the order of my for loops so the letters looked like they were printed on a single portrait-orientation letter page rather than on a dot matrix printer with accordion paper. Probably another three minutes were spent trying to understand what the heck "Eight capital letters" meant and why there was no stated part 2 output for the part 1 input.
-
Python 3
-
-
-
-
Raku solution. Particularly fond of the rendering part :-)
-
My solution in Python. Part 1 was pretty easy to do with sets. For Part 2, I just printed to console and put in the letters. :D
-
-
-
Rust: Day 13
-
-
-
-
Nice! This was basically the same as my solution, but mine was much more verbose.
-
-
Haskell 4063/4935
-
-
-
Here's the still ugly code for part 1: https://github.com/domm/advent_of_code/blob/main/2021/13_1.pl
-
JavaScript solutions on GitHub
-
aoc2021
Discontinued Advent of code 2021 [GET https://api.github.com/repos/oleg-prikhodko/aoc2021: 404 - Not Found // See: https://docs.github.com/rest/repos/repos#get-a-repository] (by oleg-prikhodko)
javascript solution using console.table to display the result
-
code
-
https://github.com/GilCaplan/AdventCode/blob/Advent2021/Javasolutions/day13solution.java
-
What a funny coincidence that not only my solution for today is pretty close to yours, but also the kind of utility functions (just had a quick look into your repo) we gathered so far (even the Matrix type, which I named Map2d) are very similar :D
-
C# solution, this day is the day when my code for the first part returns the correct value for the second part! Secret is that I didn't read that I need numbers of dots after the first fold and I did print results out of curiosity. But it works!
-
For every problems there is a numpy function that solves it, (in this case the flip function) : GitLab
-
Rust unstable
-
Enjoyed today's one, short and sweet
-
-
-
Today was very easy to do with Eigen
-
-
-
-
Another Raku solution, see GitHub.
-
-
Simple python solution: GIT Link
-
aoc-2021
Discontinued Advent of Code 2021 [Moved to: https://github.com/TenViki/advent-of-code] (by TenViki)
Today was much easier then yesterday (at least for me). Visualization of it is here. Source code: https://github.com/TenViki/aoc-2021/tree/main/13
-
-
(time (print-dots (do-folds folds dots))) => 9.84 msec running on babashka
-
GitHub/CameraManual.java
-
Go
-
-
-
Elixir, with OCR included [not or letters are supported, but not all letters can be expressed in 4x6 font in a legible way]
-
-
-
Scala. Today was surprisingly easy; just had to map over my grid (which was a Set[(Int, Int)], so it handled removing old points). Hardest part for me was printing out for part 2. It was printing vertically for some reason until I switch my x and y coordinates.
-
-
Full file (90% is input parsing and output printing): https://github.com/CallumHutchison/AdventOfCode2021/blob/master/lib/day13/day13.ex
-
Ruby solution using complex numbers
-
Python day 13 solutions (GitHub). Using Dataclasses to improve readability
-
-
-
advent-of-code-2021
Discontinued Code I used for solving https://adventofcode.com/2021 (by pavel1269)
-
-
-
Using a fairly obscure language known as Rockstar, which it deliberately made to allow the source code to look more... poetic.
-
-
That was my approach: Rust code
-
-
Kotlin -> https://github.com/calebwilson706/AOC2021/blob/master/2021KotlinSolutions/src/main/kotlin/Day13.kt
-
GitHub Solution
-
Python 3 with NumPy
-
It lives on Github and I made a visualization.
-
adventofcode
My collection of Advent of Code solutions in a slightly overkill project setup 🙃👻 (by marcelblijleven)
-
F#:
-
code on github
-
Advent-of-Code-2021
Made it through all 25 days of Advent of Code for the second time! (by Leftfish)
Python - two alternative solutions (lines 25-65 and 68-106, not including the parser)
-
Really short solution: https://github.com/abaptist-ocient/Aoc2021/blob/main/src/bin/13alt.rs
-
Boring PHP solution, part 2 :
-
Python 3
-
Kotlin
-
Go! https://github.com/bozdoz/advent-of-code-2021/blob/main/13/thirteen.go
-
Please see my repository for the solution or this tweet.
-
Rust
-
F# with Jupyter Notebook.
-
-
-
Github
-
C++
-
-
Advent-of-code-2021
Discontinued C solutions to AoC 2021 [GET https://api.github.com/repos/rprtr258/Advent-of-code-2021: 404 - Not Found // See: https://docs.github.com/rest/repos/repos#get-a-repository] (by rprtr258)
C is horrible
-
-
-
Here's my day late solution in python: https://github.com/frenchytheasian/2021AdventOfCode/tree/master/day13
-
-
Catching up once again. Here's the Clojure source (no tests this time... but here's the parsing source. Here's how I ran it at the REPL:
-
-
AdventOfCode2021
Advent of Code 2021 challenge: 13 different languages, one chosen at random every day! (by Qualia91)
-
advent-of-code-go
All 10 years of adventofcode.com solutions in Go/Golang (and a little Python); 2015-2024
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives