After years of wanting to learn Rust, I decided to take advantage of a friendly competition at work to have fun and learn Rust. I typically went for the solution I thought I could implement the fastest without being overly hacky. The solutions are as is from when I wrote them, perhaps with a few minutes of tidying after. I went in with very little rust experience, just having attempted AoC for a week or two a few years back, but I started reading a lot of the docs and stack overflow. Rust hasn't been the fastest language to write, especially for early problems before I was comfortable with the syntax. However, it's been a lot of fun to write, tends to be fairly elegant, and its safety saved considerable time debugging. I've also really appreciated the performance in later problems. I never got on the global leaderboard, but came out having learned a significant amount of Rust and having had fun.
Day | Part 1: Time | Rank | Score | Part 2: Time | Rank | Score |
---|---|---|---|---|---|---|
25 | 00:12:30 | 344 | 0 | 00:12:44 | 299 | 0 |
24 | 10:49:36 | 6568 | 0 | 10:51:46 | 6245 | 0 |
23 | 00:58:46 | 1504 | 0 | 01:02:34 | 1366 | 0 |
22 | 01:09:27 | 1841 | 0 | 09:53:34 | 3563 | 0 |
21 | 00:24:21 | 2508 | 0 | 00:53:02 | 1556 | 0 |
20 | >24h | 15576 | 0 | >24h | 15132 | 0 |
19 | 01:30:32 | 814 | 0 | 01:43:13 | 591 | 0 |
18 | 00:09:46 | 1276 | 0 | 00:32:42 | 1025 | 0 |
17 | 01:02:00 | 1442 | 0 | 01:16:39 | 590 | 0 |
16 | 01:09:12 | 810 | 0 | 01:29:14 | 254 | 0 |
15 | 00:33:24 | 1762 | 0 | 01:04:00 | 1354 | 0 |
14 | 00:59:27 | 4499 | 0 | 01:10:35 | 4152 | 0 |
13 | 00:48:45 | 3425 | 0 | 00:58:04 | 3109 | 0 |
12 | 00:45:17 | 3322 | 0 | 00:49:06 | 2968 | 0 |
11 | 23:10:04 | 46891 | 0 | 23:14:21 | 39372 | 0 |
10 | 00:14:44 | 2354 | 0 | 00:42:01 | 4059 | 0 |
9 | 00:14:51 | 958 | 0 | 00:25:17 | 860 | 0 |
8 | 00:11:39 | 1158 | 0 | 00:28:30 | 1940 | 0 |
7 | 00:35:17 | 2720 | 0 | 00:52:04 | 3751 | 0 |
6 | 00:05:19 | 2258 | 0 | 00:05:55 | 1731 | 0 |
5 | 21:17:04 | 86703 | 0 | 21:57:04 | 85164 | 0 |
4 | 00:08:28 | 3622 | 0 | 00:12:26 | 3594 | 0 |
3 | 23:52:25 | 99600 | 0 | >24h | 143348 | 0 |
2 | 09:14:27 | 74600 | 0 | 09:17:57 | 68652 | 0 |
1 | 09:10:26 | 64729 | 0 | 09:13:46 | 61238 | 0 |