https://github.com/ostcar/aoc2024/blob/main/day14.roc
Part1 in 1.167ms
Part2 in 303.218ms
@Anton Could you try this? Part 2 is a bit special and I don't know if an AI can solve it
Sure :)
Good pick, this is the first time the tests with the example input passed but the the answer on the full input was wrong (on part 1).
No, it can't make part 1 work :sad robot:
Hah, I added "Make sure your solution is robust and can handle varying inputs" and now it works :)
spoiler
I know with some of the original coding AI's, it helped to kinda give them a person before asking them to solve problems. I wonder if that would help Claude in general or if that is now stale and doesn't matter.
Looks like it's still useful. Next time I'm stuck I'll try "You are Richard Feldman..." and "You are Brendan Hansknecht..." :big_smile:
part2
Just steal a description of richard from one of his conference talks and change it to second person
The clone wars of the future... who knew Richard was the original.
Here is my solution: https://github.com/RobinCamarasa/Advent-of-code/tree/master/2024/day14/RobinCamarasa
Last updated: Jul 06 2025 at 12:14 UTC