Here is a collection of my Advent of Code submissions.
All of my solutions are written entirely in Rust and are my own work with no hints.
----Part 1------ -----Part 2-----
Day Time Rank Time Rank Start Time
25 02:58:49 3081 02:59:08 2572 00:00
24 00:31:09 480 02:15:17 964 00:00
23 01:17:04 2888 02:25:18 1740 00:54
22 02:05:14 2775 02:15:26 2217 00:40
21 00:12:25 1109 03:47:08 1807 00:00
20 01:37:18 2944 >24h 12876 00:30
19 00:44:29 3017 01:19:27 1462 00:00
18 00:27:56 1429 03:09:14 3759 00:00
17 01:40:48 2343 02:15:59 2407 00:30
16 00:27:31 1358 00:33:20 1191 00:00
15 00:07:20 2449 00:31:17 2315 00:00
14 00:08:32 829 00:48:55 1732 00:00
13 01:38:38 6401 01:45:48 4673 00:00
12 01:51:28 6588 04:04:54 4039 00:00
11 16:43:41 35983 16:56:04 33954 16:28
10 00:45:29 2840 01:29:02 1516 00:00
9 02:13:52 12488 02:21:28 12147 01:53
8 00:11:01 2697 01:14:06 5930 00:00
7 00:48:16 5283 01:49:30 7686 00:00
6 01:12:13 13564 01:19:00 13019 00:45
5 00:19:24 1232 01:31:07 2992 00:00
4 01:42:02 18398 01:53:21 14031 01:26
3 14:12:01 60208 14:29:37 50082 13:55
2 16:34:44 85233 16:40:06 80910 15:58
1 13:17:42 104479 14:00:19 71691 12:48
----Part 1------ -----Part 2-----
Day Time Rank Time Rank
25 00:12:55 1180 00:13:00 979
24 00:21:01* ---- 02:53:47* ----
23 00:06:10* ---- 00:51:02* ----
22 00:05:50* ---- 00:42:42* ----
21 03:45:23 3124 next day ----
20 00:16:49* ---- 00:31:50* ----
19 00:22:47* ---- 00:26:36* ----
18 00:09:20* ---- 00:13:30* ----
17 00:18:07* ---- 02:06:25* ----
16 01:03:51* ---- 01:26:50* ----
15 00:10:31 145 01:20:47 1806
14 00:14:19 1200 00:39:54 1356
13 00:15:30* ---- 01:06:53* ----
12 00:17:15* ---- 00:35:09* ----
11 00:06:44* ---- 00:15:55* ----
10 00:15:01* ---- 00:15:50* ----
09 00:21:51* ---- 00:48:55* ----
08 00:30:36 4251 00:30:45 2705
07 00:14:24 2519 00:21:13 2449
06 00:09:30* ---- 00:20:08* ----
05 00:22:27* ---- 00:31:49* ----
04 00:11:41* ---- 00:24:28* ----
03 00:08:30* ---- 00:18:15* ----
02 00:06:00* ---- 01:18:54* ----
01 00:18:45 6329 00:22:08 5565
* Time measured from the start of coding, rank not available. Due to prior commitments
Each year is in its own subdirectory under the root and is its own crate.
For the file layout, library files are contained in src
and each day and its corresponding input is stored in src/bin
. Each day is a two digit number representing the date plus the .rs
extension. Each input is the same but with the .txt
extension.
Ensure you have the Rust toolchain installed for your computer (visit rustup.rs for more info).
Each day is its own binary application, using the date number to represent each day,
run either cargo test --bin 13
to test day 13 for example. Or cargo run --bin 13
to run day 13.