Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noxware/aoc-2023
My solutions for the advent of code 2023 until I get bored
https://github.com/noxware/aoc-2023
advent-of-code advent-of-code-2023 aoc-2023 rust rust-lang
Last synced: 2 days ago
JSON representation
My solutions for the advent of code 2023 until I get bored
- Host: GitHub
- URL: https://github.com/noxware/aoc-2023
- Owner: noxware
- Created: 2023-12-02T00:39:50.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-16T00:26:47.000Z (about 1 year ago)
- Last Synced: 2024-11-05T20:18:06.555Z (about 2 months ago)
- Topics: advent-of-code, advent-of-code-2023, aoc-2023, rust, rust-lang
- Language: Rust
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🌟🦀 aoc-2023 🦀🌟
## About
This repo contains my solutions for the [Advent of Code 2023](https://adventofcode.com/2023) written in Rust.
## Repo format example
- `d1p1.rs` is my main solution for day 1 part 1.
- `d1p2a1.rs` is another (alternative 1) solution for day 1 part 2.## Running a solution
To run a solution use `cargo run --bin d1p1` for day 1 part 1.
## Providing the puzzle input
Puzzle inputs are fetched automatically thanks to the [aocd](https://docs.rs/aocd/latest/aocd/)
crate. This is to avoid publishing inputs [as requested by the author of AoC](https://www.reddit.com/r/adventofcode/comments/18an94z/psa_dont_share_your_inputs_even_in_your_github/).Follow the instructions of `aocd` to set up your session token, necessary for
fetching your inputs.## Tests
To run tests use `cargo test`. For each day part, at least the public example
is tested but this don't cover edge cases. For debugging purposes or without
a particular reason there may be more tests.