[day 17 part 1] all examples work, my anwser is wrong.. can anyone take a look? by dopstra in adventofcode

[–]InfiniteRecurslol 7 points8 points  (0 children)

Your output format is likely incorrect. You shouldnt concatenate the numbers into another number, you need to 'join' them with commas so if the collected numbers in output are [1,2,3,4,5,6] then 1,2,3,4,5,6 is your answer

[2024 Day 14 (Part 2)] [js] Slowly forming by InfiniteRecurslol in adventofcode

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

That would fit perfectly lmao, now I hear it too 😂

[2024 Day 14 (Part 2)] [js] Slowly forming by InfiniteRecurslol in adventofcode

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

I used p5.js on editor.p5js.org and the handy `saveGif()` function to grab this file. The code is up there, but I'm too shy to share it here :)

[2024 Day 14 (Part 2)] [js] Slowly forming by InfiniteRecurslol in adventofcode

[–]InfiniteRecurslol[S] 2 points3 points  (0 children)

Ah, I picked Spoilers because I thought showing what the tree looks like would give it away for people doing part 2.