7
votes
Day 15: Beacon Exclusion Zone
Today's problem description: https://adventofcode.com/2022/day/15
Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it nicely, with the code collapsed by default inside an expandable section with syntax highlighting (you can replace python
with any of the "short names" listed in this page of supported languages):
<details>
<summary>Part 1</summary>
```python
Your code here.
```
</details>
I struggled for hours :(. I suck so badly and my code is ugly.
Part 1
Part 2
The idea is to walk one step outside the perimeter of a particular scanner and test all if any of the other scanners can see it.
this little thing helped me a lot
In retrospect it wasn't at all funny that there was a gap in the middle of the sensors, although I chuckled a little at the time
No clue for part two.. but here's a really ugly part one that has been modified so you can run it without any helpers
Part 1