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 0ea1ecf commit c3a95c0Copy full SHA for c3a95c0
1 file changed
2025/12/index.html
@@ -301,10 +301,7 @@ <h2 id="problem-name">Christmas Tree Farm</h2>
301
var todos = (
302
from line in blocks.Last().Split("\n")
303
let nums = Regex.Matches(line, @"\d+").Select(m => int.Parse(m.Value)).ToArray()
304
- let w = nums[0]
305
- let h = nums[1]
306
- let counts = nums[2..]
307
- select new Todo(w, h, counts)
+ select new Todo(nums[0], nums[1], nums[2..])
308
).ToArray();
309
310
var res = 0;
0 commit comments