🦆 Everybody.Codes 2025 Quest 8 Solutions 🦆
Quest 8: The Art of Connection
- Keep top level comments as only solutions, if you want to say something other than a solution put it in a new post. (replies to comments can be whatever)
- You can send code in code blocks by using three backticks, the code, and then three backticks or use something such as https://topaz.github.io/paste/ if you prefer sending it through a URL
Link to participate: https://everybody.codes/
Rust
Haskell
Woo! I got on the leaderboard at last. I don't think I've seen a problem like this one before, but fortunately it wasn't as tricky as it seemed at first glance.
Nim
Part 2 - I just really didn't want to think that day. So when puzzle asked me to check if lines intersect - I wrote the intersection checking solution with 2D points.
Part 3 is geometry + bruteforce.
Full solution at Codeberg: solution.nim
Uiua
Just a dirty great hack and a few minutes of toasty CPU for part3 with live data.
Scheme/Guile
Takes about 5 seconds.
Python
You even have comments, very nice!
Thank you! I love seeing well-documented solutions for problems that I'm struggling with, so I try to add comments for non-trivial parts of any code I post. :)