# AoC 2024: Day 25 (Christmas)

**URL:** <https://ziggit.dev/t/aoc-2024-day-25-christmas/7497>\
**Category:** Challenge\
**Tags:** advent-of-code\
**Created:** [December 25, 2024, 12:59pm UTC](https://ziggit.dev/t/aoc-2024-day-25-christmas/7497 "2024-12-25T12:59:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Calder-Ty](https://ziggit.dev/user_avatar/ziggit.dev/calder-ty/32/10237_2.png) [@Calder-Ty](https://ziggit.dev/u/Calder-Ty)\
**Post date:** [December 25, 2024, 12:59pm UTC](https://ziggit.dev/t/aoc-2024-day-25-christmas/7497/1 "2024-12-25T12:59:12Z")

</div>

# Merry Christmas!

It’s been fun to see the different solutions. Thanks for participating this year.

Main thread for Day 25 of the 2024 advent of code. Feel free to discuss the challenge and ask questions. If particular discussions become large, we can break them off into new threads.

Some Rules:

1. Please try to keep spoilers within spoiler tags. This is done by typing [spoiler]text to be blurred[\spoiler]. If you have longer sections you can also use the [details=“Title”] tags.
2. Have Fun

[Day 25 Challenge](https://adventofcode.com/2024/day/25)

Templates:

- [GitHub - JacobCrabill/AdventOfCode-2024: My solutions for Advent of Code, 2024](https://github.com/JacobCrabill/AdventOfCode-2024)
- [GitHub - SpexGuy/Zig-AoC-Template: A template for Advent of Code participants using Zig](https://github.com/SpexGuy/Zig-AoC-Template)

Resources:

- [Advent of Code in Zig | Loris Cro's Blog](https://kristoff.it/blog/advent-of-code-zig) :Advice and Tips on How to do AoC with Zig
- [https://zigbin.io](https://zigbin.io) : A website for sharing zig code
- [Documentation - The Zig Programming Language](https://ziglang.org/documentation/master/) : Zig Language Reference
- [Zig Documentation](https://ziglang.org/documentation/master/std/) : Zig Standard Library Docs
- [Docs](https://ziggit.dev/docs) : Community Created Docs and Tutorials
- Private Leaderboard (189 Seats left) code: 1910115-f465b6d3

> **Previous days discussions**
>
> Day 1: [AoC 2024: Day 1](https://ziggit.dev/t/aoc-2024-day-1/7100)  
> Day 2: [AoC 2024: Day 2](https://ziggit.dev/t/aoc-2024-day-2/7119)  
> Day 3: [AoC 2024: Day 3](https://ziggit.dev/t/aoc-2024-day-3/7136)  
> Day 4: [AoC 2024: Day 4](https://ziggit.dev/t/aoc-2024-day-4/7150)  
> Day 5: [AoC 2024: Day 5](https://ziggit.dev/t/aoc-2024-day-5/7167)  
> Day 6: [AoC 2024: Day 6](https://ziggit.dev/t/aoc-2024-day-6/7183)  
> Day 7: [AoC 2024: Day 7](https://ziggit.dev/t/aoc-2024-day-7/7196)  
> Day 8: [AoC 2024: Day 8](https://ziggit.dev/t/aoc-2024-day-8/7207)  
> Day 9: [AoC 2024: Day 9](https://ziggit.dev/t/aoc-2024-day-9/7226)  
> Day 10: [AoC 2024: Day 10](https://ziggit.dev/t/aoc-2024-day-10/7244)  
> Day 11: [AoC 2024: Day 11](https://ziggit.dev/t/aoc-2024-day-11/7264)  
> Day 12: [AoC 2024: Day 12](https://ziggit.dev/t/aoc-2024-day-12/7288)  
> Day 13: [AoC 2024: Day 13](https://ziggit.dev/t/aoc-2024-day-13/7301)  
> Day 14: [AoC 2023: Day 14](https://ziggit.dev/t/aoc-2023-day-14/7323)  
> Day 15: [AoC 2024: Day 15](https://ziggit.dev/t/aoc-2024-day-15/7342)  
> Day 16: [AoC 2024: Day 16](https://ziggit.dev/t/aoc-2024-day-16/7364)  
> Day 17: [AoC 2024: Day 17](https://ziggit.dev/t/aoc-2024-day-17/7394)  
> Day 18: [AoC 2024: Day 18](https://ziggit.dev/t/aoc-2024-day-18/7403)  
> Day 19: [AoC 2024: Day 19](https://ziggit.dev/t/aoc-2024-day-19/7418)  
> Day 20: [AoC 2024: Day 20](https://ziggit.dev/t/aoc-2024-day-20/7430)  
> Day 21: [AoC 2024: Day 21](https://ziggit.dev/t/aoc-2024-day-21/7452)  
> Day 22: [AoC 2024: Day 22](https://ziggit.dev/t/aoc-2024-day-22/7467)  
> Day 23: [AoC 2024: Day 23](https://ziggit.dev/t/aoc-2024-day-23/7483)  
> Day 24: [AoC 2024: Day 24](https://ziggit.dev/t/aoc-2024-day-24/7492)

---

<div class="post-metadata">

**Author:** ![p88h](https://ziggit.dev/user_avatar/ziggit.dev/p88h/32/3974_2.png) [@p88h](https://ziggit.dev/u/p88h)\
**Post date:** [December 25, 2024, 3:04pm UTC](https://ziggit.dev/t/aoc-2024-day-25-christmas/7497/2 "2024-12-25T15:04:05Z")

</div>

It’s a wrap! Simple problem for today 🙂

Source: [aoc2024/src/day25.zig at main · p88h/aoc2024 · GitHub](https://github.com/p88h/aoc2024/blob/main/src/day25.zig)  
Video: [https://www.youtube.com/watch?v=Wdelw1rixq8&t=23s](https://www.youtube.com/watch?v=Wdelw1rixq8&t=23s)

Benchmark:

```zig
        parse part1 part2 total
day 25: 23.4 µs 27.9 µs 41.0 ns 51.4 µs (+-1%) iter=9110 

```

---

<div class="post-metadata">

**Author:** ![ProfBof](https://ziggit.dev/letter_avatar_proxy/v4/letter/p/a88e4f/32.png) [@ProfBof](https://ziggit.dev/u/ProfBof)\
**Post date:** [December 28, 2024, 2:27am UTC](https://ziggit.dev/t/aoc-2024-day-25-christmas/7497/3 "2024-12-28T02:27:46Z")

</div>

[https://zigbin.io/1fff88](https://zigbin.io/1fff88)

Ok so I failed part2 of day 17, 21, and 24. I don’t really feel like looking at people’s solutions and try to finish, so that will be it. Congratulations to p88n who came up with extremely performant solutions and awesome visualizations. That was a fun aoc, see you next year!.
