GitXplorerGitXplorer
d

advent-of-code-18

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
4b64d9f26dbd64422764096ef378c0b62ee8cf2a

14 pt 2

ddavidgovea committed 2 years ago
Unverified
7a1f32eda80b99b55eaf8c82bb43f5deb1d4d8f8

14 pt 1

ddavidgovea committed 2 years ago
Unverified
d7bd97caba810133903c8768cab756578a1af566

13 pt 2

ddavidgovea committed 2 years ago
Unverified
c38dc305152c72e5818bdfeff837b58aa5715668

13 pt 1

ddavidgovea committed 2 years ago
Unverified
d8330b728c679ccedef267698aaf08d67b4a0ed0

12 pt 2

ddavidgovea committed 2 years ago
Unverified
acca51c726d57bfe4e7b01afeb048f253886ad21

refactor

ddavidgovea committed 2 years ago

README

The README file for this repository.

Advent of Code (very incomplete, of course!)

Working through the AoC 2018 challenges in Rust. The contest is already over, which means there are a lot of existing solutions to refer to.

The project structure is heavily inspired by BurntSushi's solutions -- I like the separate-crate-per-challenge structure, and the method of feeding the input text via stdin.

The structure of the main() functions was taken from this reddit tip -- I'm liking -> Result recently -- the function_returning_result()? question-mark operator is great.

Running

To run a solution, cd into its directory and invoke the program with Cargo:

$ cd aoc01
$ cargo run --release < input.txt

2018 progress

2018 Results

Day Part 1 Part 2
Day 1
Day 2
Day 3
Day 4
Day 5
Day 6
Day 7

2019 progress

2019 Results

Day Part 1 Part 2
Day 1
Day 2
Day 3
Day 4
Day 5
Day 6

2020 progress

2020 Results

Day Part 1 Part 2
Day 1
Day 2
Day 3
Day 4
Day 5
Day 6
Day 7
Day 8
Day 9
Day 10

2022 - new approach!

Went with a template this year - the crate-per-challenge approach is nice but kinda boilerplatey. Wanted to jump into latest Rust version, so I am using: https://github.com/fspoettel/advent-of-code-rust

2022 Results

Day Part 1 Part 2
Day 1
Day 2
Day 3
Day 4
Day 5
Day 6
Day 7
Day 8
Day 9
Day 10
Day 11
Day 12
Day 13
Day 14