this post was submitted on 05 Nov 2023
2 points (75.0% liked)
Advent of Code
293 readers
1 users here now
Advent of Code is an annual Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
BTW, you will need to be careful to preserve the trailing whitespaces on the first few lines iof the
testdata
string if you edit it, as my code lazily relies on it being there.