public static void SolvePartOne() { input = new List <int>(); TakeInput(); int result = input.Sum(position => Fuel_Management_System.CalculateFuelNeeded(position)); Console.WriteLine(result.ToString()); }
public static void SolvePartTwo() { input = new List <int>(); TakeInput(); Console.WriteLine(Fuel_Management_System.CalculateTotalFuelNeeded(input)); }