Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ef55/advent-of-code

My solutions to advent of code 2022
https://github.com/ef55/advent-of-code

Last synced: 10 days ago
JSON representation

My solutions to advent of code 2022

Awesome Lists containing this project

README

        

# Advent of code 2022

## Kézako?
More info [here](https://adventofcode.com/2022/about).

## Structure
Most (if not all) solutions use the same [skeleton](src/Template.sc).
To summarize it:
- An input parsing function;
- One function for each (of the two) questions;
- Some assertions testing the provided test case(s) (inputs are [here](tests));
- Some prints for the solution (inputs are [here](inputs))

## How to run
Written in Scala 3, built with [scala-cli](https://scala-cli.virtuslab.org/).
```
scala-cli run src/DayXX.sc
```