Commit graph

50 commits

Author SHA1 Message Date
4710909b98 Add aoc crate that reads file from input argument; use it in the day01 crate 2022-12-19 19:26:10 +00:00
545463c40c Remove "num" crate dependency for day11 2022-12-19 19:19:15 +00:00
6840790ae3 Day 14 crate 2022-12-19 19:19:00 +00:00
0a80d9b0a3 Move day7.py to day07.py 2022-12-19 09:46:46 -08:00
098b10c431 Move Day 10 to its own crate 2022-12-19 09:45:53 -08:00
b423f76ddc Day 13, Part 2! 2022-12-19 08:48:32 -08:00
6425b969a1 Day 13, Part 1! 2022-12-18 11:54:36 -08:00
51d2ee871c Add leading 0s to the single digit day crates 2022-12-17 19:56:03 -08:00
a81545a012 Day 12, Part 2! 2022-12-16 23:53:07 +00:00
d38ba1dd25 Day 11, Part 1!
Dijkstra's algorithm. Copied heavily from the Rust docs for its BinaryHeap.
2022-12-16 23:40:36 +00:00
7bceb932c6 Day 12: example and input files 2022-12-16 20:03:21 +00:00
c7a8c7efa0 Empty Day 12 crate 2022-12-16 19:44:55 +00:00
2a5bb55bee Day 11, parts 1 + 2 2022-12-16 07:56:58 -08:00
dafb8e35b4 Move Day 9 to its own crate 2022-12-16 00:34:33 +00:00
f6793c685e Move Day 8 to its own crate 2022-12-16 00:30:33 +00:00
c2243baf17 Add geometry crate with Point and Direction 2022-12-16 00:30:11 +00:00
c04c7adfd2 Move Day 6 to its own crate 2022-12-16 00:14:34 +00:00
b905d7f7fd Move Day 5 to its own crate 2022-12-16 00:09:42 +00:00
bb4dd6fb41 Move Day 4 to its own crate 2022-12-16 00:03:43 +00:00
937530e605 Move Day 3 to its own crate 2022-12-16 00:00:54 +00:00
c993f95278 Remove day1.rs from the original crate 2022-12-15 23:55:35 +00:00
fb3fbddb1f Move Day 2 to its own crate 2022-12-15 23:55:22 +00:00
2a932235cc Move Day 1 to its own crate 2022-12-15 23:51:46 +00:00
9dfd195bb6 Move Data files to data inside the crate 2022-12-15 19:22:04 +00:00
241533a70b Updated Cargo.toml and .lock 2022-12-15 08:55:32 -08:00
3653930b22 Day 10, parts 1 + 2! 2022-12-15 08:55:05 -08:00
441e71e4f6 Add day10 artifacts 2022-12-14 17:06:31 -08:00
81ce406018 Comment out day8 because of build errors 2022-12-14 17:06:10 -08:00
a6c6a8d6ec Grid module updates as of day9 2022-12-14 17:05:55 -08:00
2ce2edca0d Day 9, parts 1 + 2! 2022-12-14 16:55:27 -08:00
5335b160cd Comment out day 7 code -- still does not work 2022-12-13 08:21:37 -08:00
106ec700ef Day 8, Parts 1 + 2! 2022-12-13 08:21:25 -08:00
ea5d557f0b Day 7, Parts 1 + 2
Doing this one in Rust kicked my ass. I fought with the compiler for three
days and never was able to figure out the borrows and pointers.

I gave up yesterday and wrote up a solution in Python. Maybe I'll come back to
it one day.
2022-12-10 08:17:20 -08:00
59156832c7 Day 6, Parts 1 + 2! 2022-12-06 09:06:21 -08:00
cbfada47ff Re-do command line arguments to only run specified days 2022-12-06 07:40:14 -08:00
2251854f9c RustFmt on all the things 2022-12-05 20:57:32 -08:00
7bee28bdf6 Day 5, Part 2! 2022-12-05 20:15:58 -08:00
dbc711e50d Day 5, Part 1! 2022-12-05 18:17:25 -08:00
3b46147c27 Tweak the solutions to days 1, 2, and 3 2022-12-04 17:53:40 -08:00
846cfe0da6 Day 4! 2022-12-04 17:53:20 -08:00
501706b863 Day 3, Part 2 2022-12-04 07:49:27 -08:00
3886b55a4f Simplify day3 2022-12-02 22:20:31 -08:00
1f605618e8 Day 3, Part 1 2022-12-02 22:09:40 -08:00
00944b19b6 Day 2 solution! 2022-12-02 08:31:30 -08:00
4cd7570ba9 Refactor file handling to file.rs 2022-12-02 08:31:20 -08:00
46b058d619 Day 1, Part 1! Gold star! 2022-12-01 13:56:25 -08:00
8572c088dd Add basic Rust project at 2022/aoc2022 2022-12-01 13:12:18 -08:00
13deda84b3 Ignore target/ directories 2022-12-01 13:11:50 -08:00
273b24d020 Add day1-input.txt 2022-12-01 13:11:30 -08:00
9797d32d85 Initial commit 2022-12-01 13:00:53 -08:00