Follow

I just completed "Supply Stacks" - Day 5 - Advent of Code 2022 adventofcode.com/2022/day/5

When I read it on my phone in the morning, I thought I'm not gonna solve it today, but it was interesting, actually. Any ideas on how to import the stacks from the file? I just manually hardcoded them in the code, but that would be far from optimal in a case with 100 stacks.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.