Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Andriamanitra/adventofcode2022

Repository files navigation

My solutions to Advent of Code 2022

I am mostly using Ruby this year. The primary solution for each day will be in a file called solution.rb inside the directory for that day. These solutions use a common base (from lib/base.rb) that imports some useful standard libraries by default and monkey patches a few methods. The base class implements reading input as a string from the input.txt (and example.txt if it exists) file, running the solution, and printing/formatting the output.

Some days may include additional implementations in other languages such as Haskell or whatever else I felt like writing that day.

Previous years:

  • 2017 (different language every day)
  • 2018 (various languages)
  • 2019 (julia)
  • 2020 (crystal)
  • 2021 (various languages)

AltStyle によって変換されたページ (->オリジナル) /