1
1
mirror of https://github.com/theoludwig/advent_of_code_2023.git synced 2024-11-09 22:08:53 +01:00

docs: clean up instructions

This commit is contained in:
Théo LUDWIG 2023-12-01 13:26:19 +01:00
parent 88dbcbbc05
commit 0c6ebb6ad4
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B
2 changed files with 3 additions and 15 deletions

View File

@ -11,7 +11,7 @@ cd day_1
cargo run cargo run
``` ```
*Note:* The solutions are not necessarily optimized for performance or readability, but rather for completing the challenge successfully. **Note:** The solutions are not necessarily optimized for performance or readability, but rather for completing the challenge successfully.
## License ## License

View File

@ -2,19 +2,7 @@
Source: <https://adventofcode.com/2023/day/1> Source: <https://adventofcode.com/2023/day/1>
## Getting Started ## Instructions - Part 1
### Prerequisites
[Rust](https://www.rust-lang.org/) v1.74.0
### Run
```sh
cargo run
```
## Instructions
Something is wrong with global snow production, and you've been selected to take a look. The Elves have even given you a map; on it, they've used stars to mark the top fifty locations that are likely to be having problems. Something is wrong with global snow production, and you've been selected to take a look. The Elves have even given you a map; on it, they've used stars to mark the top fifty locations that are likely to be having problems.
@ -47,7 +35,7 @@ Your puzzle answer was `55130`.
**The first half of this puzzle is complete! It provides one gold star: `*`.** **The first half of this puzzle is complete! It provides one gold star: `*`.**
### Part Two ## Instructions - Part 2
Your calculation isn't quite right. It looks like some of the digits are actually **spelled out with letters**: `one`, `two`, `three`, `four`, `five`, `six`, `seven`, `eight`, and `nine` **also** count as valid "digits". Your calculation isn't quite right. It looks like some of the digits are actually **spelled out with letters**: `one`, `two`, `three`, `four`, `five`, `six`, `seven`, `eight`, and `nine` **also** count as valid "digits".