-🎄- 2022 Day 10 Solutions -🎄-

This page summarizes the projects mentioned and recommended in the original post on /r/adventofcode

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • advent-of-code

    Advent of Code (by morgoth1145)

  • Oh I see, I suppose it's semantics but I personally wouldn't call that OCR (there is nothing optical about it). You are just matching against data file: https://github.com/morgoth1145/advent-of-code/blob/d0cbb184e281c01d2e43e372b435d38973509064/lib/ocr.py

  • AoC

    my personal repo for the advent of code yearly challenge (by Fadi88)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • adventofcode

    Advent Of Code 2018 - 2021 (by nsmaciej)

  • Same boat! I've been really enjoying Clojure. For AoC specifically, I think it strikes a good balance between practicality and terseness.

  • advent-of-code

  • advent-of-code-ocr

    Convert Advent of Code ASCII art (by bsoyka)

  • The OCR is based on the number of active pixels for each column. The letter "E" has 6 lit pixels in the first column, 3 pixels in the 2nd and 3rd column and 2 pixels in the last column. By looking at the character list (thanks bsoyka on github!) I could craft a lookup table. The four integers will be shifted and added together to get a single integer. The 6,3,3,2 is transformed to 6<<0 + 3<<2 + 3<<4 + 2<<6 = 194 (the bits overlap, I know, but there are no collisions). The index of 194 in this magic list is 4. By adding 65 (ascii value of 'A') I can get the actual character with chr().

  • advent-of-code-2022

    My solutions to Advent of Code 2022 problems (by juanplopes)

  • 14 lines of Python.

  • advent-of-code

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • Advent-of-Code

    A repository holding all of my solutions to Advent of Code problems (by Noble-Mushtak)

  • Python 3, 28th on star 1 and 29th on star 2, both parts are <=20 lines of code. Main thing which is notable is that I used "\u2588" instead of # symbols and spaces instead of periods, made the capital letters much easier to read. I also have my solutions in this GitHub repo.

  • advent-of-code-2022

    actually publishing my solutions now that they're not redundant...

  • Advent-Of-Code-2022

    Solutions to Advent Of Code 2022 in Rust. (by C2thehris)

  • adventofcode

    Python solutions to Advent of Code puzzles, https://adventofcode.com/ (by fuglede)

  • Python3, full code on GitHub

  • aoc-2022

    Solutions for Advent of Code 2022 (by kupych)

  • Elixir - 3167/1926

  • advent-of-code-TS

    Advent of Code solutions for [2022, 2023] written in Typescript

  • Typescript 1 & 2

  • AdventOfCode2022

  • advent-of-code

    My solutions for Advent of Code (all years!) (by nthistle)

  • Python, 4338/2391. Video coming eventually, code.

  • adventofcode

    Advent of Code solutions (by jzhang113)

  • Ruby 3638/2800: Code

  • AdventOfCodeHaskell

    solutions to advent of code problems (by c-coward)

  • Haskell. Both parts are one liners, I add a no op before every addx to avoid skipping cycles, and using a 2D point data type (that I custom implemented based on Linear.V2 for named fields) makes handling the data a breeze!

  • advent-of-code

    Advent of Code (by joeledwards)

  • Scala: solutions

  • advent-of-code

    Advent of Code solutions written in Java (by zodac)

  • Off-by-one errors driving me mad today! Github

  • AdventOfCode2022

  • Advent of Code finally made me create a Github account. My solution is here if someone is interested. As a solo dev, I never really needed one, I just used Git. If there is something obvious I'm doing wrong, I'm open for feedback. I'll remove the hard-coded file paths and add my extensions once I have some time.

  • advent-of-code-2022

  • Erlang

  • Advent-of-Code

    Advent of Code (by michaeljgallagher)

  • 2343 / 2119

  • advent-of-code-2022

  • Pretty happy with the final code but not with how I got there. Python 3 - GitHub. Bonus meme: you can even navigate to my initial version that doesn't even print out part 2 correctly, but correctly enough to see the answer.

  • adventofcode

    My solutions for https://adventofcode.com/ programming mini puzzles - written mostly as sjasmplus script (to exercise the tool and collect ideas for future development of the script language, not because it's a best choice for the task, quite opposite) (by ped7g)

  • U++ (C++ GUI/RAD framework) day 10 solution at github

  • ultimatepp

    U++ is a C++ cross-platform rapid application development framework focused on programmer's productivity. It includes a set of libraries (GUI, SQL, Network etc.), and integrated development environment (TheIDE).

  • U++ (C++ GUI/RAD framework) day 10 solution at github

  • aoc2022lisp

  • aoc2022

    advent of code (by codingismy11to7)

  • yeah, one of the few where my solutions aren't one- or two-liners calling shared code

  • AoC

    Advents of Code in NASM x86_64 assembly (by JustinHuPrime)

  • Part 1 and part 2 were both implemented as interpreters directly interpreting the assembly code. This was the first time where we absolutely had to deal with negative numbers, so I had to write a parser that was cool with negative numbers, and an output formatter that was also okay with negative numbers (mainly for debugging). (I should add ascii-to-signed-long to the common library.) Unfortunately, I'm not willing to do OCR using assembly, so I printed out the result as pixels and manually translated that into ASCII characters. The core evaluator between the two parts was quite similar - the only difference was what happens during the cycle. With part 1, I had to sum up certain cycles. With part 2, I had to add characters to an array.

  • hatchery

    Various incubating projects that i lay on to keep warm (by quat1024)

  • Rust. any day I can use strip_prefix to parse something is a good day

  • advent-of-code

    My advent of code solutions (by ailac22)

  • both parts

  • aoc2022

    🎄 (by jenarvaezg)

  • adventofcode

    :christmas_tree: Advent of Code (2015-2023) in C# (by encse)

  • advent2022

    My solutions for advent of code 2022 (by RuedigerLudwig)

  • Well, generators can be your friend in Python, and I think this is fairly nice

  • advent-of-code

    Advent of Code solutions in JS (by leyanlo)

  • aoc-2022

  • Rust

  • aoc2022

  • aoc-go

    Advent of Code - Go edition 🐿 (by hkennyv)

  • aoc-2022

    My solutions in Rust for Advent of Code 2022 (by jasonincanada)

  • No opportunities to be fancy or clever today in the code, basic looping with a few mutables: https://github.com/jasonincanada/aoc-2022/blob/main/day_10/src/main.rs

  • adventofcodesolutions

  • python3.10 Got off by one errors while keeping track of cycles, so i decided to just delete it

  • aoc

    Advent of Code (by camwebb)

  • (This is the first one I golfed. The rest are here)

  • advent22

    Advent of Code 2022

  • Part 1

  • adventofcode

    Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala (by sim642)

  • My Scala solution.

  • advent-of-code-2022

  • Kotlin

  • advent-of-code

    Advent of Code solutions (by sonu27)

  • aoc_2022

  • Python

  • AdventOfCode

    Advent of Code repo & framework (by EricEzaM)

  • Pretty simple - no frills. https://github.com/EricEzaM/AdventOfCode/blob/main/src/AdventOfCode/Y2022/D10/Y2022D10.cs

  • adventOfCode

  • C#

  • advent-of-code

    My attepmts at ruby solutions for advent of code (by jwhite-bh)

  • ruby

  • advent-of-code-2022

    Solutions for Advent of Code 2022, written in JavaScript using node.js (by johnbeech)

  • advent-2022

    https://adventofcode.com/2022 (by tudorpavel)

  • AOC2022

  • jmurmel

    A standalone or embeddable JVM based interpreter/ compiler for Murmel, a single-namespace Lisp dialect inspired by Common Lisp

  • Murmel:

  • aoc

    advent of code (by apparentorder)

  • aoc22

    advent of code 2022 | typescript (by ze-kel)

  • advent-of-code-ts

    My solutions to AoC puzzles in Typescript (by rogisolorzano)

  • advent-of-code

  • Enjoyed today's puzzle - here's my solution in Scala 3

  • advent-of-code-2022-no-imports-python3

    advent of code in python without importing any libraries

  • Python https://github.com/gmorinan/advent-of-code-2022-simple-python/blob/main/day10/day10.py

  • aoc

    Advent of Code (by ramuuns)

  • AdventOfNim

    My Advent of Code solutions written in Nim

  • My Nim solution using an iterator to run the commands: Github

  • adv2022

    Advent of code 2022

  • AdventOfCode2022

  • advent-of-code-2022

    My solutions to Advent of Code 2022. (by MrSimbax)

  • Lua: both parts

  • aoc2022

    Advent of Code 2022 (by korreman)

  • Rust

  • aoc2022

    Discontinued Advent of Code 2022 (by ednl)

  • Yay, embedded software engineering!! :) Short, fast & almost no memory needed in C: https://github.com/ednl/aoc2022/blob/main/10.c or the relevant bits:

  • aoc2022

  • advent-2022

  • Rust

  • advent-of-code

    Advent of Code 2021 (by TenViki)

  • advent-of-code-julia

  • Julia. For part 1 there is no need to save the value for each cycle but this is necessary for part 2.

  • aoc2022

    Advent of Code 2022 - my answers

  • Kotlin https://github.com/DDihanov/Advent-Of-Code-2022-Kotlin/blob/master/src/main/kotlin/day10/Day10.kt pretty easy today, the key was the % module operator

  • adventofcode

    Advent of Code challenge solutions (by flwyd)

  • Code and commentary posted, including a boolean Raster struct with on and off properties so you can play with things like showing the answer as ANSI color patterns or thematic emoji:

  • AdventOfCodeHaskell

    Advent of Code in Haskell

  • Haskell (full code here):

  • AdventOfCode

  • in rust, easy one !

  • solutions

    🧠 Solutions of different problems in different languages (by win0err)

  • My Golang solution: https://github.com/win0err/solutions/tree/master/adventofcode/2022/10-cathode-ray-tube

  • advent-of-code

  • Julia https://github.com/DarthGandalf/advent-of-code/blob/master/2022/day10.jl

  • aoc-2022-ts

    Advent of Code 2022 in TypeScript (by sergivillar)

  • Advent-of-Code-2022

    Solutions for Advent of Code 2022 written in Kotlin (by patrick-elmquist)

  • AoC2022

    My solutions to Advent of Code 2022 https://adventofcode.com/2022 (by PetchyAL)

  • aoc22

    Advent of Code 2022 Solved with Haskell! Criticism welcome! (by blaz-kranjc)

  • Haskell

  • aoc2022

  • Full code here.

  • advent-of-code

    C++ solutions of advent of code (by onewings)

  • C++ solutions by OneWings

  • adventofcode

    my golang solution to adventofcode (by Catorpilor)

  • day10 My solution is in Golang. I solved the problem by using a prefix-sum array and binary search. It was so much fun.

  • Advent-of-Code

    A collection of my solutions for "Advent of Code" (by Nuhser)

  • advents-of-code

    🎄🎁 Solutions for the yearly advent of code challenges

  • AdventOfCode

    Hacky solutions for [Advent of Code](https://adventofcode.com), working on past problems (by AllanTaylor314)

  • Python and Google Sheets

  • advent-of-code-2022

  • Python, but it looks like a Java programmer wrote it.

  • fish-shell

    The user-friendly command line shell.

  • Turned the input into JavaScript (using Fish) by replacing noop with cycle() and addx with cycle(); cycle(); x+=, and then executing it.

  • advent-of-code

    My solutions to Advent of Code. 🎄🌟 (by tchojnacki)

  • F#

  • aoc2022-25-in-25

    Advent of Code in 25 languages

  • Bash

  • adventofcode

    :christmas_tree: C#/.Net7 library for the Advent of Code problems (by FaustVX)

  • horrible-advent-of-code-2022

    Doesn't everybody love C++ metaprogramming?

  • C++ template metaprogramming: https://github.com/xicalango/horrible-advent-of-code-2022/blob/main/day10.cc

  • AoC2022

    Solutions to the Advent of Code (AoC) 2022 (by gequalspisquared)

  • advent-of-code

    aoc-2022 (by keidarcy)

  • beginner golang solution

  • aoc_2022_hs

  • Haskell

  • advent-of-code

    Solutions to the Advent of Code puzzles in various languages (by dhruvmanila)

  • aoc-2022

    Advent of Code 2022 in Rust (by fdouw)

  • Rust

  • AoC

  • julia github

  • aoc2022

  • Golang : on Github

  • advent-of-code

    Solutions to Advent of Code in Elixir, Ruby (by jbordoe)

  • Elixir on github

  • aoc2022

  • aoc2022

    Trying to solve Advent of Code 2022 in 25 different languages (1 day = 1 language) (by GoldsteinE)

  • aoc2022

    Advent of Code, this time in Deno (by danvk)

  • AdventOfCode2022

    My solutions to Advent of Code 2022 (by willkill07)

  • Letter OCR Header --- Source --- Header

  • AdventOfCode

  • Unit tests are here.

  • advent-of-code-2022

    Advent of Code solutions. (by tobyaw)

  • Advent-of-Code-2022

  • code

  • AdventOfCode2022

  • GitHub

  • AoC2022

    Advent of Code 2022 (by krizotto)

  • >> code here <<

  • LEARN__Coding-Practices-and-Datastructures

    Daily Coding Practices, Data structures, otherwise testing and some stuff. (Some garbage/some stuff)

  • Javascript/NodeJs: Part1, Part2

  • advent-of-code

    My solutions to the Advent of Code (by aaronreidsmith)

  • Scala using tail recursion. Not the prettiest, but it works

  • AoC2022

    Solutions to Advent of Code 2022 puzzles. (by SwampThingTom)

  • AdventOfCode

  • c# day 10

  • AdventOfCode2022

    Advent of Code 2022 done in Ruby (by SolarBear)

  • Advent_Of_Code_2022

    My solutions to AoC 2022 (by PBearson)

  • Part 1

  • advent_of_code_2022

  • Elixir

  • aoc_2022

    Advent of code. Spoilers alert. (by korjavin)

  • advent-of-code-2022

  • Typescript one-liners solution

  • aoc2022

    Advent of Code 2022 (by agranlund)

  • Assembly (MC68000)I made the Elf-asm input program part of my source and just let it run to generate a trace of the x register.https://github.com/agranlund/aoc2022

  • AdventOfCode

    My solutions to the Advent of Code puzzles. (by kemmel-dev)

  • C# (link)

  • advent-of-code

    My advent of code solutions (by osipxd)

  • Kotlin

  • aoc2022

  • Advent-Of-Code-2022

    My solutions for Advent Of Code 2022. Every day is written in another language, chosen randomly. (by Jomy10)

  • It's not pretty, at all, but here it is in PHP.

  • AdventOfCode

    My Advent of code solutions (by s-prechtl)

  • Not quite happy about the getSprite() fucnction, but i was too lazy to refactor it. Anyways here's my Solution

  • adventofcode

    Advent of code solutions (by mathsaey)

  • advent-of-code-2022

  • AOC_2022_10

    Advent of Code 2022 Day 10

  • Python 3

  • advent-of-code

    Advent of Code solutions (by tkocmathla)

  • github

  • advent-of-code

  • Javascript solution

  • aoc2022

  • aoc22

    Advent of Code 2022 (by callrbx)

  • Rust Combined the parts, but it runs at ~11us

  • AdventOfCode

    Collection of all Advent of Code Challenges (by Saiberion)

  • Advent_of_Code_2022

    Solutions to Advent of Code 2022 (by neelakantankk)

  • My solution: Not particularly troublesome today, even given my beginner level of Rust. Modeled the display as a Vec of Vecs.

  • aoc_2022

  • My Rust solution. Definitely got stung by the off by ones doing this one! :)

  • advent-of-code-2022

    Program synthesis / metaprogramming solutions to AOC 2022 (by nathanbabcock)

  • Typescript + Tesseract.js OCR: screenshot and source code.

  • aoc-2022

    Advent of Code 2022 journey with Rust (by jokr-1)

  • My todays Rust solution. :)

  • adventofcode

    My advent of code solutions - https://adventofcode.com (by pengi)

  • aoc2022

    Advent of Code 2022 - if I have time lol (by jabis)

  • Just as a comparison my code runs in day10: 1.999ms but is not as pretty :)

  • advent-of-code

    Advent of Code! (by peckb1)

  • Kotlin Day 10

  • adventofcode_2022

  • AdventofCode2022

    My answers for Advent of Code 2022 (by poesraven8628)

  • Common Lisp: https://github.com/poesraven8628/AdventofCode2022/blob/main/10-signal.lisp

  • adventofcode

    Advent of Code (by ciocan)

  • advent-of-code

  • My Python solution. I'm okay with what I came up with from a maintainability perspective

  • AoC2022

  • Day10 spaghetti

  • advent_of_code_2022

  • AdventOfCode2022

    My solutions for Advent of Code 2022 (by bettercallsean)

  • C# Day 10

  • aoc2022

    Advent of Code 2022 solutions in Lua! (by crnkofe)

  • Advent-of-Code

  • Swift. Algorithms had me covered for Part 2, but I had to make something for Part 1 that would allow for getting the elements of a Sequence based on sorted offsets, without having to start from the beginning each time.

  • learning_tasks

  • Rust

  • advent-of-code

    Advent of Code puzzles (by KT421)

  • adventofcode.com_game_2022

    https://adventofcode.com/2022/about

  • The first part only

  • AoC2022

  • Proud of this one! C# Repo

  • advent-of-code

    My solutions for the Advent of Code. (by cherryblossom000)

  • Full code

  • AOC-2022

  • Swift: Repo

  • aoc2022

    My Advent of Code 2022 solutions! (by SourishS17)

  • advent_of_code_2022

    Advent of code 2022 (by HendrikPetertje)

  • advent-of-code-2022

    Solutions to the puzzles in the advent of code 2022 (by haschdl)

  • Typescript

  • aoc2022

    Advent of code 2022 (by MarcusDunn)

  • Kotlin

  • adventofcode2022

    Advent of Code solution for 2022 (by schoelle)

  • Rust

  • AoC2022

    Merry Christmas, y'all !!! (by tobstern)

  • aoc-22

    Here are my solutions for the Advent of Code 2022 (by rogue-kitten)

  • C++: - Part 1 - Part 2

  • advent-of-code-solved

    My advent of code, in jq…

  • part 1

  • Misc-DSA-Practice

  • Straightforward Python solution.

  • Dlang solution. For part 2 I initially thought that the X register contains values exceeding 40, so I kept appending pixels to the CRT while comparing them to the sprite, and in the end I printed the string in chunks of 40. Only later did I realize my mistake

  • advent-of-code-2022

    Joel Eisner's completed TypeScript code challenges for "Advent of Code" 2022 (by joeleisner)

  • AdventOfCode

  • My solution in C#: https://github.com/thomasqbrady/AdventOfCode/blob/master/2022/day10/Program.cs

  • adventofcode

    Solutions for Advent of Code (by tipa16384)

  • Here's the solution code; the full code is at github

  • Advent-of-Code-2022

    My solutions for the 2022 Advent of Code in a mix of MATLAB and Python3 (by mourneris)

  • Part 1 (Snippet) [Full Code on Github]

  • AdventOfCode2022

  • yet another C# solution.

  • Advent-of-Code-2022-Scala

    Attempting Advent of Code 2022 using Scala 3

  • Scala solution for part 1: https://github.com/dredly/Advent-of-Code-2022-Scala/blob/main/src/main/scala/day10.scala

  • Source at gitlab

  • Sources of visualization

  • advent

    advent of code (by jasontconnell)

  • adventofcode

    adventofcode.com solutions (by linl33)

  • AdventOfCode2022CSharp

  • C# solution using .NET Interactive and Jupyter Notebook. Created an IEnumerable that yield returns the register value during the cycle (made the mistake of returning the value at the end of the cycle at first). Then used LINQ on the Enumerable to solve Part 1 and 2.

  • Advent22

    Advent Of Code 2022 Solutions (by FlowerBoy-SkullGirl)

  • Haskell

  • a2tools

    Stuff I write for my Apple //c

  • So, I've done day 10 a little bit late, because I spent day 10 reorganizing my repo and starting some kind of "helper libs" to make development easier on the Apple //c: serial helper, input helper, my very own "bool array" that I did for day 9, sender tool, receiver tool.

  • aoc-2022

    Advent of Code 2022 in Rust (by litpho)

  • advent_of_code_2022

    Golang solutions for Advent Of Code 2022 (by Nikscorp)

  • advent-of-code

    My (incomplete) solutions to the Advent of Code yearly challenges. (by Chrinkus)

  • Lots of opportunities to go off-by-one here. On a side note I figured out the 'include' problems that I thought I fixed the previous day. That story and the code are found at my repo.

  • AdventofCode

    Advent of Code (by aaftre)

  • advent_of_code

    Solutions to programming puzzles on Advent of Code (by Praful)

  • Full code on github.

  • adventofcode

    My solutions to the Advent of Code challenges (by djotaku)

  • AdventOfCode

    My own solutions of Advent of Code to practice programming languages. (by nazarpysko)

  • Go: Check my solutions implementations here.

  • aoc

  • Rust: https://github.com/satylogin/aoc/blob/main/2022/day_10.rs

  • aoc

    KlongPy Advent of Code (AoC) solutions (by briangu)

  • Code 10b

  • adventofcode2022

  • Here is the github to the solution i didnt split it in two functions this time cause i didnt need to

  • advent_of_code_2022

    Advent of code 2022 challenge (by pirosbogar)

  • Code on github.

  • advent-of-code-go

    All 8 years of adventofcode.com solutions in Go/Golang; 2015 2016 2017 2018 2019 2020 2021 2022

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • -🎄- 2022 Day 8 Solutions -🎄-

    208 projects | /r/adventofcode | 7 Dec 2022
  • -🎄- 2022 Day 9 Solutions -🎄-

    195 projects | /r/adventofcode | 8 Dec 2022
  • -❄️- 2023 Day 11 Solutions -❄️-

    145 projects | /r/adventofcode | 10 Dec 2023
  • -🎄- 2022 Day 18 Solutions -🎄-

    74 projects | /r/adventofcode | 17 Dec 2022
  • [2022] 25 Different Languages Challenge, completed

    4 projects | /r/adventofcode | 26 Dec 2022