Files
swaits 78ff09fcad chore: repoint remaining links at git.swaits.com
Rewrites lingering github.com / *.sr.ht references to this Gitea instance,
translating GitHub and Sourcehut URL shapes to Gitea's (/blob/<ref>/ and
sr.ht /tree/<ref>/item/ -> /src/branch/<ref>/, /tree/<tag> -> /src/tag/<tag>,
/actions/workflows/X -> /actions?workflow=X, /edit/ -> /_edit/).

Left pointing at the old hosts on purpose: pull-request links (PRs were not
migrated), forks that were never migrated, and GitHub-only surfaces Gitea
lacks. OpenPGP identity proofs are untouched by design.
2026-08-31 18:32:11 -06:00

54 lines
1.4 KiB
Markdown

# Advent of Code 2023 Solutions
## Overview
This repository contains my personal solutions to the Advent of Code 2023
challenges, a series of programming puzzles that cover a variety of skill sets
and problem-solving techniques.
## Building and Running
This project is developed in Rust, and you can build, test, and run it like any
standard Rust project using Cargo.
```bash
git clone https://git.swaits.com/swaits/aoc2023
cd aoc2023
cargo run -- ARGUMENT
```
Where `ARGUMENT` can be:
- A specific day number (e.g., 1, 2, 25) to run the solution for that day's challenge.
- all to execute all the implemented solutions sequentially.
Running ...
```cash
cargo test
```
... will run all the tests for all the days, which include both the example
inputs and outputs provided in each day's problem description as well as my
personal user-specific inputs and accepted outputs.
## Implementation
Each dayXX.rs file within the project represents the solution to the problem
for that specific day of the Advent of Code.
### Error Handling
The program is designed to panic in case of errors. However, such scenarios are
unlikely as tests cover both the example inputs/outputs provided in the problem
descriptions and my user-specific data inputs/outputs.
## License
This project is licensed under the MIT License.
## Contact
For any queries regarding this project, feel free to contact me at
[steve@waits.net](mailto:steve@waits.net).