diff options
Diffstat (limited to 'Day14.cs')
-rw-r--r-- | Day14.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Day14.cs b/Day14.cs index 1aff2bf..910c43a 100644 --- a/Day14.cs +++ b/Day14.cs @@ -50,14 +50,14 @@ namespace aoc2019 return true; } - public override string Part1() + protected override string Part1() { available = new Dictionary<string, long> {{"ORE", long.MaxValue}}; Consume("FUEL", 1); return $"{long.MaxValue - available["ORE"]}"; } - public override string Part2() + protected override string Part2() { const long capacity = 1_000_000_000_000; available = new Dictionary<string, long> {{"ORE", capacity}}; |