1
0
Fork 0

Solve day 1

This commit is contained in:
Lars Martens 2023-12-01 11:50:28 +01:00
commit 646925298c
Signed by: haselkern
GPG key ID: B5CF1F363C179AD4
9 changed files with 316 additions and 0 deletions

21
README.md Normal file
View file

@ -0,0 +1,21 @@
# Advent Of Code 2023
My solutions for [Advent Of Code](https://adventofcode.com) 2023.
## Usage
This project uses [`just`](https://github.com/casey/just) . For some commands to work a session token needs to be provided in the `AOC_SESSION` environment variable. The easiest way to set it is to create the file `.env` with `AOC_SESSION=your token` inside in the root of this repository. The token can be received by reading the session cookie from the AOC website.
Download the puzzle input, create a file for the current day and open it in RustRover:
```shell
just begin # Prepare the current day
just day=09 begin # Prepare day 9
```
Run:
```shell
just # Runs the current day
just day=09 # Runs day 9
```