# 2023 Day 17: Clumsy Crucible

**URL:** <https://forum.ada-lang.io/t/2023-day-17-clumsy-crucible/598>\
**Category:** Advent of Code\
**Tags:** spoilers\
**Created:** [December 18, 2023, 7:08am UTC](https://forum.ada-lang.io/t/2023-day-17-clumsy-crucible/598 "2023-12-18T07:08:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cantanima](https://forum.ada-lang.io/user_avatar/forum.ada-lang.io/cantanima/32/121_2.png) [@cantanima](https://forum.ada-lang.io/u/cantanima)\
**Post date:** [December 18, 2023, 7:08am UTC](https://forum.ada-lang.io/t/2023-day-17-clumsy-crucible/598/1 "2023-12-18T07:08:46Z")

</div>

I should have finished this much earlier, but my breadth-first search made the mistake of returning as soon as it tried to enqueue _a_ path to the destination, without considering that there might later appear a _shorter_ path to the destination. Nothing was helping me figure that out, not even comparing to known solutions! Then I noticed that there was a large gap between my previously-considered level of heat loss (1043 or so) and the reported result (1060) and the proverbial 💡 went off.

I might add more later, but for now, here’s a quick 'n dirty visualization of parts 1 and 2. Brighter shades indicate more heat loss. I’d be curious to know if other participants likewise see a “bulge” in their data, or if there’s a different pattern.

 ![visualization_1](https://forum.ada-lang.io/uploads/default/original/1X/fd323e822a2c5b64a73fb74a069423b3b58230e6.png)

 ![visualization_2](https://forum.ada-lang.io/uploads/default/original/1X/4502c7de43f8c4deb203a04d77f0a586910bbd88.png)

---

<div class="post-metadata">

**Author:** ![zertovitch](https://forum.ada-lang.io/user_avatar/forum.ada-lang.io/zertovitch/32/90_2.png) [@zertovitch](https://forum.ada-lang.io/u/zertovitch)\
**Post date:** [December 18, 2023, 9:08pm UTC](https://forum.ada-lang.io/t/2023-day-17-clumsy-crucible/598/2 "2023-12-18T21:08:29Z")

</div>

> [@cantanima](#):
>
> I’d be curious to know if other participants likewise see a “bulge” in their data, or if there’s a different pattern.

Similar “bulge”, but on my data, the path for Part 1 goes left of it, then below it, while the path for Part 2 goes above it, then right of it.
