diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-12-06 07:57:16 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-12-06 07:57:16 +0100 |
| commit | be683b101393d3566261c9cc10351398bd2e1b6c (patch) | |
| tree | b8c47ad943a4f5cffd423ee04f6a931c4b276b89 /2025/README.md | |
| parent | 424ffd61c58eb127f9a657a854737e2d82368217 (diff) | |
| download | aoc-be683b101393d3566261c9cc10351398bd2e1b6c.tar.gz aoc-be683b101393d3566261c9cc10351398bd2e1b6c.zip | |
Day 6 2025 I suck
Diffstat (limited to '2025/README.md')
| -rw-r--r-- | 2025/README.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2025/README.md b/2025/README.md index a77c168..548deb3 100644 --- a/2025/README.md +++ b/2025/README.md | |||
| @@ -11,6 +11,7 @@ Example | |||
| 11 | 11 | ||
| 12 | ``` | 12 | ``` |
| 13 | Day -Part 1- -Part 2- | 13 | Day -Part 1- -Part 2- |
| 14 | 6 00:13:38 01:49:24 | ||
| 14 | 5 00:04:39 00:22:19 | 15 | 5 00:04:39 00:22:19 |
| 15 | 4 00:25:36 00:27:49 | 16 | 4 00:25:36 00:27:49 |
| 16 | 3 00:05:02 00:16:09 | 17 | 3 00:05:02 00:16:09 |
| @@ -69,3 +70,18 @@ Part 2 required a little bit of thinking to handle overlaps correctly | |||
| 69 | - at first I wrote a solution that did not handle overlaps, then one | 70 | - at first I wrote a solution that did not handle overlaps, then one |
| 70 | that can only handle single overlaps, and finally one that works in | 71 | that can only handle single overlaps, and finally one that works in |
| 71 | every case. My final solution is quite straightforward. | 72 | every case. My final solution is quite straightforward. |
| 73 | |||
| 74 | ### Day 6: Trash Compactor | ||
| 75 | |||
| 76 | Part 1 was easy, but I struggled with part 2. | ||
| 77 | |||
| 78 | I had to solve this while travelling, which did not help, but that was | ||
| 79 | not the main issue. The problem was that for whatever reason my script | ||
| 80 | did not copy the whitespaces correctly from the sample input in the web | ||
| 81 | page, so I was left wondering how the heck am I supposed to align the | ||
| 82 | numbers. After more than an hour and after changing train, I figured out | ||
| 83 | the error and I was able to solve this elementary school problem. Much | ||
| 84 | smart, very accomplishment. | ||
| 85 | |||
| 86 | This year so far the only problems that took me more than 30 minutes | ||
| 87 | are this and the first one, not exactly the hardest problems imaginable. | ||
