Ugh. Parsing was ok, but I didn't have a previous version to copy from so had to do it from scratch in a new language, but got there reasonably ok.
But got myself in a tangle for the problem itself, not helped by my code working fine for the example cases but not giving the right answer for my input. Took too long to find the logic error(s) and get the right answer submitted.
At least part 2 was easy once this was sorted out.
Day 13:
Ugh. Parsing was ok, but I didn't have a previous version to copy from so had to do it from scratch in a new language, but got there reasonably ok.
But got myself in a tangle for the problem itself, not helped by my code working fine for the example cases but not giving the right answer for my input. Took too long to find the logic error(s) and get the right answer submitted.
At least part 2 was easy once this was sorted out.