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 c3a95c0 commit e8a302cCopy full SHA for e8a302c
2025/12/illustration.jpg
236 Bytes
2025/12/index.html
@@ -288,7 +288,7 @@ <h2 id="problem-name">Christmas Tree Farm</h2>
288
class Solution : Solver {
289
290
public object PartOne(string input) {
291
- // 🎄 🎄 🎄 rotfl
+ // 🎄 🎄 🎄 This problem was a joke by Eric. The solution is specific to the input.
292
293
var blocks = input.Split("\n\n");
294
@@ -308,7 +308,7 @@ <h2 id="problem-name">Christmas Tree Farm</h2>
308
foreach(var todo in todos) {
309
var areaNeeded = Enumerable.Zip(todo.counts, areas).Sum(p => p.First * p.Second);
310
if (areaNeeded <= todo.w * todo.h) {
311
- res ++;
+ res++;
312
}
313
314
return res;
0 commit comments