Re:Advent of Code on the Nintendo DS
by bhaney on Monday December 16, 2024 @11:56PM
(#42438448)
> my favorite restriction is to try to do incredibly terse approaches for those first few. For example, do it all in a single Python line
Ha, this is pretty much my favorite restriction too. I try to do one single-line expression for input parsing, one for the part 1 solution, and one for the part 2 solution (eg [1]). Thought sometimes I can't manage it and I just fall back to solving it normally.
Ha, this is pretty much my favorite restriction too. I try to do one single-line expression for input parsing, one for the part 1 solution, and one for the part 2 solution (eg [1]). Thought sometimes I can't manage it and I just fall back to solving it normally.
[1] https://github.com/benhaney/Advent-of-Code/blob/master/2024/...