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
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.