b5dbc0e83e
Fixed issue, was using box_count instead of circuits (pairs count) so after surpassing box_count it was no longer sortedKyren2232025-12-08 22:22:01 +02:00
b93bbb61fc
Day8 part1 done (can't believe the issue was that I was using v2->color to test against, but eventually v2->color got replaced by the other color, so I had to store it in a var, so when it changes, I don't "lose" the color)Kyren2232025-12-08 21:20:30 +02:00
67ccc3fc1c
Got example correct a while ago, but actual input is incorrectKyren2232025-12-08 19:12:33 +02:00
78865c3fc7
Spent this time watching a video about graphs and then like 10m pacing back an forth thinking of ideas, and I found a solution, time to impelemnt itKyren2232025-12-08 18:05:16 +02:00
a9f189b619
Got a bit further, still confused lolKyren2232025-12-08 16:25:49 +02:00
a6dff1f440
Day7 part2 done (took me 10 minutes to realize just normal recursion is too slow, then another 6 minutes to implement the caching)Kyren2232025-12-07 20:16:35 +02:00
d67cee29c2
Day3 part2 done (got bitten by C again, had some garbage values bcz I defined an array in the inner scope, and then it went out of scope,but it wasn't all garbage, it was only the first digit, bcz the only part that became garbage was the for int i so only the upper 4 bits were weird)Kyren2232025-12-03 23:39:37 +02:00