File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -288,13 +288,14 @@ <h2 id="problem-name">Christmas Tree Farm</h2>
288288
289289 public object PartOne(string input) {
290290 // It's enough to check if the 3x3 area of the presents is less than
291- // the area under 🎄 tree. No packing is required.
291+ // the area under 🎄 tree. No packing required.
292292 return input.Split("\n\n").Last()
293293 .Split("\n")
294294 .Select(line => Regex.Matches(line, @"\d+").Select(m => int.Parse(m.Value)).ToArray())
295295 .Count(nums => nums[0] * nums[1] >= 9 * nums[2..].Sum());
296296 }
297- }</ code > </ pre > </ div >
297+ }
298+ </ code > </ pre > </ div >
298299 < div id ="code-location "> < p > Please ☆ my < a href ="https://github.com/encse/adventofcode/ "> repo</ a > if you like it!</ p > </ div >
299300 </ div >
300301
You can’t perform that action at this time.
0 commit comments