Skip to content

Commit 6f81cb0

Browse files
committed
day12
1 parent 5117d1a commit 6f81cb0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

2025/Day12/Solution.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ record Todo(int w, int h, int[] counts);
99
class Solution : Solver {
1010

1111
public object PartOne(string input) {
12-
// 🎄 🎄 🎄 rotfl
12+
// 🎄 🎄 🎄 This problem was a joke by Eric. The solution is specific to the input.
1313

1414
var blocks = input.Split("\n\n");
1515

@@ -29,7 +29,7 @@ from line in blocks.Last().Split("\n")
2929
foreach(var todo in todos) {
3030
var areaNeeded = Enumerable.Zip(todo.counts, areas).Sum(p => p.First * p.Second);
3131
if (areaNeeded <= todo.w * todo.h) {
32-
res ++;
32+
res++;
3333
}
3434
}
3535
return res;

2025/Day12/illustration.jpg

199 KB
Loading

0 commit comments

Comments
 (0)