Post AcaQJk3GYO8IiwBlCK by kalak451@freeradical.zone
(DIR) More posts by kalak451@freeradical.zone
(DIR) Post #AcZgki32cbGlpylPSi by kalak451@freeradical.zone
2023-12-06T12:12:47Z
0 likes, 0 repeats
I've completed "Wait For It" - Day 6 - Advent of Code 2023 #AdventOfCode https://adventofcode.com/2023/day/6Phew! Finally an easy day!
(DIR) Post #AcZgkj82bUrZBm6utU by tek@freeradical.zone
2023-12-07T18:36:25Z
0 likes, 0 repeats
@kalak451 Yeah, I needed that ego salve after 5/2.
(DIR) Post #AcaQJk3GYO8IiwBlCK by kalak451@freeradical.zone
2023-12-08T03:07:02Z
0 likes, 0 repeats
@tek 5-2 for me was weird. I realized instantly how an optimized solution would work and went ahead an built a big monolithic implementation. It always converged to zero, some off by one issue I'm sure, but I spent an hour trying to fix it.I ended up starting over and breaking everything into two steps. Cut way down on the code and produced the correct answer on my first run. Both implementations were trying to do the same thing. Should have been done in 20 min! took over two hours!
(DIR) Post #AcbZcO6PTiBgtfaKwK by tek@freeradical.zone
2023-12-08T16:26:00Z
0 likes, 0 repeats
@kalak451 That’s close to my experience. My p2 code actually spat out the wrong answer. Turns out an off by one meant the correct answer was second on my list. I picked it after eyeballing all the results. But then I went back and fixed it to give the right answer, and added some wholly unnecessary optimizations just because.