@inferis I hear ya. Some suggestions:
- Sometimes the size *is* the difference. On one day, I missed that I left a variable 32 bits instead of 64, and the count kept rolling.
- Write your own unit tests. I did this for day 18. Priceless, for your sanity too.
I know that AoC is supposed to be play, not work, but sometimes the real world will throw curve balls at you.
Having said all that, the sample for day 22 was pretty good, capturing the salient tricky part.