Stream: advent of code

Topic: 2024 Day 11


view this post on Zulip Nicola Peduzzi (Dec 11 2024 at 10:51):

So I'm done with part 1 here https://github.com/thenikso/advent-of-code-2024-roc/blob/main/11.roc

But... before part 2... do computers explode if one reserves too much memory? :rolling_on_the_floor_laughing:

view this post on Zulip Nicola Peduzzi (Dec 11 2024 at 10:56):

yes they do :explosion: do not attempt. better figure out a more clever way :yum:

view this post on Zulip Jon Erik Kemi Warghed (Dec 11 2024 at 19:18):

Overcomplicated it alot at first: built with --optimize

TIMING:
READING INPUT:  <1ms
SOLVING PART 1: 1ms
SOLVING PART 2: 14ms

https://gist.github.com/jonwarghed/902ea952577c298c60d659c39b54c057

view this post on Zulip Nicola Peduzzi (Dec 11 2024 at 20:07):

wow I couldn't figure that out. Copied your solution to understand the logic.

view this post on Zulip Oskar Hahn (Dec 11 2024 at 20:15):

I though long about this. But the solution for part 2 was just a

https://github.com/ostcar/aoc2024/blob/main/day11.roc

view this post on Zulip Robin Camarasa (Dec 14 2024 at 14:47):

So happy to have figured this one out: https://github.com/RobinCamarasa/Advent-of-code/blob/master/2024/day11/RobinCamarasa/main.roc


Last updated: Jul 06 2025 at 12:14 UTC