On Sunday, 3 December 2023 at 15:04:09 UTC, Siarhei Siamashka
wrote:
On Saturday, 2 December 2023 at 14:35:19 UTC, Sergey wrote:
Some other solutions that could be worth to check:
https://github.com/andrewlalis/AdventOfCode2023/blob/main/day_1/solution.d
https://github.com/schveiguy/adventofcode/blob/master/2023/day1/trebuchet.d
It's indeed a good idea to have solutions on github, so I
pushed mine here:
https://github.com/ssvb/adventofcode/blob/main/2023/day01/trebuchet.d
Bummer, looks like publishing the puzzle input data is forbidden:
https://www.reddit.com/r/adventofcode/comments/18ehed6/re_not_sharing_inputs_psa_deleting_and_committing/
So for the purposes of automated testing and/or benchmarking, it
would be necessary to invoke one of the numerous existing AoC
command line client applications to download the input data
before running the test. BTW, there seems to be no `aoc-cli` tool
implemented in D yet ;-)