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 b46d548 commit 9e8d960Copy full SHA for 9e8d960
2025/Day12/Solution.cs
@@ -9,10 +9,10 @@ class Solution : Solver {
9
10
public object PartOne(string input) {
11
// It's enough to check if the 3x3 area of the presents is less than
12
- // the area under 🎄 tree. No packing is required.
+ // the area under 🎄 tree. No packing 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())
16
.Count(nums => nums[0] * nums[1] >= 9 * nums[2..].Sum());
17
}
18
-}
+}
0 commit comments