Apply nullability

This commit is contained in:
2024-12-02 01:37:52 +01:00
parent dafd2526d1
commit e440e7aae1
27 changed files with 125 additions and 101 deletions

View File

@@ -111,8 +111,8 @@ public class Day12 : IDay
private readonly List<bool> _initialState = [];
private readonly List<PlantRule> _rules = [];
private long _offsetField;
private bool[] _field;
private bool[] _workField;
private bool[] _field = [];
private bool[] _workField = [];
private void Initialize(string[] inputs)
{