Skip to content

Commit 9e8d960

Browse files
authored
Clarify comment about packing in PartOne method
Updated comment for clarity regarding packing.
1 parent b46d548 commit 9e8d960

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

2025/Day12/Solution.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ class Solution : Solver {
99

1010
public object PartOne(string input) {
1111
// It's enough to check if the 3x3 area of the presents is less than
12-
// the area under 🎄 tree. No packing is required.
12+
// the area under 🎄 tree. No packing required.
1313
return input.Split("\n\n").Last()
1414
.Split("\n")
1515
.Select(line => Regex.Matches(line, @"\d+").Select(m => int.Parse(m.Value)).ToArray())
1616
.Count(nums => nums[0] * nums[1] >= 9 * nums[2..].Sum());
1717
}
18-
}
18+
}

0 commit comments

Comments
 (0)