Esempio n. 1
0
    public static void SolvePartOne()
    {
        input = new List <int>();
        TakeInput();
        int result = input.Sum(position => Fuel_Management_System.CalculateFuelNeeded(position));

        Console.WriteLine(result.ToString());
    }
Esempio n. 2
0
 public static void SolvePartTwo()
 {
     input = new List <int>();
     TakeInput();
     Console.WriteLine(Fuel_Management_System.CalculateTotalFuelNeeded(input));
 }