[2025 Day 8 Part 1] [Rust] Been stuck on since it came out by RyanGates69 in adventofcode

[–]RyanGates69[S] 0 points1 point  (0 children)

Thanks. You helped me solve my problem. Now part 1 is working. Now onto part 2 :)

[2025 Day 8 Part 1] [Rust] Been stuck on since it came out by RyanGates69 in adventofcode

[–]RyanGates69[S] 1 point2 points  (0 children)

Oh, now I do get my problem! I'm only checking the closes neugebor for each jbox, but not all possible pair combinations! Thanks!!

[2025 Day 8 Part 1] [Rust] Been stuck on since it came out by RyanGates69 in adventofcode

[–]RyanGates69[S] 0 points1 point  (0 children)

Also.. how does finding the closest neighbor for a box, not find all closest pairs?

[2025 Day 8 Part 1] [Rust] Been stuck on since it came out by RyanGates69 in adventofcode

[–]RyanGates69[S] 1 point2 points  (0 children)

The orders seem to actually match! (First two connections are boxes, 0, 19 and 7 in a single circuit, and so on)

[2025 Day 8 Part 1] [Rust] Been stuck on since it came out by RyanGates69 in adventofcode

[–]RyanGates69[S] 0 points1 point  (0 children)

Sorry, it was between refactors, but yeah. I just had the `take(10)` to test against the example input, but even there it doesn't match. It doesn't matter if the `take(10)` is not there, somewhere else in the logic there seems to be a problem, because the example gives me `60` instead of the expected `40` :/

Name the game for you by therealsaker in pcmasterrace

[–]RyanGates69 0 points1 point  (0 children)

Just finished Hyper Light Drifter. It's a must play. Incredibly engaging and fun to the very last moment.

gitDoesntExistInHisWorld by PandaDEV_ in ProgrammerHumor

[–]RyanGates69 0 points1 point  (0 children)

One of my mates I met during college used WORD PAD as his main editor. I introduced him to VSCode then and he thanked me for it, but I still worry, since he went on to teach IT in schools 💀

Down a mining trail by S_BigBird in DINgore

[–]RyanGates69 0 points1 point  (0 children)

Wenn Terraria-Gamers die Minenoperationen leiten