We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3417360 commit b46d548Copy full SHA for b46d548
1 file changed
2025/Day12/Solution.cs
@@ -8,7 +8,8 @@ namespace AdventOfCode.Y2025.Day12;
8
class Solution : Solver {
9
10
public object PartOne(string input) {
11
- // 🎄 🎄 🎄 This problem was a joke by Eric. The solution is input specific.
+ // It's enough to check if the 3x3 area of the presents is less than
12
+ // the area under 🎄 tree. No packing is required.
13
return input.Split("\n\n").Last()
14
.Split("\n")
15
.Select(line => Regex.Matches(line, @"\d+").Select(m => int.Parse(m.Value)).ToArray())
0 commit comments