5
votes
Day 1: Dusty Shed
Today's problem description: https://adventofcode.com/2026/day/1
Please post your solutions in your own top-level comment. Here's a template you can copy-paste into your comment to format it nicely, with the code collapsed by default inside an expandable section with syntax highlighting (you can replace python with any of the "short names" listed in this page of supported languages):
<details>
<summary>Part 1</summary>
```python
Your code here.
```
</details>
Sorry for hijacking, but no one has started this year's AoC threads yet. Hopefully that doesn't mean everyone else has lost interest!
I'm using Guile to solve the problems.
My solutions may not be as elegant because I'm using this as an opportunity to learn the language. And for what I've seen, there's a lot of wheel reinventing in Scheme.
Day 1: Dusty Shed
Welcome to 2026! A pretty simple puzzle for day 1, as usual, and thankfully part 2 is likely trivial if you get part 1.
Both solutions
Pretty straightforward in C#; just chaining together a lot of standard library functions. Theoretically, you could maybe make some optimizations by _not_ sorting the entire list, and manually calculating the top or bottom three only. But sorting a list of this size is already so fast that it's not really worth it.Pretty short but, because I love to learn a new language for AoC, took me a bit to get started. Gleam seems fun so far :)
Both parts
I'm not 100% sure how idiomatic it is but I tried to be functional?
I'm using Lua as usual, partially because I never get past the first day or two and I'm a very basic scripter.
Both parts
I was originally planning on learning a new language for AoC this year, but I don't have as much time as I'd hoped, so since I've continued to work with it for personal projects I'm doing it in Lily again. There have been some significant additions and changes to the language since last December, though none of them matter for such a simple puzzle.
Solution (Lily)