Source Code: https://github.com/mic-max/advent/tree/master/2023
I participated the most I ever had in this event. The vast majority of my December midnights were spent hitting `F5` as the clock struck midnight and prepared for a problem solving programming adventure.
I got 30/50 stars. I didn't score any points, which is ever harder with each passing year since you need to be in the 100 to get the correct answer. My best showing was a 989th place on Day 12's Part 1.
My fastest Part 1 took 7 minutes and 32 seconds on Day 15.
My fastest Part 2 took 24 minutes and 11 seconds on Day 6.
The latest I stayed up to solve one was until 3:05 AM on Day 20.
```text
--------Part 1-------- --------Part 2--------
Day Time Rank Score Time Rank Score
20 02:27:04 4013 0 03:05:26 2467 0
19 21:54:25 21038 0 - - -
16 13:19:40 19848 0 13:32:43 18764 0
15 00:07:32 2538 0 00:48:18 4129 0
14 00:49:31 6247 0 - - -
13 00:44:33 3523 0 01:50:01 4815 0
12 00:22:00 989 0 - - -
11 00:20:00 2086 0 00:34:41 2685 0
9 00:24:22 4808 0 00:31:52 4800 0
8 02:13:17 16497 0 13:59:58 35769 0
7 00:46:38 5045 0 01:22:39 5719 0
6 00:20:55 7008 0 00:24:11 5772 0
5 14:56:06 53368 0 - - -
4 00:26:50 9407 0 01:09:37 10332 0
3 00:29:28 3021 0 01:13:16 5458 0
2 01:11:23 12589 0 01:16:28 11687 0
1 00:13:48 6448 0 00:59:39 6760 0
```
## Tips
When coding your solution on release day or otherwise, commit your code once you get the answer for a part. Then it makes it so much easier to refactor later or even just to remember how you solved part 1 after you did big changes to solve part 2 as fast as you could.
## TODO
- Run all days and output result table with performance stats, similar to above table
- More accurate benchmarking
- https://grski.pl/fstrings-performance
- https://github.com/maneatingape/advent-of-code-rust?tab=readme-ov-file#performance
- Add writeup link to GitHub repository
- https://github.com/nitekat1124/advent-of-code-2023 Steal ideas from this nice python repository
- Add some linting and formatting rules
- Check Git history for original time-of-competition code